-
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 #27913] [$1000] Different font sizes in inline and multi-line codeblock #18866
Comments
Triggered auto assignment to @miljakljajic ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Different font size for inline and multiline code block What is the root cause of that problem?The root cause is that we're setting a font size of What changes do you think we should make in order to solve the problem?We need to change the font size defined here to We can add this to What alternative solutions did you explore? (Optional)None |
I'm OOO - this was assigned after I signed off. Reassigning. Thank you! |
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Odd. I'm surprised this is the case, though to double check, @shawnborton is there a particular reason for this? I'm triaging in any case to keep the issue moving while I'm at a conference. |
Job added to Upwork: https://www.upwork.com/jobs/~01db882fab4bc53c2d |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @iwiznia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Different font sizes in inline and multi-line codeblock What is the root cause of that problem?We're explicitly setting fontSize for inline code here Line 123 in 811c0f3
What changes do you think we should make in order to solve the problem?We should remove this fontSize line. So it will reuse the fontSize of base here Line 144 in 811c0f3
What alternative solutions did you explore? (Optional)Instead of remove, we can set fontSize in line to
So it will calculate fontSize normal in different device |
I'm not sure if there was a good reason, maybe that it was hard to make the text wrap multiple lines and look good in line with normal text if the font size was 15 for inline code? Either way, I would love to see some proposals of how we could pull it off. |
@phuchoang23 Did you check the solution on Android or iOS? Can you paste screenshots here? Shawn is correct. It was hard to show correct spacing between lines on native platforms which contains inline code blocks. Thus we chose this size. |
@parasharrajat Yes. I have tested both of IOS and Android. Here is my results |
Can you try creating a paragraph of few lines which vhs inline code blocks at multiple places? |
Still holding |
@shawnborton Could you please help us decide the desired results here? Problem:
But if we do this change the native and web platforms will have different font sizes for inline code blocks. What do you suggest? |
Hmm I think I would rather just make all of the inline code and code blocks use 13px. Our mono font optically feels "bigger" than our regular font, so I think it's okay if we back it down to feel balanced with regular text. Is that possible? Can you also share screenshots of what is going on here - I am a bit out of the loop with the issue. cc @Expensify/design for visibility too. |
Totally agree Shawn, I think that sounds like a good course of action here. |
Looks like we are already doing this. So this issue is technically solved. |
@JmillsExpensify We can close this issue. Is this eligible for partial C+ payment(25%) for proposal review? It has been on hold for long. |
Especially agree with the point above |
Bump @JmillsExpensify |
Did we go with Shawn's solution yet? |
Along with the bug bounty right? |
@JmillsExpensify Shawn's solution is already in place so no change is needed . |
@JmillsExpensify Bump. |
@JmillsExpensify Friendly reminder for #18866 (comment) |
Payment summary:
|
Hello @JmillsExpensify |
Yes, I'm working on it. Hold tight |
Just sent you an offer. |
Accepted! |
No worries. @parasharrajat please make sure that we have a regression test in place before requesting payment. Thanks all! |
Regression Test Steps
Do you agree 👍 or 👎 ? |
Payment requested as per #18866 (comment) |
Payment summary: Bug report: $250 @chiragxarora via Upwork |
$250 approved for @parasharrajat |
P.S. Created the issue for the regression test. |
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:
same font size in both
Actual results:
different font size in each
Platform: chrome web desktop
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
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: Any additional supporting documentation
bandicam.2023-05-11.22-17-23-040.mp4
Recording.585.mp4
Expensify/Expensify Issue URL:
Issue reported by:@chiragxarora
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683823629262529
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: