Skip to content
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 https://github.com/Expensify/react-native-live-markdown/pull/394][Live Markdown] Support inline code background style #39518

Open
thienlnam opened this issue Apr 3, 2024 · 31 comments
Assignees
Labels
Monthly KSv2 NewFeature Something to build that is a new item.

Comments

@thienlnam
Copy link
Contributor

https://expensify.slack.com/archives/C049HHMV9SM/p1712094742944359

Now that live markdown preview is out on production - let's add support for the background style for inline code

It should use the same font and background style, but currently doesn't.

image

@thienlnam thienlnam added Weekly KSv2 NewFeature Something to build that is a new item. labels Apr 3, 2024
@thienlnam thienlnam self-assigned this Apr 3, 2024
Copy link

melvin-bot bot commented Apr 3, 2024

Copy link

melvin-bot bot commented Apr 3, 2024

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

@thienlnam
Copy link
Contributor Author

Added to the main tracking issue as part of HIGH: #36071

@melvin-bot melvin-bot bot added the Overdue label Apr 11, 2024
@lschurr
Copy link
Contributor

lschurr commented Apr 11, 2024

Anything needed from BZ on this one @thienlnam?

@melvin-bot melvin-bot bot removed the Overdue label Apr 11, 2024
@thienlnam
Copy link
Contributor Author

Not at this time, we'll probably need payment to the C+ that reviews in the future but that's further away

@tomekzaw
Copy link
Contributor

tomekzaw commented Apr 12, 2024

We're working on it.

iOS

I've asked @maksg from SWM to implement the iOS part. Here's the draft PR to Live Markdown:

Android

@maksg from SWM is also working on the Android part.

Web

@Skalakid had a working PoC some time ago, I will ask him to submit a PR for web.

@lschurr
Copy link
Contributor

lschurr commented Apr 22, 2024

Any update @thienlnam @tomekzaw?

@melvin-bot melvin-bot bot removed the Overdue label Apr 22, 2024
@Skalakid
Copy link
Contributor

Hi @lschurr, @BartoszGrajdek is working on it

@BartoszGrajdek
Copy link
Contributor

Hi @lschurr so here's a quick update on what's happening:

There are 2 different blocks to handle here contrary to what the issue title/description may say namely: inline code & pre blocks (single / triple backticks).

Like we agreed here there will be some changes to ExpensiMark to limit the number of cases where the pre styling is applied - I have it roughly done, but we will likely need some additional refactors.

Currently, I'm working on implementing the pre block styles for web. That's a tricky case because of the limitations that the Live Markdown puts on us, but I'm trying to overcome it.

I'll keep you updated! 😄

@tomekzaw
Copy link
Contributor

As for the Android part, @maksg is working on it.

@melvin-bot melvin-bot bot added the Overdue label May 3, 2024
@quinthar
Copy link

quinthar commented May 4, 2024

Hi, what's the next step and ETA on this?

@tomekzaw
Copy link
Contributor

tomekzaw commented May 4, 2024

Here's the Android PR from @maksg:

Currently waiting for @BartoszGrajdek's PR for web

Next step: Complete PR for web

ETA: ~2 weeks

@melvin-bot melvin-bot bot removed the Overdue label May 4, 2024
@melvin-bot melvin-bot bot added the Overdue label May 13, 2024
@lschurr
Copy link
Contributor

lschurr commented May 13, 2024

Any update @BartoszGrajdek @tomekzaw?

@BartoszGrajdek
Copy link
Contributor

Status 10.06.2024

Didn't forget about this issue, right now we're solving some of the bugs that came up during the bump of react-native-live-markdown so I'm busy with that 👀

@BartoszGrajdek
Copy link
Contributor

Status 11.06.2024-13.06.2024

Giving an update here, since we have discussed this issue internally at length after encountering all of the regressions/bugs that we've been fighting for the past week. We think that the best course of action will be to wait temporarily for a refactor that @Skalakid is working on. This will allow us to implement a much cleaner solution on the web that won't be susceptible to regressions.

I'll try to regularly come back here and let you know what's going on 🙌🏻

@melvin-bot melvin-bot bot added the Overdue label Jun 21, 2024
@thienlnam thienlnam changed the title [Live Markdown] Support inline code background style [HOLD][Live Markdown] Support inline code background style Jun 24, 2024
@thienlnam
Copy link
Contributor Author

@BartoszGrajdek Is there a PR we can link to that we're waiting on?

@melvin-bot melvin-bot bot removed the Overdue label Jun 24, 2024
@BartoszGrajdek
Copy link
Contributor

Of course, here you go: Expensify/react-native-live-markdown#394 🙌🏻

@thienlnam thienlnam changed the title [HOLD][Live Markdown] Support inline code background style [HOLD https://github.com/Expensify/react-native-live-markdown/pull/394][Live Markdown] Support inline code background style Jun 25, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 3, 2024
@lschurr
Copy link
Contributor

lschurr commented Jul 3, 2024

On hold

@lschurr
Copy link
Contributor

lschurr commented Jul 15, 2024

Hold

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 23, 2024
@thienlnam
Copy link
Contributor Author

Held PR still in the works

@melvin-bot melvin-bot bot removed the Overdue label Jul 23, 2024
@thienlnam thienlnam added Monthly KSv2 Overdue and removed Weekly KSv2 labels Jul 23, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jul 23, 2024
@BartoszGrajdek
Copy link
Contributor

Hi! Adding an update here, since a few things have happened. 👀

As you know we already have the changes for Android/iOS prepared. At the beginning of this week, I finished a web implementation that I had been working on for the past ~2 weeks and it works really well in our refactored web component structure. That means everything's ready waiting for the refactor in question to get merged.

We're launching (hopefully) the last round of testing for the live markdown refactor PR and our current focus is to get it done ASAP. After that, if no regressions arise we'll work on merging all PRs inline-code / codefence related.

I'm OOO together with @Skalakid till 12.08, so I'll update you once we're back and know the test results. 🙌

@melvin-bot melvin-bot bot added the Overdue label Sep 2, 2024
@lschurr
Copy link
Contributor

lschurr commented Sep 2, 2024

Anything new @BartoszGrajdek or are we still on hold?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Sep 2, 2024
@dangrous
Copy link
Contributor

dangrous commented Sep 3, 2024

shush melvin

@melvin-bot melvin-bot bot removed the Overdue label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monthly KSv2 NewFeature Something to build that is a new item.
Projects
Status: HIGH
Development

No branches or pull requests

7 participants