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 2023-06-29] [$1000] iOS - Copy and Download buttons overlap with Next button when app is in Spanish #20138

Closed
1 of 6 tasks
kbecciv opened this issue Jun 3, 2023 · 57 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Jun 3, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Sign in and enter the app
  2. Change language to Spanish
  3. Go to Seguridad -> Autenticación de dos factores

Expected Result:

Button should not overlap between each other

Actual Result:

Copy and Download buttons overlap with Next button when app is in Spanish

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.23.6

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

Bug6079407_IMG_1318.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bb40af209228ca22
  • Upwork Job ID: 1666201965044396032
  • Last Price Increase: 2023-06-06
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@hungvu193
Copy link
Contributor

hungvu193 commented Jun 4, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

iOS - Copy and Download buttons overlap with Next button when app is in Spanish

What is the root cause of that problem?

We are wrapping both FixFooter and Content inside ScrollView, and when we change language to Spanish, the text will has more lines, it makes the content of the CodeSection overlap the FixedFooter because it has position fix

What changes do you think we should make in order to solve the problem?

We should only wrap the content with ScrollView not the FixFooter.
Also change the ScrollView contentContainerStyle={styles.flex1} to style={styles.flex1}, and add the styles.flexGrow0 to the FixedFooter to make sure our content can scroll above the FixedFooter.

            <FullPageOfflineBlockingView>
                <ScrollView style={styles.flex1}>
                    <Section
                        title={props.translate('twoFactorAuth.keepCodesSafe')}
                        icon={Illustrations.ShieldYellow}
                        containerStyles={[styles.twoFactorAuthSection]}
                        iconContainerStyles={[styles.ml6]}
                    >
                    </Section>
                </ScrollView>
                <FixedFooter style={[styles.twoFactorAuthFooter, styles.flexGrow0]}>
                    <Button
                        success
                        text={props.translate('common.next')}
                        onPress={() => Navigation.navigate(ROUTES.SETTINGS_2FA_VERIFY)}
                        isDisabled={isNextButtonDisabled}
                    />
                </FixedFooter>
            </FullPageOfflineBlockingView>

What alternative solutions did you explore? (Optional)

N/A

Result
Screen.Recording.2023-06-04.at.08.07.34.mov

@melvin-bot
Copy link

melvin-bot bot commented Jun 4, 2023

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@faizansahib
Copy link

hello

@melvin-bot
Copy link

melvin-bot bot commented Jun 4, 2023

📣 @faizansahib! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@faizansahib
Copy link

email:[email protected] upwork Profile Link : https://www.upwork.com/freelancers/faizans50

@melvin-bot melvin-bot bot added the Overdue label Jun 6, 2023
@twisterdotcom
Copy link
Contributor

Weird. Yes, I can repro.

@melvin-bot melvin-bot bot removed the Overdue label Jun 6, 2023
@twisterdotcom twisterdotcom added External Added to denote the issue can be worked on by a contributor Overdue labels Jun 6, 2023
@melvin-bot melvin-bot bot changed the title iOS - Copy and Download buttons overlap with Next button when app is in Spanish [$1000] iOS - Copy and Download buttons overlap with Next button when app is in Spanish Jun 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 6, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01bb40af209228ca22

@melvin-bot
Copy link

melvin-bot bot commented Jun 6, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 6, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 6, 2023

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

@benjaminbennet
Copy link

Proposal

Please re-state the problem that we are trying to solve in this issue.

iOS - Copy and Download buttons overlap with Next button when app is in Spanish

What is the root cause of that problem?

FixedFooter and Section are wrapped inside scrollview, when content is overflowed it made the content overflow the bottom section.

What changes do you think we should make in order to solve the problem?

We should reduce the padding, margin between component to prevent it overflow. IMO, the current margin and padding inside CodePage are so big.

What alternative solutions did you explore? (Optional)

N/A

@hungvu193
Copy link
Contributor

I think your solution is like a hack, because with smaller screen this issue can still happen @benjaminbennet

@Santhosh-Sellavel
Copy link
Collaborator

@Expensify/design Do we need to fix anything here?

@shawnborton
Copy link
Contributor

Hmm I don't understand why the buttons/background card area overlap the button like that, but it's definitely a bug. @MonilBhavsar can you take a look at this one since I think you worked on this feature?

@Santhosh-Sellavel
Copy link
Collaborator

@kbecciv On what device did the issue occurred?

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 22, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Jun 22, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.30-5 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 2023-06-29. 🎊

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.

  • 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 Jun 22, 2023

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:

  • [@Santhosh-Sellavel] The PR that introduced the bug has been identified. Link to the PR:
  • [@Santhosh-Sellavel] 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:
  • [@Santhosh-Sellavel] 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:
  • [@Santhosh-Sellavel] Determine if we should create a regression test for this bug.
  • [@Santhosh-Sellavel] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@twisterdotcom twisterdotcom added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Jun 28, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 28, 2023

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 28, 2023
@Expensify Expensify deleted a comment from melvin-bot bot Jun 28, 2023
@twisterdotcom
Copy link
Contributor

Hi @greg-schroeder - sorry to leave this with you. I'm OOO and we just need to handle payment today and a test case.

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Jun 28, 2023

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:

  • [@Santhosh-Sellavel] The PR that introduced the bug has been identified. Link to the PR: fix: 2FA bug fixes #19260
  • [@Santhosh-Sellavel] 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: fix: 2FA bug fixes #19260 (comment)
  • [@Santhosh-Sellavel] 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: This should have been caught in this review based on the checklist
  • [@Santhosh-Sellavel] Determine if we should create a regression test for this bug. N/A
  • [@Santhosh-Sellavel] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

We don't need a separate regression test here, this is minor Ui polish. Existing cases should be enough. @arosiclair Let me know if you differ on any of the above.

Thanks!

Cc: @twisterdotcom

@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Jun 28, 2023
@greg-schroeder
Copy link
Contributor

No problem @twisterdotcom - I'll take care of payment once we reach the payment date tomorrow :)

@greg-schroeder
Copy link
Contributor

Wait actually I'm coming into this a bit late as I didn't managed this issue from the start - are we paying full price for this (but just to C+ for review)? There was some kind of regression here but I'm not certain @arosiclair @Santhosh-Sellavel

@Santhosh-Sellavel
Copy link
Collaborator

@greg-schroeder Better this discussion can happen on Slack or new dot. We can wait for @twisterdotcom, I'm in no rush to collect payments here.

@greg-schroeder
Copy link
Contributor

Good call, I will open a discussion

@greg-schroeder
Copy link
Contributor

I sent you an offer @Santhosh-Sellavel for this one... given you're a different reviewer than the initial PR let's just go with the standard payment.

@greg-schroeder
Copy link
Contributor

awaiting payment acceptance and we can close this out

@melvin-bot melvin-bot bot added the Overdue label Jul 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 2023

@arosiclair, @twisterdotcom, @thiagobrez, @greg-schroeder, @Santhosh-Sellavel Whoops! This issue is 2 days overdue. Let's get this updated quick!

@Santhosh-Sellavel
Copy link
Collaborator

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Jul 3, 2023
@greg-schroeder
Copy link
Contributor

Did you want to accept payment for this @Santhosh-Sellavel?

@greg-schroeder
Copy link
Contributor

Closing for now as everything else is complete. :)

@anmurali
Copy link

anmurali commented Jul 7, 2023

Paid Santhosh on new Dot.

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. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests