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

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

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!

@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!

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 3, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-02] [$125] Web - Markdown - Quote line becomes invisible when hovering over it [HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] [$125] Web - Markdown - Quote line becomes invisible when hovering over it Jul 3, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-10. 🎊

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

Copy link

melvin-bot bot commented Jul 3, 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:

@rojiphil rojiphil mentioned this issue Jul 5, 2024
59 tasks
@rojiphil
Copy link
Contributor

rojiphil commented Jul 5, 2024

  • [@rojiphil] The PR that introduced the bug has been identified. Link to the PR: Offending 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: Added 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: Not Required. Existing checklist is good enough to capture such issues.
  • [@rojiphil] Determine if we should create a regression test for this bug. : Since the changes are related to styling in menu item which is widely used, this is prone to regression. Let’s add regression test case for this.
  • [@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.
  1. Create an expense with a quote mark down description.
  2. Go to expense details page and hover over the description.
  3. Verify that the quote line is visible while hovering.

@rojiphil
Copy link
Contributor

rojiphil commented Jul 5, 2024

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!

@CortneyOfstad Completed BZ checklist. I could not accept the offer as it expired. Can you please send a fresh offer for this? Thanks.

@CortneyOfstad
Copy link
Contributor

Sorry, was OoO — @rojiphil sent you an updated offer. Let me know once you accept and I can get that paid ASAP tomorrow. Thank you!

@rojiphil
Copy link
Contributor

rojiphil commented Jul 9, 2024

sent you an updated offer. Let me know once you accept and I can get that paid ASAP tomorrow.

@CortneyOfstad Offer Accepted. Thanks

@CortneyOfstad
Copy link
Contributor

@isogit123 I am having trouble finding you in Upwork to send you the proposal. Can you share your Upwork profile and I'll get the proposal sent over ASAP to get it paid. Thank you!

@isogit123
Copy link
Contributor

@CortneyOfstad I have already received a $125 offer from you. Did you increase the bounty?

@CortneyOfstad
Copy link
Contributor

@isogit123 I don't see the offer — can you link me your Upwork profile?

@isogit123
Copy link
Contributor

@CortneyOfstad
Copy link
Contributor

Thanks @isogit123! I checked Upwork and was able to find the proposal, but it is waiting for you to accept. Once that is done, I can get this paid for you ASAP. Thanks!

@isogit123
Copy link
Contributor

isogit123 commented Jul 11, 2024

@CortneyOfstad I received an offer of $125 on thr 2nd of July, and it was paid successfully as illustrated in the attached photo.
Now, I received the same offer again, Do I accept that too?Screenshot_20240711_222146_Upwork Talent.jpg

@CortneyOfstad
Copy link
Contributor

That is so weird — there is no history of that in Upwork anywhere. However, if you were already paid, then no worries, I will retract the original offer.

I am so sorry for the confusion here! Upwork is not being cooperative 😂

@CortneyOfstad
Copy link
Contributor

Okay, now that it is sorted, moving forward with posting the Payment Summary

@CortneyOfstad
Copy link
Contributor

Payment Summary

@isogit123 — paid $125 via Upwork
@rojiphil — paid $125 via Upwork

Regression Test

https://github.com/Expensify/Expensify/issues/412157

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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

7 participants