-
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 2024-10-08][$250] [Search v2.2] - Report name is bold when report is unread or select, and unbold when not unselected #49100
Comments
Triggered auto assignment to @OfstadC ( |
Triggered auto assignment to @carlosmiceli ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Job added to Upwork: https://www.upwork.com/jobs/~021834272973003292308 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
@carlosmiceli Could you please confirm the expected behavior here? |
I can take this one since it's part of Search. cc @Kicu @289Adam289 |
Edited by proposal-police: This proposal was edited at 2024-09-12 18:01:30 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The report name is bold when the report is unread or selected, and unbold when not selected. What is the root cause of that problem?
so the option title is always bold because of:
What changes do you think we should make in order to solve the problem?
return {...option, isSelected: true, reportID: option.reportID ?? '-1', isBold: OptionsListUtils.shouldUseBoldText(option)}; What alternative solutions did you explore? (Optional)Solution 1:
result.isBold = shouldUseBoldText(result); Solution 2:
|
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
@luacmartins Could you check the above comment? Looks like he wants to bold/unblod in this case. |
As mentioned in this bug: "The report name is bold when the report is unread or selected, and unbold when not selected.", the current behavior has an issue where the report name appears bold when the report is selected. We need to fix this. |
Different in what way? (Mainly for my understanding).
Yes, unless we think aligning with the participant selector is better for the |
The main differences are that the
|
Right, that's my preference too since I don't think we need to add the read/unread context to the user when selecting these. |
So, is the final decision is to bold all? |
Cool, so then we need to stop showing the lastMessage as the preview line and bold all to bring it in-line. |
@bernhardoj correct! |
Totally agree with where you all landed! Bold 'em 🚀 |
Hmm, what should we show then? On pages like money request participants, there is only DM and policy expense chat report, but in the "In" filter page, there are all kinds of reports, thread, money request/report, etc. For a bit of context, we have this logic to decide what to show for each type of report. We can prevent showing the last message of the report by setting App/src/libs/OptionsListUtils.ts Lines 536 to 554 in da37289
If we set
I believe 2 and 3 is not expected, in that case, what should we show? |
@OfstadC @luacmartins @bernhardoj @ikevin127 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Right, we need to consider an appropriate sub-line for each report type returned in the results of the `In: filter, but I think that's fine, and suggest something that communicates the data type a bit. So for the missing ones, that would be the below I think:
CC: @JmillsExpensify |
Thanks! PR is ready cc: @ikevin127 |
♻️ Status update: The PR was deployed to staging (#49835 (comment)). |
cc @OfstadC |
Payment Summary
|
Requested in ND. |
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.33-2
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
There should be consistency whether the report name should be bold.
Actual Result:
The report name is bold when the report is unread or selected, and unbold when not selected.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6601202_1726156396378.bandicam_2024-09-12_23-50-21-440.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ikevin127The text was updated successfully, but these errors were encountered: