App icon indicating copy to clipboard operation
App copied to clipboard

iOS / Android - Request money page breaks after using 14 digits

Open isagoico opened this issue 5 years ago • 8 comments

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


Issue is failing PR https://github.com/Expensify/App/pull/5192 (CC @akshayasalvi @marcaaron @deetergp)

Action Performed

  1. Launch the app and log in with any account
  2. Go to any transaction option - Split Money or Request Money
  3. Search for ALL currency
  4. Go to the number pad and try to type a very long number - say 14+ digits.

Expected Result

Request money page looks properly aligned after using 14 digits

Actual Result

Request money page breaks after using 14 digits

Platform

iOS ✔️ Android ✔️

Version Number: 1.0.98-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Images/Video

https://user-images.githubusercontent.com/44479856/133172635-e4056483-ec7c-4e9c-b471-7942ecf8ecda.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause Slack conversation:

View all open jobs on GitHub

isagoico avatar Sep 14 '21 00:09 isagoico

Triggered auto assignment to @ctkochan22 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Sep 14 '21 00:09 MelvinBot

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

OSBotify avatar Sep 14 '21 00:09 OSBotify

I feel like the simplest fix would be to cap the size of the amount you can enter to 10 digits? I think that's the max we allow in the backend anyway. @akshayasalvi would you be able to submit a follow-up PR to limit the number of digits to 10 in this input please?

francoisl avatar Sep 14 '21 18:09 francoisl

Oh haha I just realized the original PR was to cap the amount to 14 digits. I checked that our backend only allows for 10 digits, so 14 wouldn't have worked anyway.

francoisl avatar Sep 14 '21 18:09 francoisl

@francoisl Ohh this never came up in any previous discussions XD. Sure I'll add a cap of 10 digits.

akshayasalvi avatar Sep 14 '21 18:09 akshayasalvi

🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

botify avatar Sep 15 '21 20:09 botify

I think we're good to close this one out CC @francoisl

isagoico avatar Sep 15 '21 20:09 isagoico

🚀 Deployed to staging by @francoisl in version: 1.0.98-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

botify avatar Sep 15 '21 21:09 botify