-
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
[$1000] Workspace - Margin of error is slightly shifted to the left compared to other items #22242
Comments
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - Dot error icon is not left aligned with other items. What is the root cause of that problem?
App/src/components/MenuItem.js Line 152 in 11b8908
Lines 1309 to 1313 in 11b8908
The error message on App/src/components/DotIndicatorMessage.js Lines 57 to 62 in 11b8908
Lines 2846 to 2848 in 11b8908
What changes do you think we should make in order to solve the problem?We can't simply add We should create a new prop named errorIconContainerStyles={[styles.popoverMenuIcon]} Then in In <View style={[styles.offlineFeedback.errorDot, ...props.errorIconContainerStyles]}> This will fix the issue while also not causing any regressions on other pages like What alternative solutions did you explore? (Optional)NA Result - Screen.Recording.2023-07-05.at.12.05.58.PM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~014ed9881792dde5c5 |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Let's fix this for payments page too. I think we should also align the dismiss button. ![]() @Nikhil-Vats, can you look into other pages as well? Le't fix all the instances here. |
Sure, I will come up with a list today and update the proposal. |
@thesahindia Here is the list of components that use 16. AvatarWithImagePicker - Definitely needs fixing
We were not showing errors for this component before but in this PR, AvatarWithImagePicker was changed to use OfflineWithFeedback and errors prop was passed (though it had nothing to do with PR) so that's why this looks completely messed up because it was not intentionally added - |
The following pages have alignment issues in my opinion - |
Cool, thanks for looking into it. @Nikhil-Vats's proposal looks good to me! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@madmax330 thoughts on the proposal? |
Proposal looks good, but |
I actually don't think this is a bug. We used to try to get cheeky with making sure the red dot lined up with the content above it, but we ran into way too many different cases where sometimes the item above was further right than others. So in the spirit of consistency, we just made it so we have one default RBR error message style, which is what you see. Persnoally I don't think this looks broken, and I think we should just close this out. |
Alright thanks, closing |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #21662
Action Performed:
Expected Result:
The margin of error is consistent with the workspace item margin
Actual Result:
The margin of the error is slightly shifted to the left (Red circle is not aligned with other items)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.36.4
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6116580_Recording__19.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: