-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$1000] Expensify Help website color code and caret icons are not updated #17238
Comments
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
Assigning myself too to help with making sure the correct colors are chosen. |
Job added to Upwork: https://www.upwork.com/jobs/~01c6ce94e5c5aaf840 |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expensify Help page's color palette is not consistent with NewDot. What is the root cause of that problem?
The arrow icons in the Help site is using default font-awesome icons as can be seen here App/docs/_includes/lhn-template.html Line 42 in c1a2b23
fa-angle-xxx )
What changes do you think we should make in order to solve the problem?Here're the inconsistencies listed in the OP and the corresponding fix: Line 25 in d196a12
b. LHN border color: currently set here, needs to be updated to the greenBorders in NewDot Line 26 in d196a12
c. Text color: page-wide should be updated to the white color in NewDot Line 30 in d196a12
Similar updates should be done with the rest of the inconsistencies like the link hover color, ... (which are missed in the issue OP) if we want to fix it as part of this issue.
We need to replace all instances of the What alternative solutions did you explore? (Optional)NA |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expensify Help website color code and caret icons are not updated What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expensify Help website color code and caret icons are not updated What is the root cause of that problem?This caused because of old color values in https://github.com/Expensify/App/blob/d196a1217754ffab2e10ba28ba3c88f0b6391bf5/docs/_sass/_colors.scss What changes do you think we should make in order to solve the problem?We can update values in Regarding caret icon, we can change it to use new dot svg icon, but It will break consistency of using font awesome for help pages, and might clutter up html files with svg. But we can update color values and size of caret icon to match new dot design(in above image). What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expensify Help website color code and caret icons are not updated What is the root cause of that problem?Component hasn't been updated in a long time, not consistent with design changes. What changes do you think we should make in order to solve the problem?We need to update the colors in the colors.scss file. This has the be consistent with the ND colors defined in colors.js. Other than that, we need to update the caret icon that is used throughout the app to instead use the Expensify caret icon, included in In addition to this, we also need to do the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Expensify Help website color code and caret icons are not updated What is the root cause of that problem?The Expensify help website uses Font Awesome icons while the Expensify App uses icons from the The container housing the icon and text on the help website, when selected, is given a class of <div class="icon-with-link selected">
<i class="fa-solid fa-angle-down icon">...</i>
<span>Request money</span>
</div> Lines 274 to 278 in 8adee6b
What changes do you think we should make in order to solve the problem?I would add a descendant selector to the current setup inside .icon-with-link {
display: grid;
grid-template-columns: 40px auto;
cursor: pointer;
&.selected .fa-angle-down {
color: $color-white
}
} What alternative solutions did you explore? (Optional)
@shawnborton stated in an earlier comment that the caret icons used should be the ones inside the /App repo, therefore, the icons used in the Expensify Help website would need to be replaced with the ones in the Secondly, I observed using React Developer Tools on Chrome that these icons, arrow right at least, receive a This will potentially include using an |
@puneetlath The first proposal from @dukenv0307 looks good to get started. But other proposals looks good for contention here with some details And they have the following concerns as well
Are we good with above? Other one From @Prince-Mendiratta #17238 (comment) Final one from @Victor-Nyagudi the here suggesting to add fill for icon on selection. #17238 (comment) @puneetlath Let me know your thoughts here? |
I think it's fine for us to use svgs instead of the font-awesome icons. Agreed @shawnborton? If so, I'm also good with @dukenv0307's proposal. |
Yup, fontawesome is an external icon library that isn't part of our brand. We should use our own brand icons, which we already have available as svgs. We already have the caret icon in place, we just need to update the svg. |
Cool, let's go with @dukenv0307 then. Thanks everyone! |
📣 @dukenv0307 You have been assigned to this job by @puneetlath! |
@puneetlath, @shawnborton, @Santhosh-Sellavel, @dukenv0307 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Close to merge! |
@puneetlath, @shawnborton, @Santhosh-Sellavel, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this? |
Oh weird. This actually went live a week ago. Looks like Melvin didn't properly update the issue. |
Yes, I was about to comment the same! |
@dukenv0307 can you apply here? https://www.upwork.com/jobs/~01c6ce94e5c5aaf840 @Santhosh-Sellavel sent you a contract. |
@Santhosh-Sellavel has been paid. @dukenv0307 let me know when you've applied. |
@puneetlath I've applied, thanks! |
@dukenv0307 you still need to accept the contract offer. Then I can pay it. |
@puneetlath accepted! |
All paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
LHN color, border color and text color should get updated as in ND color values
Actual Result:
Not adjusted and caret icons are also to be updated.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.98-2
Reproducible in staging?: y
Reproducible in production?: y
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
Recording.193.mp4
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681136382590979
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: