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 for Payment] HIGH: [Live Markdown] [$500] Fix inline image syntax in live markdown #39275

Closed
quinthar opened this issue Mar 29, 2024 · 25 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@quinthar
Copy link
Contributor

quinthar commented Mar 29, 2024

Problem:

We recently added the ability for "live markdown preview" meaning that we would preview the HTML formatting that the markdown generates. However, simultaneously we added a new markdown format: inline images (#37246). Right now there is a conflict where if you write the inline image format, it throws an exception:

Image

Solution:

Fix the live markdown previewer to show the inline image.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017e2d18591b5166e5
  • Upwork Job ID: 1773774252438794240
  • Last Price Increase: 2024-04-05
@quinthar quinthar converted this from a draft issue Mar 29, 2024
@tomekzaw
Copy link
Contributor

I would like to work on it

@quinthar quinthar added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

Job added to Upwork: https://www.upwork.com/jobs/~017e2d18591b5166e5

@melvin-bot melvin-bot bot changed the title HIGH: [Live Markdown] Fix inline image syntax in live markdown [$500] HIGH: [Live Markdown] Fix inline image syntax in live markdown Mar 29, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (External)

Copy link

melvin-bot bot commented Mar 29, 2024

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

@quinthar quinthar changed the title [$500] HIGH: [Live Markdown] Fix inline image syntax in live markdown HIGH: [Live Markdown] [$500] Fix inline image syntax in live markdown Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@tomekzaw
Copy link
Contributor

tomekzaw commented Mar 29, 2024

Adding support for parsing inline images in Live Markdown: Expensify/react-native-live-markdown#256

Currently blocked on Expensify/expensify-common#661 (comment)

@sakluger
Copy link
Contributor

sakluger commented Apr 2, 2024

Hey @tomekzaw - what is the status here? Still blocked?

@melvin-bot melvin-bot bot removed the Overdue label Apr 2, 2024
@quinthar
Copy link
Contributor Author

quinthar commented Apr 2, 2024

Yep, curious for an ETA.

@tomekzaw
Copy link
Contributor

tomekzaw commented Apr 3, 2024

We're still discussing the changes on the ExpensiMark side here: Expensify/expensify-common#661 (comment)

We should be able to add support for inline image syntax highlighting by EOW.

As for rendering an actual image underneath the text, we'll need some more time (we will track its progress in a separate issue) cc @thienlnam

@thienlnam thienlnam self-assigned this Apr 3, 2024
@thienlnam
Copy link
Contributor

thienlnam commented Apr 3, 2024

As for rendering an actual image underneath the text, we'll need some more time (we will track its progress in a separate issue) cc @thienlnam

Yeah this would be a new feature - I'll create a new issue so we can track that

EDIT: Actually, I don't think we actually want this to happen. Is this referencing actually rendering the image below the live markdown within the composer? I think if we just fix the syntax formatting here that's about to the extent we want to update this

Copy link

melvin-bot bot commented Apr 5, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@tomekzaw
Copy link
Contributor

tomekzaw commented Apr 5, 2024

I think if we just fix the syntax formatting here that's about to the extent we want to update this

That's right, fixing the syntax formatting is the number one priority here.

I've asked @robertKozik to take over this task as it requires some small changes in ExpensiMark (already discussing that with @kidroca in Expensify/expensify-common#661 (comment)).

ETA: early next week

Yeah this would be a new feature - I'll create a new issue so we can track that

I agree with that rendering an actual image is a separate new feature; we'll need some designs and guidelines for that.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Apr 5, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Overdue labels Apr 9, 2024
@thienlnam thienlnam removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 11, 2024
@shubham1206agra
Copy link
Contributor

Linking the comment here. #39905 (comment)

@thienlnam
Copy link
Contributor

We ended up bumping the version in a different PR, but @shubham1206agra went through a complete review so we should pay them for that

@shubham1206agra
Copy link
Contributor

@tomekzaw Can you confirm that is there anything else remaining on this issue?

@tomekzaw
Copy link
Contributor

tomekzaw commented Apr 16, 2024

@shubham1206agra I confirm that inline image syntax is already working as expected on current main so there's nothing left to do for this issue.

Screenshot 2024-04-16 at 08 31 28 Screenshot 2024-04-16 at 08 31 20 Screenshot 2024-04-16 at 08 30 53

Thanks @kidroca for your changes in expensify-common and @robertKozik for your changes in Live Markdown!

FYI Inline image preview is tracked separately as a new feature in #40181.

@quinthar
Copy link
Contributor Author

Great, can we close this?

@shubham1206agra
Copy link
Contributor

@quinthar Payment is left here.

@shubham1206agra
Copy link
Contributor

@sakluger Can you start payment process here?

@sakluger
Copy link
Contributor

Handling payment now.

@sakluger
Copy link
Contributor

I'm having a hard time following the GH issue. @shubham1206agra where is the PR that you reviewed? And was there a deploy blocker caused by this issue's PR?

@sakluger sakluger added Daily KSv2 and removed Weekly KSv2 labels Apr 29, 2024
@sakluger sakluger changed the title HIGH: [Live Markdown] [$500] Fix inline image syntax in live markdown [HOLD for Payment] HIGH: [Live Markdown] [$500] Fix inline image syntax in live markdown Apr 29, 2024
@shubham1206agra
Copy link
Contributor

@sakluger
Copy link
Contributor

Okay, sounds like only @shubham1206agra is due payment. I've summarized it below. @shubham1206agra please let me know once you've accepted the offer.

Summarizing payment on this issue:

Contributor+: @shubham1206agra $500, sent offer via Upwork (https://www.upwork.com/nx/wm/offer/102102445)

@shubham1206agra
Copy link
Contributor

@sakluger Accepted offer.

@sakluger
Copy link
Contributor

sakluger commented May 1, 2024

Paid, thanks!

@sakluger sakluger closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
No open projects
Development

No branches or pull requests

5 participants