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 - The price $9 in upgrade page is not legible in light mode #44965

Closed
6 tasks done
lanitochka17 opened this issue Jul 8, 2024 · 10 comments
Closed
6 tasks done
Assignees
Labels
Engineering Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 8, 2024

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


Version Number: 9.0.5-3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Issue found when executing PR #43822

Action Performed:

Precondition:

  • App theme is light
  1. Go to staging.new.expensify.com
  2. Go to Workspace settings.
  3. Add upgrade/report-fields to the url (eg, https://staging.new.expensify.com/settings/workspaces/31DF97D37125FBD6/upgrade/report-fields
    )

Expected Result:

The content will be legible in light mode

Actual Result:

The price $9 is not legible in light mode

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

08 07 2024

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 8, 2024
Copy link

melvin-bot bot commented Jul 8, 2024

Triggered auto assignment to @Gonals (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

github-actions bot commented Jul 8, 2024

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

@lanitochka17
Copy link
Author

@Gonals FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@etCoderDysto
Copy link
Contributor

Proposal

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

The price $9 in upgrade page is not legible in light mode

What is the root cause of that problem?

We are passing styles.textWhite instead of styles.themeTextColor here

<Text style={[styles.textWhite, styles.textBold]}>{translate(`workspace.upgrade.${feature.id}.pricing.amount`)}</Text>

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

Change styles.textWhite to styles.themeTextColor below

<Text style={[styles.textWhite, styles.textBold]}>{translate(`workspace.upgrade.${feature.id}.pricing.amount`)}</Text>

What alternative solutions did you explore? (Optional)

@ShridharGoel
Copy link
Contributor

Proposal

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

Workspace - The price $9 in upgrade page is not legible in light mode.

What is the root cause of that problem?

Text colour is fixed to white in the below line, which makes it not legible in light mode.

<Text style={[styles.textWhite, styles.textBold]}>{translate(`workspace.upgrade.${feature.id}.pricing.amount`)}</Text>

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

styles.textWhite needs to be removed.

<Text style={[styles.textNormal, styles.textSupporting]}>
    {translate(`workspace.upgrade.${feature.id}.pricing.onlyAvailableOnPlan`)}
    <Text style={[styles.textBold]}>{translate(`workspace.upgrade.${feature.id}.pricing.amount`)}</Text>
    {translate(`workspace.upgrade.${feature.id}.pricing.perActiveMember`)}
</Text>

@Julesssss Julesssss assigned Julesssss and unassigned Gonals Jul 8, 2024
@Julesssss
Copy link
Contributor

Julesssss commented Jul 8, 2024

This was a side effect of this PR.

@Julesssss Julesssss added Daily KSv2 Improvement Item broken or needs improvement. and removed DeployBlocker Indicates it should block deploying the API DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jul 8, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 8, 2024
@Julesssss
Copy link
Contributor

I realise this shouldn't be a blocker as the feature is locked, but I had already started...

PR in review

@Julesssss
Copy link
Contributor

Merged, no need to CP

@ShridharGoel
Copy link
Contributor

@Julesssss Should this be closed?

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

No branches or pull requests

5 participants