Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.64k stars 2.93k forks source link

[HOLD facebook/react-native#37397][$1000] Back ticks aren't centered vertically #8132

Closed mvtglobally closed 11 months ago

mvtglobally commented 2 years ago

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:

  1. Send few messages with back ticks

Expected Result:

Back ticks should be centered vertically

Actual Result:

Back ticks aren't centered vertically

Workaround:

unknown

Platform:

Where is this issue occurring?

Version Number: 1.1.42-2 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Image from iOS (11)

Expensify/Expensify Issue URL: Issue reported by: @AndrewGable Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1646420349264159 Upwork: https://www.upwork.com/jobs/~01be27e71047382c31

View all open jobs on GitHub

MelvinBot commented 2 years ago

Triggered auto assignment to @stitesExpensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot commented 2 years ago

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

MelvinBot commented 2 years ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (Exported)

MelvinBot commented 2 years ago

Current assignee @stitesExpensify is eligible for the Exported assigner, not assigning anyone new.

mallenexpensify commented 2 years ago

Posted https://www.upwork.com/jobs/~012344f1febdbac925

Phantom-2 commented 2 years ago

Proposal

in src/styles/styles.js

        code: {
            ...baseCodeTagStyles,
            ...codeStyles.codeTextStyle,
            paddingLeft: 5,
            paddingRight: 5,
            fontFamily: fontFamily.MONOSPACE,
            fontSize: 13,
+           paddingTop:1,

        },

        img: {
            borderColor: themeColors.border,
            borderRadius: variables.componentBorderRadiusNormal,
            borderWidth: 1,
        },

Simulator Screen Shot - iPhone 13 - 2022-03-16 at 13 11 28

mallenexpensify commented 2 years ago

@Phantom-2 , apologies for the delay, @Santhosh-Sellavel can you please review the proposal above?

Santhosh-Sellavel commented 2 years ago

Sorry I didn’t leave a comment earlier. This would make some unintended style break in other platforms.

Santhosh-Sellavel commented 2 years ago

Also, I tried to reproduce this on my end today, it's not occurring for me.

Can you check on the latest staging or production build, is the issue still occurring for you? @AndrewGable

If reproducible, share me device modal & iOS version, thanks!

cc: @mallenexpensify @stitesExpensify

AndrewGable commented 2 years ago

@mvtglobally - Can you have some testers try to reproduce? If if it's not reproducible, agree let's close.

stitesExpensify commented 2 years ago

@mvtglobally was this reproducible?

Santhosh-Sellavel commented 2 years ago

@mvtglobally Any update on this?

mallenexpensify commented 2 years ago

Pinged @mvtglobally in NewDot to take a look

mvtglobally commented 2 years ago

checking, Sorry for the delay. for some reason I missed this one.

mvtglobally commented 2 years ago

Looks like I was unsubscribed from this issue alerts. I did not mean this. Trying this right now, I am not able to use back-ticks on the multiline or paragraphs. If you use straight text, it is looking aligned

Screen Shot 2022-04-20 at 12 30 38 PM

AndrewGable commented 2 years ago

Can you test on iOS?

mvtglobally commented 2 years ago

@AndrewGable Same on iOS. Are you able to repro? image

AndrewGable commented 2 years ago

Yes, what version are you on?

bug version
IMG_6909 IMG_6910
mvtglobally commented 2 years ago

Very interesting @AndrewGable. Can you give me exact text copy you are using to try maybe? I am on IOS 15.4 / iPhone 12 Pro https://user-images.githubusercontent.com/43995119/164292982-aff1392b-c20d-4fbd-b375-9edc3aa36190.MOV

AndrewGable commented 2 years ago

I am on iPhone 13 Pro 15.4.1 - Using the same copy it's still misaligned

IMG_6913

mvtglobally commented 2 years ago

Asking team to try different devices/OS if anyone can repro. Your above screenshot looks much more aligned comparing to the earlier one

Santhosh-Sellavel commented 2 years ago

@AndrewGable @mvtglobally I was able to reproduce this one finally. While changing system font size the issue occurs

Check the video in the thread here

AndrewGable commented 2 years ago

Ohhh yes - I do have a smaller font size set on my iOS device.

Santhosh-Sellavel commented 2 years ago

@AndrewGable This could break a lot of other UI in the app. Ex: IMG_06BFDC1ACA9B-1

Santhosh-Sellavel commented 2 years ago

Should look for any related issues, combine them, and handle them. Or maybe we can perform an audit to find issues in these cases.

@AndrewGable

AndrewGable commented 2 years ago

I think we should bring this up in the open source room and decide if it's something we want to full tackle or not.

Santhosh-Sellavel commented 2 years ago

Started a thread here

AndrewGable commented 2 years ago

Thank you very much @Santhosh-Sellavel!

stitesExpensify commented 2 years ago

@Santhosh-Sellavel any update here?

Santhosh-Sellavel commented 2 years ago

Can you put this on hold, this related to #7541

mallenexpensify commented 2 years ago

Put on hold, added Planning label and removed Help Wanted label. @stitesExpensify , chime in if you disagree

Santhosh-Sellavel commented 2 years ago

Not overdue, on hold.

mallenexpensify commented 2 years ago

Bumped to Monthly since on hold

stitesExpensify commented 2 years ago

On hold, not overdue

stitesExpensify commented 2 years ago

hold

stitesExpensify commented 2 years ago

Still on hold. Posted here for an update

Santhosh-Sellavel commented 2 years ago

On hold.

mallenexpensify commented 2 years ago

Added #7541 to hold in title, checked on it too, PR hasn't been updated for it in two weeks https://github.com/Expensify/App/issues/7541

melvin-bot[bot] commented 2 years ago

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

mallenexpensify commented 2 years ago

@sonialiap Reassigning as I'm heading OOO for a month

stitesExpensify commented 2 years ago

Moved this back to monthly

sonialiap commented 1 year ago

on hold

Santhosh-Sellavel commented 1 year ago

This one can come off hold as #7541 is closed now. The issue is still reproducible, let's open this for proposals.

stitesExpensify commented 1 year ago

Off hold!

trjExpensify commented 1 year ago

Let’s make sure to update labels when we take issues off hold. Minimally, we should remove planning and re-add Daily and Help wanted

MelvinBot commented 1 year ago

⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

mountiny commented 1 year ago

Context here

fabioh8010 commented 1 year ago

Hi, I'm Fábio from Callstack and I would like to work in this issue.

MelvinBot commented 1 year ago

📣 @fabioh8010 You have been assigned to this job by @mountiny! 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 📖

sonialiap commented 1 year ago

The original Upwork post got closed, here's the new one https://www.upwork.com/jobs/~01be27e71047382c31