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

IOU - All currencies in the list are bolded #34644

Closed
6 tasks done
kbecciv opened this issue Jan 17, 2024 · 10 comments
Closed
6 tasks done

IOU - All currencies in the list are bolded #34644

kbecciv opened this issue Jan 17, 2024 · 10 comments
Assignees
Labels
DeployBlockerCash This issue or pull request should block deployment Engineering Hourly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Jan 17, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.26-1
Reproducible in staging?: y
Reproducible in production?: n
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Click FAB > Request money > Manual.
  2. Click on the currency.

Expected Result:

Only the selected currency is bolded.

Actual Result:

All the currencies in the list are bolded. This issue also occurs in Theme and Language selection page.

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

image

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jan 17, 2024
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.

Copy link

melvin-bot bot commented Jan 17, 2024

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

@tienifr
Copy link
Contributor

tienifr commented Jan 17, 2024

Proposal

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

All the currencies in the list are bolded. This issue also occurs in Theme and Language selection page.

What is the root cause of that problem?

In BaseOptionList we add boldStyle for all options

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

bold option when it's selected

                boldStyle={isSelected  && boldStyle}

What alternative solutions did you explore? (Optional)

NA

@dummy-1111
Copy link
Contributor

This is a regression of this PR #34357

@situchan
Copy link
Contributor

cc: @s77rt

@dukenv0307
Copy link
Contributor

dukenv0307 commented Jan 17, 2024

Proposal

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

All the currencies in the list are bolded. This issue also occurs in Theme and Language selection page.

What is the root cause of that problem?

We added the bold style for all item of selection list

styles.sidebarLinkTextBold,

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

We should update to only apply bold style for selected option

styles.sidebarLinkTextBold,

item.isSelected && styles.sidebarLinkTextBold

What alternative solutions did you explore? (Optional)

NA

@s77rt
Copy link
Contributor

s77rt commented Jan 17, 2024

Not a bug. This is done on purpose

@s77rt
Copy link
Contributor

s77rt commented Jan 17, 2024

cc @shawnborton for confirming in case I missed something here.

@shawnborton
Copy link
Contributor

Correct, this is intended behavior. cc @Expensify/design

Closing!

@amyevans
Copy link
Contributor

Thanks for confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DeployBlockerCash This issue or pull request should block deployment Engineering Hourly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants