-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Workspace - No padding around workspace upload error #29652
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.No margin around the error when uploading large image for workspace image upload but in profile pic update there is a proper margin What is the root cause of that problem?There is a horizontal margin for App/src/pages/settings/Profile/ProfilePage.js Line 135 in fe282b4
but not here
What changes do you think we should make in order to solve the problem?We need to add the horizontal margin What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem we are trying to solve:No padding around workspace upload error What is the root cause of this problem?The root cause is that there is no horizonal margin on the Unlike the profile page with has margin on I also noticed that the name field errorr on this page does not have margin as well. I believe this can be fixed as a part of this issue. On almost every page with form, the What changes should be made to fix this?
If you are having doubts about using negative margin, here are some examples of it being used in pages like this where there are both text inputs with padding and value selectors that need to span full width. In
App/src/pages/workspace/WorkspaceNewRoomPage.js Lines 224 to 225 in 834b3d2
In
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The app should display proper padding around workspace upload errors as user profile upload errors What is the root cause of that problem?Currently, we do not have padding paddingHorizontal for AvatarWithImagePicker in WorkspaceSettingsPage, which mean when the long error show we can easily see
What changes do you think we should make in order to solve the problem?We should add
What alternative solutions did you explore? (Optional)N/A |
Triggered auto assignment to @peterdbarkerUK ( |
Job added to Upwork: https://www.upwork.com/jobs/~01226fa069ff423c98 |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.No padding around workspace upload error What is the root cause of that problem?We have not passed styles for horizontal margin here.
unlike the profile page where we are sending the horizontal style here. App/src/pages/settings/Profile/ProfilePage.js Line 135 in ba992bb
What changes do you think we should make in order to solve the problem?We need to add horizontal margin in the style prop of AvatarWithImagePicker when calling in WorkspaceSettingsPage like this. style={[styles.mb3,styles.mh5]} What alternative solutions did you explore? (Optional)N/A |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.No padding around workspace upload error What is the root cause of that problem?We have no horizontal padding or margin style for
That is added here in App/src/pages/settings/Profile/ProfilePage.js Line 135 in 0e64161
What changes do you think we should make in order to solve the problem?To consistent the
And add style App/src/pages/settings/Profile/ProfilePage.js Line 135 in 0e64161
That means both page with add What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - No padding around workspace upload error What is the root cause of that problem?We are applying App/src/pages/settings/Profile/ProfilePage.js Line 135 in 0e64161
But we are not applying this style What changes do you think we should make in order to solve the problem?We need to apply
What alternative solutions did you explore? (Optional)NA Result: |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace settings avatar container has no horizontal paddings What is the root cause of that problem?For both profile settings and workspace settings, we are using the same component What changes do you think we should make in order to solve the problem?<AvatarWithImagePicker
style={[styles.mb3, styles.mh5]} What alternative solutions did you explore? (Optional)I noticed some differences in margins of the profile page vs the workspace settings page. Profile settings page: Workspace settings page I suggest removing the |
One note for future reference: expensify.com user accounts will get the MISSING TRANSLATION error here instead. |
@eVoloshchak, @peterdbarkerUK Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@eVoloshchak could you take a look at these proposals? Thanks! |
I think we should proceed with @c3024's proposal, as this was the first proposal to fund the root cause for this and propose a valid fix 🎀👀🎀 C+ reviewed! |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@eVoloshchak if we create a separate issue for those inconsistencies, we will end up undoing what we are going to do here... because to fix the whole page, we need to add padding to the whole form and if we do that, the change that @c3024 proposed (of adding margin to avatar) will need to reversed... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Hmm I'm actually leaning toward @esh-g 's proposal here - because it is an attempt to make the entire page layout similar to other pages - Plus it fixes that additional name error message issue. What do you think, @eVoloshchak ? |
@Beamanator, @eVoloshchak, @peterdbarkerUK Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Bump @eVoloshchak |
Yeah, that is a good point. While this isn't the first proposal, it will allow us to make the whole page consistent with the rest of the app, and the UX is more important |
@Beamanator @eVoloshchak @peterdbarkerUK 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! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
📣 @eVoloshchak Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @esh-g 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is here: #30638 cc @eVoloshchak |
PR deployed to production without issue. Payment summary:
@eVoloshchak please request payment in NewDot (assigned to @JmillsExpensify for payout) |
Haven't received a money request yet, though feel free to close this out and I'll comment with approval once I receive it via NewDot. |
Requested the payment |
Alright, missed this earlier. @peterdbarkerUK Can you please update that payment summary to clarify the correct payment amount for @eVoloshchak? Thanks! |
Updated! It should be $500. |
$500 payment approved for @eVoloshchak based on comment above. |
Thanks Jason! |
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.3.84.1
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: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697206853776269
Action Performed:
Expected Result:
App should display proper padding around workspace upload errors like it does for user profile upload errors
Actual Result:
App does not display proper padding around workspace upload errors
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android.native.no.padding.workspace.upload.error.mp4
Android: mWeb Chrome
Android.chrome.no.padding.workspace.upload.error.mp4
iOS: Native
ios.native.no.padding.workspace.upload.error.mov
iOS: mWeb Safari
ios.safari.no.padding.workspace.upload.error.mov
MacOS: Chrome / Safari
windows.chrome.no.padding.around.workspace.upload.errors.mp4
mac.chrome.no.padding.workspace.upload.error.mov
Recording.5005.mp4
MacOS: Desktop
mac.desktop.no.padding.workspace.upload.error.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: