-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2023-12-29] [$500] Expense avatar and Report avatar in LHN look incorrect #32413
Comments
Triggered auto assignment to @peterdbarkerUK ( |
Job added to Upwork: https://www.upwork.com/jobs/~0197708be36886dd46 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
This appears to be by design since the request would be a thread from a report. And whenever there's an expense report thread, the avatar size is smaller |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense avatar and Report avatar in LHN look incorrect What is the root cause of that problem?Because we use What changes do you think we should make in order to solve the problem?We need to use only What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issueExpense avatar and Report avatar in LHN look incorrect What is the root cause of that problem?The diagonal avatar pattern was missing from the Expense report and IOU report because there is a bug in For design pattern reference For Avatar size, as referenced below, it was decided to keep the avatar size irrespective of
What changes do you think we should make in order to solve the problem?Use the following implementation instead cause the workspace thread will always be of type function isWorkspaceThread(report: OnyxEntry<Report>): boolean {
return isThread(report) && isChatReport(report) && !isDM(report);
} OR function isWorkspaceThread(report: OnyxEntry<Report>): boolean {
return isThread(report) && isChatReport(report) && Boolean(getChatType(report));
} There are too many changes regarding design, so please take a look at test branch https://github.com/shubham1206agra/App/tree/test-avatar Screen.Recording.2023-12-03.at.11.42.34.PM.movWhat alternative solutions did you explore? (Optional)NA |
@shawnborton Can you see the video uploaded here about the diagonal avatar, and see if the cases are correct? I have not adjusted size yet, but will do it later. |
ProposalPlease re-state the problem that we are trying to solve in this issue.
This one seems expected So the problem here is
What is the root cause of that problem?In here, the condition will include the expense thread and IOU thread, so it will show subscript avatar for those expense threads and IOU threads, which we don't want. What changes do you think we should make in order to solve the problem?We need to modify to show subscript avatar only if it's chat thread of workspace chats, similar to what we do for the workspace task report here.
We have to check that the We can rename the method to What alternative solutions did you explore? (Optional)Additionally check |
We should hold this until discussion about expected behavior is concluded |
While I do think that converation has a ways to go, we should at least fix what's currently there before waiting for that convo to finish. |
Although cc @grgia in case this was something you were interested in fixing. |
@Ollyws, @peterdbarkerUK Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@Ollyws, @peterdbarkerUK Still overdue 6 days?! Let's take care of this! |
Am I correct in understanding that the only thing required for now is to the ensure the diagonal avatar pattern is added the Expense report and IOU report? |
@Ollyws I have my designs approved by the design team already |
Ok, let's go with @shubham1206agra's proposal then. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-12-29. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Offer links are a bit squiffy, here are some updated links: @Ollyws could you accept this one? |
Done |
@rlinoz, @Ollyws, @peterdbarkerUK, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Sweet, thanks guys: $500 paid to @shubham1206agra Could you spin through the regression checklist? |
BugZero Checklist:
This was just a design update so no PR responsible.
N/A
N/A
It might be worth adding to the monthly tests as it only requires a quick look. |
Regression Test Proposal
Do we agree 👍 or 👎 |
I am not familiar with how we add/remove things from the regression test, do you think it is worth adding this one @peterdbarkerUK ? Thinking that we will need to remove/change this test when we change how we represent each kind of chat. |
@rlinoz, @Ollyws, @peterdbarkerUK, @shubham1206agra Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Good point, maybe I was being a little overzealous proposing a regression test here. Feel free to leave it off. |
So I guess we can close this one? |
I agree that we don't need to add regression tests, Olly is right this doesn't need much of a check closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.7-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1701439047370489
Action Performed:
Create an expense on a workspace, submit it
Expected Result:
In the LHN (not in #focus mode), the avatar for an expense should have the user's avatar at 40x40 with the small workspace avatar to the bottom right.
For the report, we should have the diagonal avatar pattern where both the workspace avatar and user avatar are the same height/width, but are diagonal from each other
Actual Result:
The avatars are incorrect
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: