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

[Search v2.3] - Saved filter tool tip is hard to read on dark theme #49213

Closed
2 of 6 tasks
IuliiaHerets opened this issue Sep 14, 2024 · 8 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@IuliiaHerets
Copy link

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: 9.0.35-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): nathanmulugetatesting+1482@gmail.com
Issue reported by: Applause Internal Team

Action Performed:

Precondition: App theme should be in dark mode.

  1. Navigate to staging.new.expensify.com
  2. Navigate to search
  3. Click on filter
  4. Setup any filter and save it

Expected Result:

The tooltip is easily readable

Actual Result:

The tooltip is hard to read on dark theme

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6603169_1726291858246.bandicam_2024-09-14_08-26-44-191.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Sep 14, 2024
Copy link

melvin-bot bot commented Sep 14, 2024

Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-control

Copy link

melvin-bot bot commented Sep 14, 2024

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

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.

@gijoe0295
Copy link
Contributor

Proposal

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

The tooltip is hard to read on dark theme

What is the root cause of that problem?

We're using text color for the tooltip:

<Text style={[styles.ml1, styles.textLabel]}>{translate('search.saveSearchTooltipText')}</Text>

App/src/styles/index.ts

Lines 376 to 377 in 14c8409

textLabel: {
color: theme.text,

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

Use quickActionTooltipSubtitle style which contains textDark color:

<Text style={styles.quickActionTooltipSubtitle}>{translate('quickAction.tooltip.subtitle')}</Text>

App/src/styles/index.ts

Lines 3910 to 3913 in 14c8409

quickActionTooltipSubtitle: {
fontSize: variables.fontSizeLabel,
color: theme.textDark,
},

@ishpaul777
Copy link
Contributor

offending PR #48566, cc @luacmartins @lakchote

@luacmartins
Copy link
Contributor

PR here

@luacmartins luacmartins assigned lakchote and luacmartins and unassigned francoisl Sep 15, 2024
@luacmartins
Copy link
Contributor

Fixed in staging
Screenshot 2024-09-16 at 11 51 53 AM

@luacmartins luacmartins removed the DeployBlockerCash This issue or pull request should block deployment label Sep 16, 2024
@luacmartins luacmartins changed the title Search - Saved filter tool tip is hard to read on dark theme [Search v2.3] - Saved filter tool tip is hard to read on dark theme Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Reviewing Has a PR in review Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

7 participants