-
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
[$125] "No results found" text is not aligned to left edge #37984
Comments
Triggered auto assignment to @greg-schroeder ( |
ProposalPlease re-state the problem that we are trying to solve in this issue."No results found" is not aligned to left edge What is the root cause of that problem?input view has 16px horizontal padding but header message has 20px horizontal padding What changes do you think we should make in order to solve the problem?set 16px everywhere
update this style to [styles.ph4, styles.pb5]
What alternative solutions did you explore? (Optional)set 20px everywhere
update this style to [styles.ph5, styles.pb3]
|
@greg-schroeder just a note that we want to make the bounty on this one super small given that it's such a tiny change. |
ProposalPlease re-state the problem that we are trying to solve in this issue."No results found" text is not aligned to left edge What is the root cause of that problem?we set the style of the header message to the following which is not consistent with the search field titie:
App/src/components/SelectionList/BaseSelectionList.tsx Lines 426 to 427 in 537b7c0
What changes do you think we should make in order to solve the problem?We need to check first if the text in header message is :
What alternative solutions did you explore? (Optional)N/A |
|
Job added to Upwork: https://www.upwork.com/jobs/~019fd4e434eac176f9 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The "No results found" text in the search page is not aligned with the left edge of the search input. We want the "No results found" text to have the same left padding as the search input for consistency. What is the root cause of that problem?The root cause is that the What changes do you think we should make in order to solve the problem?I propose we modify However, when rendering the search page, we can pass a custom <SelectionList
...
headerMessage={headerMessage}
headerMessageStyle={headerMessage === translate('common.noResultsFound')
? [styles.ph4, styles.pb5]
: undefined
}
...
/> This way, the "No results found" message will have What alternative solutions did you explore? (Optional)Another option would be to always use By making |
@greg-schroeder, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Proposal review |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Bump @allroundexperts |
This comment was marked as outdated.
This comment was marked as outdated.
Note @allroundexperts , No conflict with your chosen proposal but can i ask what did my proposal lack, I guess i proposed a similar solution:) |
From my understanding, your proposal was lacking where to put the changes. |
ohh okay, understood, thanks for the explanation:) I thought i mentioned the baseselection list in the RCA Still would leave it to the internal engineer to consider my proposal as i had shown the correct place in RCA |
@greg-schroeder, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Still awaiting assignment but can have this turned around by Saturday |
@shawnborton can we get some more details? What did you see that on? I just checked on all devices and did not see what you shared in your pic 👀 |
Ahh I see. @shawnborton what you shared, seems to be related to the Cc. @greg-schroeder |
Is the root issue the same? Are we not using the same component for these two inputs? |
Yeah, apologies if we didn't make it clear in the issue but ideally this is solved everywhere as to me, this feels like the same kind of component/UX. |
It seems similar and I can make the fix! I was instructed to only focus on the specific bug in an alternative PR so wasn't aware I needed to test "similar UX" components.. The fix for this, was applying styling specifically in the SearchPage component. Based on new info, the goal should be to locate all areas the search bar is used and add styling when results are not found. After further analysis, the headerMessage currently is used in the same way across all search types. That said, I have applied the simple additional fix to my solution to make this work across "no results found" error messages PR: #41221 |
PR remains in progress/review w/ @shawnborton |
The PR above looks good to me, but now we need a C+ to run through the checklist. Will comment on the PR too. |
PR looks all green, we should be ready to merge eh? |
@greg-schroeder indeed, should be good to go. not sure what would hold it 👀 |
Just merged, sorry about that! |
no worries at all, i thought it was automatic 😄 |
Merged. Awaiting deploy to staging -> prod |
@greg-schroeder updates here? just saw this one lingering - no rush :D |
Looks like this hit production 3 weeks ago Looks like you were auto-paid @brandonhenry cuz you were hired on a milestone. @greg-schroeder , I removed |
Ah, sorry folks, the automation didn't run, so my tracking didn't pick up payment pending |
Payment summary: Contributor: @brandonhenry - $125 - paid via upwork |
$125 approved for @allroundexperts |
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: 1.4.49-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/p1709846865518079
Action Performed:
Expected Result:
Should be aligned with left edge
Actual Result:
Not aligned with left edge
Workaround:
unknown
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
Issue Owner
Current Issue Owner: @greg-schroederThe text was updated successfully, but these errors were encountered: