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

[$500] Dev: Settings Background for profile details Header is changed unintentionally while refactoring LHN #29085

Closed
6 tasks done
kbecciv opened this issue Oct 9, 2023 · 6 comments
Assignees
Labels
External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Oct 9, 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!


Action Performed:

  1. Pull latest changes from main
  2. Open App, navigate to settings.

Expected Result:

Settings Background for profile details Header is not same as production and staging.

Actual Result:

Settings Background for profile details Header is same as production and staging.

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: Dev 1.3.79.3
Reproducible in staging?: n
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
Notes/Photos/Videos: Any additional supporting documentation

Screenshot_1696710096
Screenshot_2023-10-08-01-41-52-86_40deb401b9ffe8e1df2f1cc5ba480b12
Screenshot 2023-10-07 at 2 01 34 PM
192 168 0 1038082settings
(1) New Expensify (1)
Screenshot 2023-10-07 at 1 42 41 PM

Expensify/Expensify Issue URL:
Issue reported by: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696666339849009

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0190dc27ba467ee399
  • Upwork Job ID: 1711358815262965760
  • Last Price Increase: 2023-10-09
@kbecciv kbecciv added the External Added to denote the issue can be worked on by a contributor label Oct 9, 2023
@melvin-bot melvin-bot bot changed the title Dev: Settings Background for profile details Header is changed unintentionally while refactoring LHN [$500] Dev: Settings Background for profile details Header is changed unintentionally while refactoring LHN Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0190dc27ba467ee399

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

melvin-bot bot commented Oct 9, 2023

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Oct 9, 2023
@kbecciv
Copy link
Author

kbecciv commented Oct 9, 2023

Proposal by: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696666339849009

Proposal

Problem

Settings Background for profile details Header is changed unintentionally while refactoring LHN

Root Cause

We were referencing sidebar color for the background color which was darkHighlightBackground but recently this hs been changed while refactoring New LHN layout.

Changes

We should use highlightBG instead of sidebar color to avoid this issue in future, we should fix this for all other places where ever we reference sidebar color directly

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Oct 9, 2023

Proposal

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

Setting header background color is different

What is the root cause of that problem?

We have incorect background color in styles for the setting header that matches with the background color of a settings

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

We can update SCREENS.SETTINGS.ROOT in this style
Since this constant is used only in one place
There should be no new regressions

[SCREENS.SETTINGS.ROOT]: darkTheme.sidebar,

Like

[SCREENS.SETTINGS.ROOT]: darkTheme.highlightBG,

What alternative solutions did you explore? (Optional)

Or we can background color in header component

@hayata-suenaga
Copy link
Contributor

This issue is consolidated here 🙇

Thank you everyone for proposals and I really appreciate the time you took to write these. I'm looking forward to working with you in the next issue 🚀

@ishpaul777
Copy link
Contributor

hii @hayata-suenaga, Can you tag someone who can clarify the consolidated reports are eligible for report or not?

@kosmydel kosmydel mentioned this issue Oct 12, 2023
96 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants