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

Workspace - Company type dropdown in Adding bank account page (Step 2) is broken #27334

Closed
6 tasks done
lanitochka17 opened this issue Sep 13, 2023 · 7 comments
Closed
6 tasks done
Assignees
Labels
Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Sep 13, 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. Go to staging.new.expensify.com
  2. Go to Settings > Workspace > any workspace > Bank account
  3. Click Add manually
  4. Proceed to Step 2
  5. Click on the Company type dropdown

Expected Result:

Company type dropdown is not broken

Actual Result:

Company type dropdown is broken

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.69-10

Reproducible in staging?: Yes

Reproducible in production?: No

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

Bug6198919_20230913_183042.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Sep 13, 2023
@OSBotify
Copy link
Contributor

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 13, 2023

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

@ishpaul777
Copy link
Contributor

ishpaul777 commented Sep 13, 2023

Proposal

Problem

Company type dropdown in Adding bank account page (Step 2) is broken

Root cause

we are mapping a translation key which is a string to picker items.

Changes

Create a array with incorporation types in constants, map the array to items like below, in Companystep

       items={_.map(CONST.INCORPORATION_TYPES, (value) => ({ value: translate(`companyStep.incorporationTypes.${value}`),
       label: translate(`companyStep.incorporationTypes.${value}`) }))}

@dummy-1111
Copy link
Contributor

This is a regression of this PR

@getusha
Copy link
Contributor

getusha commented Sep 13, 2023

Dupe of #27326

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Sep 13, 2023
@AndrewGable
Copy link
Contributor

Looks like this is going to be fixed by #27358

@srikarparsi
Copy link
Contributor

Closing this one out since it's fixed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants