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

[Hold for Payment 2024-01-16] [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background #33095

Closed
6 tasks done
lanitochka17 opened this issue Dec 14, 2023 · 26 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Dec 14, 2023

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.13-0
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. Access staging.new.expensify.com
  2. Sign into a valid account
  3. Put the Site to "Light mode" in preferences
  4. Click Fab > Request > Distance Request > Add two waypoints and observe the "Add stop" button

Expected Result:

User expects the "+" to be either green or black since the app is in Light theme, it does not make sense to have white on white background

Actual Result:

The "+" sign in "White" in Light theme

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

Bug6313348_1702573842961!__sign_is_white

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016c510bd37c1f74c7
  • Upwork Job ID: 1736722830453690368
  • Last Price Increase: 2023-12-18
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Dec 14, 2023
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 Dec 14, 2023

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

@mkhutornyi
Copy link
Contributor

mkhutornyi commented Dec 14, 2023

Proposal

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

Light theme - "+" icon in distance tab is white on white background

What is the root cause of that problem?

icon fill color is hardcoded as theme.textLight here:

fill={iconFill ?? theme.textLight}

fill={iconFill ?? theme.textLight}

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

update it to theme.icon which is default icon color

Additionally, when large or success prop is set to true, we should use color from styles.buttonLargeText or styles.buttonSuccessText to be compatible with background and consistent with text color

-                               fill={iconFill ?? theme.textLight}
+                               fill={iconFill ?? (success || danger ? theme.textLight : theme.icon)}

@grgia
Copy link
Contributor

grgia commented Dec 14, 2023

@shawnborton @dannymcclain should the button be green here?

@grgia grgia self-assigned this Dec 14, 2023
@grgia grgia removed the DeployBlockerCash This issue or pull request should block deployment label Dec 14, 2023
@grgia
Copy link
Contributor

grgia commented Dec 14, 2023

This is not a deploy blocker

@grgia grgia added Daily KSv2 and removed Hourly KSv2 labels Dec 14, 2023
@dannymcclain
Copy link
Contributor

That button should use our standard "primary" button styles (in both light and dark mode).

They look like this:
CleanShot 2023-12-14 at 12 38 56@2x

They map to our Figma variables like this:
Background: button
Text: text
Icon: icons

@grgia grgia changed the title Light theme - "+" icon in distance tab is white on white background [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background Dec 14, 2023
@grgia
Copy link
Contributor

grgia commented Dec 14, 2023

@mkhutornyi can you confirm that your proposal matches the linked mocks?

@grgia
Copy link
Contributor

grgia commented Dec 14, 2023

Thank you @dannymcclain !

@mkhutornyi
Copy link
Contributor

Let me check

@mkhutornyi
Copy link
Contributor

Does this look good? (updated proposal accordingly)

Screenshot 2023-12-15 at 12 49 36 AM Screenshot 2023-12-15 at 12 49 48 AM

@shawnborton
Copy link
Contributor

That seems right to me at least.

@dannymcclain
Copy link
Contributor

Looks right to me.

Copy link

melvin-bot bot commented Dec 18, 2023

@luacmartins, @grgia Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Dec 18, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

@luacmartins, @grgia Whoops! This issue is 2 days overdue. Let's get this updated quick!

@mkhutornyi
Copy link
Contributor

As approved by design team, can I be assigned?

@luacmartins
Copy link
Contributor

all yours @mkhutornyi

@luacmartins luacmartins added the Bug Something is broken. Auto assigns a BugZero manager. label Dec 18, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

Triggered auto assignment to @sonialiap (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Dec 18, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Dec 18, 2023
@melvin-bot melvin-bot bot changed the title [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background [$500] [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background Dec 18, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

Job added to Upwork: https://www.upwork.com/jobs/~016c510bd37c1f74c7

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 18, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@luacmartins luacmartins removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 18, 2023
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Dec 18, 2023
@mkhutornyi
Copy link
Contributor

PR is ready for review

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jan 11, 2024
Copy link

melvin-bot bot commented Jan 11, 2024

This issue has not been updated in over 15 days. @eVoloshchak, @sonialiap, @luacmartins, @grgia, @mkhutornyi eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot added the Monthly KSv2 label Jan 11, 2024
@grgia
Copy link
Contributor

grgia commented Jan 11, 2024

@sonialiap we can close this out once we ensure payments are made to @eVoloshchak (C+ review) and @mkhutornyi for #33252

@grgia grgia added Daily KSv2 and removed Monthly KSv2 labels Jan 11, 2024
@grgia grgia changed the title [$500] [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background [Awaiting Payment] [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background Jan 11, 2024
@sonialiap
Copy link
Contributor

sonialiap commented Jan 16, 2024

Deployed to production Jan 9, so it's ready for payment on Jan 16 (today 🎉 )

@eVoloshchak review $500 - please request in NewDot and complete the checklist
@mkhutornyi fix $500 - paid ✔️

@sonialiap sonialiap changed the title [Awaiting Payment] [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background [Hold for Payment 2024-01-16] [Theme Switching] 🎨 Light theme - "+" icon in distance tab is white on white background Jan 16, 2024
@eVoloshchak
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: there isn't a PR that caused this, this is a detail that was missed during the [Theme Switching Migration]
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: this is a very minor detail, I don't think an additional discussion is needed
  • Determine if we should create a regression test for this bug.
    Is it easy to test for this bug? Yes
    Is the bug related to an important user flow? No
    Is it an impactful bug? No

    This is a very minor bug that doesn't prevent user from using the app (just the button color is different), I don't think a regression test is necessary here

@JmillsExpensify
Copy link

$500 approved for @eVoloshchak based on summary above.

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. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
No open projects
Development

No branches or pull requests

9 participants