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-10-10] [$500] Scan - Second word of 'Choose File' button in scan request money should not be capital #28096

Closed
6 tasks done
kbecciv opened this issue Sep 24, 2023 · 25 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 Sep 24, 2023

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. Click on plus and click Request money
  3. Select Scan and observe that 'Choose File' button has both capital first letter for both words

Expected Result:

App should keep 'Choose File' button text as first word with capital and other words with first letter small as we do throughout the app like 'New workspace' and even in Spanish version of 'Choose File'

Actual Result:

App displays 'Choose File' button text with first letter capital for both the words in English

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.73.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

Choose file capital mac chrome
image (51)
image (50)

Screenshot_20230927_165942_Chrome

Choose file capital mac ios (1)

Expensify/Expensify Issue URL:
Issue reported by: @ahmedGaber93
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691345773866069

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01723d17e27c5f12de
  • Upwork Job ID: 1706012807304642560
  • Last Price Increase: 2023-10-01
  • Automatic offers:
    • ahmedGaber93 | Contributor | 26971588
    • ahmedGaber93 | Reporter | 26971589
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 24, 2023
@namhihi237
Copy link
Contributor

Proposal

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

The second word of 'Choose File' button in the scan request money should not be capital, it should be "Choose file"

What is the root cause of that problem?

We used the show content button with the wrong translation for EN.

chooseFile: 'Choose File',

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

We need to update:

chooseFile: 'Choose file',

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot changed the title Scan - Second word of 'Choose File' button in scan request money should not be capital [$500] Scan - Second word of 'Choose File' button in scan request money should not be capital Sep 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 24, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 24, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01723d17e27c5f12de

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

melvin-bot bot commented Sep 24, 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

@melvin-bot
Copy link

melvin-bot bot commented Sep 24, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 24, 2023

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

@ahmedGaber93
Copy link
Contributor

I reporter this issue 2 months ago on slack
https://expensify.slack.com/archives/C049HHMV9SM/p1691345773866069?thread_ts=1691345773.866069&cid=C049HHMV9SM

@kbecciv Can you please add me as reporter for this issue and add my slack proposal?

@GianlucaMina
Copy link

Proposal

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

Second word of 'Choose File' button in scan request money should not be capital

What is the root cause of that problem?

The root of the problem is located in the file src/languages/en.ts line 473 "chooseFile: 'Choose File',"

receipt: {
    upload: 'Upload receipt',
    dragReceiptBeforeEmail: 'Drag a receipt onto this page, forward a receipt to ',
    dragReceiptAfterEmail: ' or choose a file to upload below.',
    chooseReceipt: 'Choose a receipt to upload or forward a receipt to ',

    chooseFile: 'Choose File', // "Choose File" should be replaced with "Choose file"

    givePermission: 'Give permission',
    takePhoto: 'Take a photo',
    cameraAccess: 'Camera access is required to take pictures of receipts.',
    cameraErrorTitle: 'Camera Error',
    cameraErrorMessage: 'An error occurred while taking a photo, please try again',
    dropTitle: 'Let it go',
    dropMessage: 'Drop your file here',
    flash: 'flash',
    shutter: 'shutter',
    gallery: 'gallery',
},

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

We must replace the incorrect text "Choose File" with the corresponding one "Choose file"

What alternative solutions did you explore? (Optional)

@eVoloshchak
Copy link
Contributor

The fix is pretty straightforward, can confirm there is a proposal from @ahmedGaber93 posted on Slack, I think we can proceed with it

🎀👀🎀 C+ reviewed!

@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2023

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

@kbecciv
Copy link
Author

kbecciv commented Sep 27, 2023

Updated reporter @ahmedGaber93

@kbecciv
Copy link
Author

kbecciv commented Sep 27, 2023

Proposal by: @ahmedGaber93
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691345773866069

Proposal

from: @ahmedGaber93

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

dev - typo error in button "Choose File" text which sould be "Choose file"

What is the root cause of that problem?

the error on translation file here

chooseFile: 'Choose File',

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

change the translate value to

// chooseFile: 'Choose File',
chooseFile: 'Choose file',

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Sep 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 1, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

📣 @eVoloshchak Please request via NewDot manual requests for the Reviewer role ($500)

@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer 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 📖

@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@danieldoglas
Copy link
Contributor

@ahmedGaber93 assigned

@melvin-bot melvin-bot bot removed the Overdue label Oct 2, 2023
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 2, 2023
@ahmedGaber93
Copy link
Contributor

@eVoloshchak PR is ready for review.

@melvin-bot
Copy link

melvin-bot bot commented Oct 2, 2023

🎯 ⚡️ Woah @eVoloshchak / @ahmedGaber93, great job pushing this forwards! ⚡️

The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉

  • when @ahmedGaber93 got assigned: 2023-10-02 01:36:47 Z
  • when the PR got merged: 2023-10-02 16:59:29 UTC

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 3, 2023
@melvin-bot melvin-bot bot changed the title [$500] Scan - Second word of 'Choose File' button in scan request money should not be capital [HOLD for payment 2023-10-10] [$500] Scan - Second word of 'Choose File' button in scan request money should not be capital Oct 3, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2023

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

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

For reference, here are some details about the assignees on this issue:

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 Oct 3, 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:

  • [@eVoloshchak] The PR that introduced the bug has been identified. Link to the PR:
  • [@eVoloshchak] 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:
  • [@eVoloshchak] 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:
  • [@eVoloshchak] Determine if we should create a regression test for this bug.
  • [@eVoloshchak] 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.
  • [@mallenexpensify / @zanyrenney] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 10, 2023
@zanyrenney
Copy link
Contributor

Payment summary:

@eVoloshchak does not require payment (Eligible for Manual Requests) owed $500 + $250 urgency bonus.
@ahmedGaber93 requires payment offer (Contributor) $500 + $250 urgency [PAID]
@ahmedGaber93 requires payment offer (Contributor) $50 [PAID]

@eVoloshchak
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: Add ability to Take/Upload Receipts #23046
  • 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: there's already a comment https://github.com/Expensify/App/pull/23046/files#r1285266648
  • 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: don't think an additional discussion is needed, we already have a checklist item for this
  • Determine if we should create a regression test for this bug. The bug is trivial and has zero effect on user experience, we don't need a regression test here

@JmillsExpensify
Copy link

$750 payment approved for @eVoloshchak based on BZ summary.

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

9 participants