-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-04-20] [$4000] Using a header (#) and a space or bold (*), then adding a code block results in the code block being bolded for a moment #15193
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Can reproduce in v1.2.72-0 as well. Seems to be occurring for Android (v1.2.71-1) as well. |
Job added to Upwork: https://www.upwork.com/jobs/~014c5422ceeae647ae |
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @roryabraham ( |
Just tested using GitHub comment. It should be displayed in bold right? |
@eh2077 - code blocks shouldn't be bold at all. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bold text appears temporarily, then reverts to normal text when sending What is the root cause of the problem?When the message is synched with the backend it's being changed from the original one:
Therefore the text flickering (from bold to regular) happens due to this change on the backend. What changes do you think we should make in order to solve the problem?To make sure everything is consistent I suggest to simply get rid of Bold property in the message before it's even rendered for the first time. What alternative solutions did you explore? (Optional)None |
ProposalPlease re-state the problem that we are trying to solve in this issue.Message turns bold temporarily when enclosed with a What is the root cause of that problem?The frontend parses the expression in a different way then the backend. Frontend encloses the What changes do you think we should make in order to solve the problem?We can change the ExpensiMark The new regex would look like the following:
The replacement part of this regex needs to be changed as well:
This works well after the fix. Screen.Recording.2023-02-16.at.2.07.00.PM.movWhat alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. Ignoring the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bold text appears temporarily, then reverts to normal text, when sending What is the root cause of that problem?The problem is related to the way the frontend and backend parse expressions, resulting in differences between the two. Specifically, the frontend sends What changes do you think we should make in order to solve the problem?To address the root cause of the problem, I recommend making the following changes:
I believe that the changes outlined above are the most effective and simple way to address the problem. Screen.Recording.2023-02-16.at.12.41.19.PM.movWhat alternative solutions did you explore? (Optional)None |
Not sure whether this is a valid bug here is what Github does Screen.Recording.2023-02-17.at.1.37.11.AM.mov |
@Santhosh-Sellavel Here's how it works on Slack. IMO, it makes more sense to not allow this behaviour. |
@allroundexperts Slack doesn't support |
You're right. My bad. |
Regardless of whether the code block must appears in bold or normal text, it should not inherit any styling from its parent element. The code block should maintain its own distinct styling and formatting. The code inside |
After reviewing how GitHub works, the code block does inherit its styling from its parent element. So, please disregard my last message. |
Triggered auto assignment to @maddylewis ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi @maddylewis - I'm OOO so assigning to you for the payment + list (here's the amounts) Upworks job is here: https://www.upwork.com/jobs/~014c5422ceeae647ae |
thank you so much for the clear instructions @jliexpensify! i will process these payments by EOD 👍 |
paid! |
Oh, payment is too early. PR didn't hit the production yet and should also wait for 7 days regression period. |
well, dammit. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.99-6 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-04-20. 🎊 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:
|
@maddylewis please close the upwork contract |
There's no PR caused regression so we can check off first 3 items. |
The regression period is over. No regressions found. Here's summary:
Total days elapsed: 13 business days (Mar 23 - Apr 11) |
okay, so it sounds like @aimane-chnaif and @situchan are both eligible for the 50% merge bonus. is that correct? would the bonus be 50% of the final payment or the original payment (ie, $500 or $2000)? |
final payment |
offers sent |
@maddylewis just a reminder to close the Upwork contract |
payments sent - i believe we are all set here. |
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:
You should see the code block go bold, then normal.
Expected Result:
A code block should not show bold text.
Actual Result:
Bold text appears temporarily, then reverts to normal text.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.72-0
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:
Screen.Recording.2023-01-06.at.3.11.31.PM.mov
Recording.1530.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1672998135151449
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: