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 2023-06-21] [HOLD for payment 2023-06-13] [$1000] Web - Chat - Tiny dots displayed in link name for message/link [([some])](https://google.com) #19646

Closed
1 of 6 tasks
kbecciv opened this issue May 26, 2023 · 45 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 26, 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!


Issue found when executing PR #19216

Action Performed:

  1. Login to NewDot
  2. open any chat
  3. Send a message ([some])

Expected Result:

Link name should be properly displayed

Actual Result:

Link name has tiny dots y each side

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • Windows/ Chrome
  • MacOS / Desktop

Version Number: 1.3.18.1

Reproducible in staging?: yes

Reproducible in production?: yes

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

https://platform.applause.com/services/links/v1/external/e3fdf4ff0f7cba80fbc71cca478f3bd9258dc24d7581d2e73445d43a8de640fe

https://platform.applause.com/services/links/v1/external/71f0c644a8455e916d3e34302c5cbee88f362afa2462b29c500071edbee95ba4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ba74c4f4301a7d85
  • Upwork Job ID: 1663970460633702400
  • Last Price Increase: 2023-05-31
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 26, 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

@hungvu193
Copy link
Contributor

that's dot is actually the text decoration line, because by default browsers will “skip” areas where the “ink” of a character crosses an underline. We can fix this issue by adding the text-decoration-skip-ink: none; to our a tag but this property is not really supportive all the browsers so I'm not sure if we should fix this issue.
Screenshot 2023-05-26 at 13 56 44

Browser compatibility

@spcheema
Copy link
Contributor

spcheema commented May 26, 2023

Proposed solution

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

Tiny dots displayed in link name for message/link ([some])

What is the root cause of that problem?

Dots appear because of text decoration line text underline is cut by special characters due to their height.

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

It can fixed with text-underline-position: under css property. Solution This way browser’s rendering engine will take care of it. It’s supported by all latest browsers.

Additionally, set text-decoration-skip-ink: none; to make sure extended height char like j, g,p, y also renders perfectly.

Solution

Browser support

Also see Can I Use

Can I Use

What alternative solutions did you explore? (Optional)
N/A

@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

📣 @spcheema! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@melvin-bot melvin-bot bot added the Overdue label May 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 29, 2023

@michaelhaxhiu Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@michaelhaxhiu michaelhaxhiu added the External Added to denote the issue can be worked on by a contributor label May 31, 2023
@melvin-bot melvin-bot bot changed the title Web - Chat - Tiny dots displayed in link name for message/link [([some])](https://google.com) [$1000] Web - Chat - Tiny dots displayed in link name for message/link [([some])](https://google.com) May 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 31, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01ba74c4f4301a7d85

@melvin-bot
Copy link

melvin-bot bot commented May 31, 2023

Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented May 31, 2023

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

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

melvin-bot bot commented May 31, 2023

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

@michaelhaxhiu
Copy link
Contributor

Weird, let's fix it. Should be low effort and already got some proposals above.

@melvin-bot melvin-bot bot removed the Overdue label May 31, 2023
@towkir
Copy link

towkir commented May 31, 2023

@michaelhaxhiu is this available for external contributors?
If so, do I have to submit a new proposal or can work / submit PR based on the existing ones?
Thanks

@narefyev91
Copy link
Contributor

@michaelhaxhiu @PauloGasparSv proposal of @spcheema looks good to me

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 3, 2023

📣 @spcheema You have been assigned to this job by @michaelhaxhiu!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@michaelhaxhiu
Copy link
Contributor

@towkir check out this page for guidance on how it works to propose a solution for a job. Contributor only work on a PR after being selected for their proposal.

https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md

@spcheema
Copy link
Contributor

spcheema commented Jun 4, 2023

Hi @michaelhaxhiu I have applied for the job on upwork yesterday. I will have PR ready in soon (ideally 1-2 days)

@spcheema
Copy link
Contributor

spcheema commented Jun 4, 2023

Contributor details
Your Expensify account email: mannecheema@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01f7b921c5dd619819

@melvin-bot
Copy link

melvin-bot bot commented Jun 4, 2023

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@melvin-bot
Copy link

melvin-bot bot commented Jun 6, 2023

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:

  • [@narefyev91] The PR that introduced the bug has been identified. Link to the PR:
  • [@narefyev91] 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:
  • [@narefyev91] 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:
  • [@narefyev91] Determine if we should create a regression test for this bug.
  • [@narefyev91] 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.
  • [@michaelhaxhiu] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@Pujan92
Copy link
Contributor

Pujan92 commented Jun 7, 2023

@spcheema @narefyev91 @PauloGasparSv Seems a regression issue from this PR. Slack link

Simulator Screen Shot - iPhone 14 - 2023-06-08 at 00 16 34

@spcheema
Copy link
Contributor

spcheema commented Jun 7, 2023

@Pujan92 it's warning (not error) from react native compiler that text property isn't supported since anchor is rendering as a text element on iOS platform. That's why this wasn't fixed in iOS devices. As explained here #20147 (comment)

@spcheema
Copy link
Contributor

spcheema commented Jun 7, 2023

@spcheema @narefyev91 @PauloGasparSv otherwise we can exclude styles for iOS explicitly but when these properties are supported in future we need to raise a new PR.

@Pujan92
Copy link
Contributor

Pujan92 commented Jun 8, 2023

@spcheema I think this needs to be resolved as we usually avoid warnings too. For the cursor prop warnings solution, we do have separate style files.

@PauloGasparSv
Copy link
Contributor

@spcheema I think this needs to be resolved as we usually avoid warnings too. For the cursor prop warnings solution, we do have separate style files.

I agree, thks for the help here @Pujan92! I don't think we caught that warning in reviews : )

we can exclude styles for iOS explicitly but when these properties are supported in future we need to raise a new PR.

@spcheema I think that's the way to go! Could you please create a follow up P.R. that fixes that warning on iOS?

@spcheema
Copy link
Contributor

spcheema commented Jun 8, 2023

@PauloGasparSv PR is on the way. Testing android right now. We may have to exclude Android along with iOS

@spcheema spcheema mentioned this issue Jun 8, 2023
57 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Daily KSv2 Weekly KSv2 and removed Weekly KSv2 Daily KSv2 labels Jun 8, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-06-13] [$1000] Web - Chat - Tiny dots displayed in link name for message/link [([some])](https://google.com) [HOLD for payment 2023-06-21] [HOLD for payment 2023-06-13] [$1000] Web - Chat - Tiny dots displayed in link name for message/link [([some])](https://google.com) Jun 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.27-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 2023-06-21. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jun 14, 2023

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:

  • [@narefyev91] The PR that introduced the bug has been identified. Link to the PR:
  • [@narefyev91] 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:
  • [@narefyev91] 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:
  • [@narefyev91] Determine if we should create a regression test for this bug.
  • [@narefyev91] 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.
  • [@michaelhaxhiu] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@spcheema
Copy link
Contributor

spcheema commented Jun 20, 2023

@narefyev91 @michaelhaxhiu @PauloGasparSv friendly reminder about this issue. Thank you 🙏🏼

@narefyev91
Copy link
Contributor

@spcheema
Copy link
Contributor

@PauloGasparSv I am still new to the process. This is my first issue. I am not sure what's the next step once PR is merged and pushed to prod #19646 (comment).

@PauloGasparSv
Copy link
Contributor

@PauloGasparSv I am still new to the process. This is my first issue. I am not sure what's the next step once PR is merged and pushed to prod #19646 (comment).

Since the last "deployed to production" message states payment should be due today I think we just need to wait on @michaelhaxhiu for compensation

@michaelhaxhiu
Copy link
Contributor

Ok so just to be clear... there was 1 regression is that right? I am asking so that I can sort out the correct payment amounts.

@PauloGasparSv
Copy link
Contributor

Ok so just to be clear... there was 1 regression is that right? I am asking so that I can sort out the correct payment amounts.

Yes @michaelhaxhiu, we had 1 regression mentioned here and fixed by #20462!

@michaelhaxhiu
Copy link
Contributor

michaelhaxhiu commented Jun 22, 2023

Ok so the payout would be:

  • contributor = $1000
  • C+ = $500 (50% dock for regression) jk no payment because Nicolay is contracted via callstack

@spcheema
Copy link
Contributor

@michaelhaxhiu I am not sure about but referring to @narefyev91 comment here

Determine if we should create a regression test for this bug - no needs - it was mostly clean up for warnings

But yet @narefyev91 @PauloGasparSv can answer this question since I am new to this one.

@spcheema
Copy link
Contributor

@michaelhaxhiu I have already applied to the job on Upwork

@michaelhaxhiu
Copy link
Contributor

paid.

@spcheema
Copy link
Contributor

Thank you Michael @PauloGasparSv @narefyev91

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
None yet
Development

No branches or pull requests

8 participants