Skip to content
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 2022-12-22][$1000] Workspace - general settings - Save Button is not at the bottom #13488

Closed
kavimuru opened this issue Dec 9, 2022 · 29 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Dec 9, 2022

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:

  1. Open the app
  2. Go to settings > Workspaces
  3. Open a workspace
  4. Go to workspace settings

Expected Result:

The button should be at the bottom

Actual Result :

The button is not at the bottom

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.37-2
Reproducible in staging?: y
Reproducible in production?: n
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:

Issue reported by: @daraksha-dk

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1670351071306529

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014a8b2e372f1048cf
  • Upwork Job ID: 1602417572384657408
  • Last Price Increase: 2022-12-12
@kavimuru kavimuru added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 9, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 9, 2022

Triggered auto assignment to @davidcardoza (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@kavimuru kavimuru changed the title Workspace - Button is not at the bottom Workspace - general settings - Save Button is not at the bottom Dec 9, 2022
@daraksha-dk
Copy link
Contributor

daraksha-dk commented Dec 10, 2022

Proposal

styles.flex1 was removed from below in #12848 (cc: @tgolen )

containerStyles={[styles.mh5, styles.mb5, styles.justifyContentEnd, ...props.containerStyles]}

We just have to pass styles.flex1 below so it will only affect Form

containerStyles={[styles.mh0, styles.mt5]}

@melvin-bot melvin-bot bot added the Overdue label Dec 12, 2022
@tgolen
Copy link
Contributor

tgolen commented Dec 12, 2022

OK, please make sure that you test the sign-in flows to ensure buttons are all placed properly. If I recall, the reason I removed that was because it was causing a spacing issue on the "resend validation link" form.

@daraksha-dk
Copy link
Contributor

daraksha-dk commented Dec 12, 2022

@tgolen, yeah I looked at the PR and re-adding flex1 below was causing spacing issues

containerStyles={[styles.mh5, styles.mb5, styles.justifyContentEnd, ...props.containerStyles]}

that's why I found another solution, which is to pass the flex1 to FormAlertWithSubmitButton using by using its containerStyles prop in Form so that it doesn't affect other places. We just have to pass flex1 below

containerStyles={[styles.mh0, styles.mt5]}

@chiragsalian chiragsalian added Hourly KSv2 and removed Daily KSv2 labels Dec 12, 2022
@chiragsalian
Copy link
Contributor

Proposal LGTM

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 Overdue labels Dec 12, 2022
@daraksha-dk daraksha-dk mentioned this issue Dec 12, 2022
50 tasks
@davidcardoza davidcardoza added the External Added to denote the issue can be worked on by a contributor label Dec 12, 2022
@davidcardoza
Copy link
Contributor

Applying the external label for review.

@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

Current assignee @davidcardoza is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title Workspace - general settings - Save Button is not at the bottom [$1000] Workspace - general settings - Save Button is not at the bottom Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

Job added to Upwork: https://www.upwork.com/jobs/~014a8b2e372f1048cf

@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 12, 2022

Triggered auto assignment to @chiragsalian (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@davidcardoza
Copy link
Contributor

@lordthien
Copy link

Proposal:
In file: App/src/components/Form.js. I add styles.flex1 into containerStyles of FormAlertWithSubmitButton

diff --git a/src/components/Form.js b/src/components/Form.js
index 72ee4afc6b..3c41357161 100644
--- a/src/components/Form.js
+++ b/src/components/Form.js
@@ -294,7 +294,7 @@ class Form extends React.Component {
                                     focusInput.focus();
                                 }
                             }}
-                            containerStyles={[styles.mh0, styles.mt5]}
+                            containerStyles={[styles.mh0, styles.mt5, styles.flex1]}
                             enabledWhenOffline={this.props.enabledWhenOffline}
                             isDangerousAction={this.props.isDangerousAction}
                         />

Simulator Screen Shot - iPhone 13 Pro Max - 2022-12-13 at 10 50

@mananjadhav
Copy link
Collaborator

I just went through the proposals to review and was going to accept @daraksha-dk's proposal but then I saw the PR is already merged.

@chiragsalian do you need a second testing from my side here?

@mananjadhav mananjadhav removed their assignment Dec 13, 2022
@chiragsalian
Copy link
Contributor

QA tested this and its a pass, removing deploy blocker label

@chiragsalian chiragsalian added Reviewing Has a PR in review and removed DeployBlockerCash This issue or pull request should block deployment labels Dec 13, 2022
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Dec 13, 2022
@melvin-bot melvin-bot bot changed the title [$1000] Workspace - general settings - Save Button is not at the bottom [HOLD for payment 2022-12-20] [$1000] Workspace - general settings - Save Button is not at the bottom Dec 13, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 13, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2022-12-20. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Dec 13, 2022

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:

@melvin-bot
Copy link

melvin-bot bot commented Dec 15, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.39-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2022-12-22. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot changed the title [HOLD for payment 2022-12-20] [$1000] Workspace - general settings - Save Button is not at the bottom [HOLD for payment 2022-12-22] [HOLD for payment 2022-12-20] [$1000] Workspace - general settings - Save Button is not at the bottom Dec 15, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 15, 2022

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:

  • [@chiragsalian] The PR that introduced the bug has been identified. Link to the PR:
  • [@chiragsalian] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@chiragsalian] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@davidcardoza] A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:

@daraksha-dk
Copy link
Contributor

@davidcardoza, I have applied to the job.
Just a note - The job price is $1000 but it's eligible for $1750 (Reporting Bonus + Fix + 50% bonus )

@davidcardoza
Copy link
Contributor

Sounds good, I paid out $1750

@daraksha-dk
Copy link
Contributor

@davidcardoza, I haven't received the offer. Can you check please?

@davidcardoza
Copy link
Contributor

@daraksha-dk I sent the invite again. Did you receive it?

@mallenexpensify mallenexpensify self-assigned this Dec 23, 2022
@mallenexpensify
Copy link
Contributor

@daraksha-dk , I just hired you, please accept https://www.upwork.com/jobs/~014a8b2e372f1048cf
The bonus will be added, $1750 will be the total.
I've assigned to issue payment too, I think David might (or should) out of office :)

@daraksha-dk
Copy link
Contributor

Thanks @mallenexpensify - I have accepted the offer on Upwork

@mallenexpensify
Copy link
Contributor

Paid @daraksha-dk $1750.
@chiragsalian can you fill out the BZ checklist above plz, Doza already did the TestRail update
#13488 (comment)

@mallenexpensify mallenexpensify changed the title [HOLD for payment 2022-12-22] [HOLD for payment 2022-12-20] [$1000] Workspace - general settings - Save Button is not at the bottom [HOLD for payment 2022-12-22][$1000] Workspace - general settings - Save Button is not at the bottom Dec 24, 2022
@chiragsalian
Copy link
Contributor

huh, i already filled it out here - #13488 (comment). The second post looks like a melvin dupe so I'm ignoring it.

@mallenexpensify
Copy link
Contributor

oh... sweet. Sorry I missed that @chiragsalian , closing meow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants