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-07-02] [$125] Web - Markdown - Quote line becomes invisible when hovering over it #41901

Open
1 of 6 tasks
kbecciv opened this issue May 9, 2024 · 76 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented May 9, 2024

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.72-0
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: Applause - Internal Team

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Create an expense with a quote mark down description
  3. Go to expense details page and hover over the description

Expected Result:

The quote line has different color from the hover effect and becomes visible while hovering

Actual Result:

The quote line becomes invisible because of having the same color as the hover effect color

Workaround:

n/a

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

Bug6475639_1715243913757.bandicam_2024-05-09_11-29-20-162.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019cfcf6cb0e02864c
  • Upwork Job ID: 1788623606867111936
  • Last Price Increase: 2024-06-10
  • Automatic offers:
    • rojiphil | Reviewer | 0
Issue OwnerCurrent Issue Owner: @CortneyOfstad
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 9, 2024
Copy link

melvin-bot bot commented May 9, 2024

Triggered auto assignment to @CortneyOfstad (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.

@kbecciv
Copy link
Author

kbecciv commented May 9, 2024

We think that this bug might be related to #vip-vsb

@kbecciv
Copy link
Author

kbecciv commented May 9, 2024

@CortneyOfstad 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.

@dragnoir
Copy link
Contributor

dragnoir commented May 9, 2024

Proposal

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

Markdown - Quote line becomes invisible when hovering over it

What is the root cause of that problem?

We use the same color for the markdown vertically bar as we do for the hover background

App/src/styles/index.ts

Lines 175 to 176 in 807c945

blockquote: {
borderLeftColor: theme.border,

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

We need to change the color of the blockquote border to something bolder or lighter, the design team can decide

POC with using dark grey:

20240509_143919.mp4

@CortneyOfstad
Copy link
Contributor

Was able to recreate without issue

2024-05-09_12-32-57.mp4

@CortneyOfstad CortneyOfstad added the External Added to denote the issue can be worked on by a contributor label May 9, 2024
@melvin-bot melvin-bot bot changed the title Web - Markdown - Quote line becomes invisible when hovering over it [$250] Web - Markdown - Quote line becomes invisible when hovering over it May 9, 2024
Copy link

melvin-bot bot commented May 9, 2024

Job added to Upwork: https://www.upwork.com/jobs/~019cfcf6cb0e02864c

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

melvin-bot bot commented May 9, 2024

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

@isogit123
Copy link
Contributor

isogit123 commented May 10, 2024

Proposal

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

The Markdown quote line disappears when hovering over it.

What is the root cause of that problem?

The quote line and the hover background have the same colour as obvious below:

App/src/styles/index.ts

Lines 175 to 176 in 807c945

blockquote: {
borderLeftColor: theme.border,

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

Define a separate colour to be used for the blockquote.
In the ThemeColors type, add a property for example by adding blockquote: Color; to the object.
After that, in both the darkTheme and lightTheme objects, define a color to be used for the blockquote for example blockquote: colors.productDark600, for the darkTheme and blockquote: colors.productLight600, for the lightTheme.
Lastly, replace theme.border with theme.blockquote in:

App/src/styles/index.ts

Lines 175 to 176 in 807c945

blockquote: {
borderLeftColor: theme.border,

and

App/src/styles/index.ts

Lines 3221 to 3222 in 807c945

blockquote: {
borderLeftColor: theme.border,

and

blockquote: {
borderColor: theme.border,

Here is a POC after applying the solution:

Recording.2024-05-10.191549.mp4

Contributor details:
Your Expensify account email: aboutabl6@gmail.com
Upwork Profile Link: https://www.upwork.com/fl/islama33

Copy link

melvin-bot bot commented May 14, 2024

@rojiphil, @CortneyOfstad Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot melvin-bot bot added the Overdue label May 14, 2024
@CortneyOfstad
Copy link
Contributor

@rojiphil we have a proposal here. Can you provide feedback by EOD today please?

@rojiphil
Copy link
Contributor

Thanks for your proposals. Both proposals point out the correct root cause i.e. quote line and hover background color are the same. The solution is also straightforward i.e. change the blockquote color to something else in consultation with the design team.
Since @dragnoir was the first to identify the root cause and the solution, his proposal LGTM.
Also, since the solution did not involve any logical implementation and only involved changing color it is fine not to give a detailed solution.
🎀👀🎀 C+ reviewed

Copy link

melvin-bot bot commented May 14, 2024

Triggered auto assignment to @MonilBhavsar, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@MonilBhavsar MonilBhavsar changed the title [$250] Web - Markdown - Quote line becomes invisible when hovering over it [$125] Web - Markdown - Quote line becomes invisible when hovering over it May 15, 2024
Copy link

melvin-bot bot commented May 15, 2024

Upwork job price has been updated to $125

@MonilBhavsar
Copy link
Contributor

MonilBhavsar commented May 15, 2024

Updating the price since it is minor issue and fix cc @CortneyOfstad

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 15, 2024
Copy link

melvin-bot bot commented May 15, 2024

📣 @rojiphil 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented May 15, 2024

📣 @dragnoir You have been assigned to this job!
Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs!
Keep in mind: Code of Conduct | Contributing 📖

@CortneyOfstad
Copy link
Contributor

Updating the price since it is minor issue and fix cc @CortneyOfstad

Thanks @MonilBhavsar!

@melvin-bot melvin-bot bot added the Weekly KSv2 label Jun 19, 2024
@isogit123
Copy link
Contributor

PR is ready.
#43969

@isogit123
Copy link
Contributor

I created a new PR to merge with the latest changes without conflicts.

#43987

Copy link

melvin-bot bot commented Jun 22, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@isogit123
Copy link
Contributor

isogit123 commented Jun 22, 2024

I think the PR caused a regression here #44211
I can't verify that because I don't see the "Book Travel" option after clicking the FAB. Is there something that I'm missing here?

image

@rojiphil
Copy link
Contributor

I can't verify that because I don't see the "Book Travel" option after clicking the FAB. Is there something that I'm missing here?

@isogit123 Yea. We missed considering the interactive hover case. Book Travel is beta feature. You can return true here and you will be able to see this. Can you please bring up a PR for this?

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 23, 2024
@melvin-bot melvin-bot bot changed the title [$125] Web - Markdown - Quote line becomes invisible when hovering over it [HOLD for payment 2024-07-02] [$125] Web - Markdown - Quote line becomes invisible when hovering over it Jun 25, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 25, 2024
Copy link

melvin-bot bot commented Jun 25, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jun 25, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-07-02. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jun 25, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@rojiphil] The PR that introduced the bug has been identified. Link to the PR:
  • [@rojiphil] 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:
  • [@rojiphil] 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:
  • [@rojiphil] Determine if we should create a regression test for this bug.
  • [@rojiphil] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@CortneyOfstad
Copy link
Contributor

@rojiphil can you please have the checklist done by EOD so there is no delay in issuing payment? Thank you!

@CortneyOfstad
Copy link
Contributor

@rojiphil any update on the checklist?

Also, @isogit123 I am having trouble finding your Upwork profile. Can you please link it here so I can send a proposal to you for payment? Thank you!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 2, 2024
@isogit123
Copy link
Contributor

@CortneyOfstad https://www.upwork.com/freelancers/~011b9b21b42a676c99

@CortneyOfstad
Copy link
Contributor

Thank you @isogit123! For some reason the original job post was not letting me search for you so I had to manually send you an offer which can be found here. Let me know once you accept and I can get that paid ASAP. Thank you!

@isogit123
Copy link
Contributor

@CortneyOfstad I accepted it. Thank you.

@CortneyOfstad
Copy link
Contributor

Also @rojiphil it looks like you still have not accepted your offer as well in Upwork. Please accept this as soon as you can so I can get that paid. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
Status: No status
Development

No branches or pull requests

7 participants