-
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
[HOLD for payment 2023-06-07] does not bold the mention in heading style #18892
Comments
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
It's about the new mention style present in staging where it adds background to email |
ProposalPlease re-state the problem that we are trying to solve in this issue.Heading style (bold, bigger font size) is not applied to mention text. Also, other markdown style (bold, italic) is not applied to the mention on native. What is the root cause of that problem?We have a custom renderer for mention, MentionUserRenderer and MentionUserRenderer. In web, when we wrap the mention with bold markdown for example, the style will be inherited to the mention text. However, with heading text, we will have multiple nested element as you can see below. If you look at the css style, you can see the App/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js Lines 38 to 53 in b01caf6
But, even though we remove the outer Text, the In native, style is not inherited (except for nested text). What changes do you think we should make in order to solve the problem?We should append the mention style with the style from the props. App/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js Lines 43 to 47 in b01caf6
So, the new style will be
We need to do the same in MentionHereRenderer. |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. cc @thienlnam |
Current assignee @zanyrenney is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
thanks @bernhardoj lets get this reviewed by our team. |
Triggered auto assignment to @madmax330 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Mention in heading style doesn't bold. What is the root cause of that problem?When we use @ symbol to mention user in the comment, HTMLRenderer uses This component uses The root cause of this issue is in Lines 63 to 73 in 51dff31
What changes do you think we should make in order to solve the problem?We need to override the default
to the component style. Lines 51 to 57 in 51dff31
Resultmac_chrome_18892.mp4What alternative solutions did you explore? (Optional) |
hey @madmax330 let me know which proposal you think looks best. |
bump @madmax330 curious who you think we should hire for this job please! |
@aimane-chnaif can you review the proposals? |
@bernhardoj's proposal looks good to me. The root cause is well explained and solution is simple. cc: @madmax330 |
@aimane-chnaif |
@s-alves10 can you please focus first issue you assigned? As per contributing guideline, new contributors won't get assigned before first PR merged |
can we keep that for now? I don't want refund. |
@zanyrenney if you want refund, let's use that job for the compensation in #18872 |
Just chatting internally about the best thing to do here. |
Okay @bernhardoj and @aimane-chnaif - yep, we won't go the refund route, instead we will leave this with the payment done ahead of the PR being merged. I appreciate this is the incorrect order of things, so apologies. When the PR is merged we can handle penalty or bonus. Assigning @laurenreidexpensify who will watch over this whilst I am out of office. the upwork issue is here C+ and contributor have been paid. Thanks! |
🎯 ⚡️ Woah @aimane-chnaif / @bernhardoj, great job pushing this forwards! ⚡️ The pull request got merged within 2 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.20-5 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-07. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
@aimane-chnaif can you advise on the regression steps above? Thanks! |
Bonus payments issued to @aimane-chnaif @bernhardoj ✔️ Remaining Steps:
@zanyrenney I am OOO from tomorrow til 19 June so am going to unassign myself for you to cover those last 2 steps thanks |
Accepted |
Thanks @laurenreidexpensify |
@aimane-chnaif bump on the regression steps please so we can close this out. |
This bug was introduced while implementing new feature of mentions renderer. |
Agreed I don't think we need regression steps for this |
@zanyrenney pls complete the upwork contract |
remaining payout is complete for @chiragxarora and the reporting bonus. Closing this out now as all have been paid and no regression steps needed. |
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 results:
should bold the mention
Actual results:
padding is added but same font-weight in heading
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.13.4
Reproducible in staging?: y
Reproducible in production?:
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
bandicam.2023-05-13.02-13-21-094.mp4
Recording.601.mp4
Expensify/Expensify Issue URL:
Issue reported by: @chiragxarora
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683924161722189
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: