-
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-03-13] [$1000] No spacing/margins above and below a Codeblock #15299
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Slack comment here from Bondy saying it's not related to his PR. Back to the drawing board! |
Alright, I've identified a previous issue and PR (Slack comment). Asking about the next steps in-thread. |
Alright, this is not a regression. Moving to External! |
Job added to Upwork: https://www.upwork.com/jobs/~018d44cb79f9fd71df |
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 - @eVoloshchak ( |
Triggered auto assignment to @mountiny ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.No spacing/margins above and below a Codeblock What is the root cause of that problem?We aren't not defining any margin for the codeblock message which is resulting in this problem. What changes do you think we should make in order to solve the problem?We can fix this by setting What alternative solutions did you explore? (Optional) |
📣 @daraksha-dk! 📣 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.
Format:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing spacing above and below the code block. What is the root cause of that problem?The root cause for this is missing margins for the code block. What changes do you think we should make in order to solve the problem?We have to carefully add the margins in order to preserve the tab behaviour. Adding it here will sort of break the tab selection (screen shot attached). We should add the margins here instead. This will preserve the default tab behaviour that we have right now. Works well after the fix. What alternative solutions did you explore? (Optional)None |
I believe displaying outlines for messages is itself a bug, and it's not intentional to show them only for codeblocks within a message. There is no reason to use an outline here as those items are not actionable/interactable. However, since this is ultimately an accessibility issue, we are currently putting it on hold until we can address it properly. For reference:Production (NewDot)tab-bug.mp4Slack's treatmentslack-tab.mp4 |
This comment was marked as off-topic.
This comment was marked as off-topic.
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Thank you for your deep insight @daraksha-dk! I think this is needed because on mobile, we're making code blocks pressable. |
Thanks @eVoloshchak for the review thanks also to @daraksha-dk for the proposal but going with @allroundexperts feel free to raise a PR! Thanks! |
PR created. |
Hired @eVoloshchak and @allroundexperts |
@jliexpensify merged, this should be available for the bonus if no regression |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.78-0 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-03-13. 🎊 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:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
|
Sorry, I was at a conference the last 3 days - will look at payments now! |
Paid @allroundexperts and @eVoloshchak |
I'll get @mountiny to cast his eyes on #15299 (comment) and I'll whip up that GH |
@jliexpensify I think that looks good, but I also think we should include a screenshot to the steps if we can to make sure its easier for the tester to confirm it looks correct |
@allroundexperts - could you take a look at Vit's feedback and incorporate a screenshot into your Proposal? I'll get that GH sorted after that. |
@jliexpensify I'm not sure if I am understanding this correctly. Can you please explain what sort of screenshot you're looking for? TIA! |
@allroundexperts sorry, I cannot see any screenshot in the comment Basically any screenshot of how the spacing should look like correctly now would be good. |
@mountiny I thought you wanted that in my original issue Proposal 😅 . I've added it to my regression test proposal as well 🙏 |
Ahahah, nono, int he regression steps proposal, thank you! I think this is good to go now @jliexpensify |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
There should be space between the normal messages and codeblock.
Actual Result:
There's no spacing around the codeblock.
However, we want an 8 px margin above and below a codeblock.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.74-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:
Expensify/Expensify Issue URL:
Issue reported by: @cead22
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676670453605579
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: