Closed kavimuru closed 1 year ago
Auth DeletePolicy error is misaligned
The error padding left in not the same as the item padding left. Error padding left: https://github.com/Expensify/App/blob/332d2c96e1f0b4bbcdd85859868b6d7b3047d76a/src/styles/styles.js#L2832-L2835
Item padding left: https://github.com/Expensify/App/blob/332d2c96e1f0b4bbcdd85859868b6d7b3047d76a/src/styles/styles.js#L1299
Apply the same padding left for both Error and Item
menuItemErrorPadding: {
paddingLeft: 20,
paddingRight: 20,
},
N/A
Triggered auto assignment to @maddylewis (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are β
)I would like to suggest to not get this aligned as this looks more like a error message now rather then when aligned, where it will look more like a workspace.
The error dot is misaligned
This is the currently padding/ margin of dot error in all pages
no padding
Padding Horizontal 20px
Padding left 44px, padding right 20px
We need to confirm the padding/margin for each above page. This is my suggestion
update styles.ph6 to styles.ph5
Add this props
errorRowStyles={[styles.ph5]}
@Beamanator Could you help to confirm the correct padding margin in above places
Maybe @shawnborton can help confirm how we want those to look - and @dukenv0307 it looks like you forced errors to appear in Onyx, right? Maybe you can add some dummy text to each of those screenshots too?
Sorry for my bump mistake @shawnborton Please help to confirm
I'm confused, why are we not showing an error message next to the red dot?
@shawnborton Because this bug focuses on the error being misaligned so I am forcing errors to appear red dot in code without a message. I will update to include message error for more clear
Thank you!
@shawnborton I just updated https://github.com/Expensify/App/issues/21143#issuecomment-1600106970 Could you help to check? Thanks
I think the cleanest thing to do might be to do just Padding Horizontal 20px
from your ideas. But I guess it depends, if that error message is already wrapped inside a view that has 20px padding, then we wouldn't need any extra. Let me know if that makes sense.
- padding-left: 30px, padding-right: 20px
@shawnborton In the number 1, padding-left should be 30px instead of 20px to aligned with the above icon. What do you think about this?
I disagree with that. I think we're going to run into too many different cases of trying to align the red dot up with the icon above it - for example, there are different sizes when there is an avatar from a chat message, vs an icon from an option row, etc. So I think the cleanest thing to do is follow the padding that the view has if it's say 20px, and if there is no view padding, then we use 20px.
Job added to Upwork: https://www.upwork.com/jobs/~01ae4f5bbe870cdf89
Current assignee @maddylewis is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External
)
I think the first proposal @ahmedGaber93's is straightforward so let's hire them, other proposals are redundant. Thanks, everyone for the proposals and discussion!
@wahaha999 About your alternative proposal, I really don't see why we need it. If your proposal solves or improves any issues and multiple components that are not being reported please start a thread in the Expensify Slack channel with a list of Problems and how your solution addresses them, thanks!
C+ Reviewed π π π
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@Santhosh-Sellavel A small question, Why do you think we shouldn't fix here https://github.com/Expensify/App/blob/7c04c2f3f10df403f97fecb3b18dd81478003a31/src/pages/workspace/WorkspaceInitialPage.js#L197 update to styles.ph5 for consistency
We can display error on WorkspaceInitialPage be these step:
It will display like this with wrong padding
@Santhosh-Sellavel we can also fix any similar reported/non-reported issue not included in this issue report in one PR with same My proposal concept. My proposal concept is:
Apply the same visual padding/margin for both Error and Item above it.
And any other similar issues like this issue #20420 and my proposal there and others, we can cover it in one PR.
Thanks!
@ahmedGaber93 @dukenv0307 Sorry for the confusion here, I think both are valid proposals in their own way. I'm not sure whom to pick here. Are you guys interested in working together on this one and sharing the job fee, so we can get this done sooner?
cc: @madmax330 What do you say?
I'll let you make the final call here, thanks!
Are you guys interested in working together on this one and sharing the job fee
@Santhosh-Sellavel for me, no problem, I agree.
Great, I am happy to work with @ahmedGaber93
Alright I will assign you both. Thanksk @Santhosh-Sellavel
π£ @dukenv0307 You have been assigned to this job by @madmax330! Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
π£ @ahmedGaber93 You have been assigned to this job by @madmax330! Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
Thanks @madmax330!
@dukenv0307 & @ahmedGaber93 One of you should implement and the other one should help to review/test fill the checklist. Please decide on that and get started soon, thanks!
Thanks @Santhosh-Sellavel I will create the PR soon, and ask @dukenv0307 for review and test
@ahmedGaber93 Ping me when PR is ready
We can display error on WorkspaceInitialPage be these step:
- Do to any workspace (ID: 123456)
- Delete this workspace
- GO to again this workspace after removing it by accessing this URL: /workspace/123456
@dukenv0307 I can't show the error by these steps, it displays "Hmm... it's not here".
@ahmedGaber93 We need to make that there is an error while deleting workspace in step 2
@Santhosh-Sellavel @dukenv0307 PR is ready for review.
Making note of payments just for my own organization:
Hi @maddylewis, I think you meant @dhanashree-sawant for reporting bonus π
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one π
@madmax330 I think this should be considered for a speed bonus, as it's been ready for merge 4 days ago. Thanks!
cc: @maddylewis
@dhanashree-sawant - ah, sorry about that! https://github.com/Expensify/App/issues/21143#issuecomment-1609962297
updated!!
@Santhosh-Sellavel - i updated the total payouts for the contributors to $750 - https://github.com/Expensify/App/issues/21143#issuecomment-1609939334
if that works, I'll get the payments sent. thanks!
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.36-5 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-07-12. :confetti_ball:
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.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
payment due soon / switching to daily
ill process payment tomorrow!
@Santhosh-Sellavel - let me know the status of the BZ checklist https://github.com/Expensify/App/issues/21143#issuecomment-1622148429
offers sent
@maddylewis I will collect via ND, so cancel my offer. Thanks!
@maddylewis Bonus for me is not included here. Please update so I can proceed with the ND request!
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
If Auth DeletePolicy error is triggered, it should be aligned with workspace avatars as we normally do for other errors
Actual Result:
Auth DeletePolicy error is not aligned with workspace avatars
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?
Version Number: 1.3.29-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 Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/c4f305c9-408d-4722-8e41-0bf4abee79e5
Expensify/Expensify Issue URL: Issue reported by: @dhanashree-sawant Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686578487180049
View all open jobs on GitHub
Upwork Automation - Do Not Edit