-
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
Live Markdown Preview #14872
Comments
Hey @thienlnam 👋 I'd love to take care of this feature 🙂 |
@matkoson Is currently working on writing out the high level. Additionally, please make sure to work inside the design doc so we can keep track of what else needs to be done |
@matkoson Is currently out sick for the week, will be back on Monday |
@thienlnam, @matkoson Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@thienlnam, @matkoson Huh... This is 4 days overdue. Who can take care of this? |
hey @thienlnam, I've updated the 'High-level overview of the problem, Timeline, and Terminology sections' of the Design Doc. |
@thienlnam, @matkoson Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@matkoson Has been wrapping up the DD high level, and should be finished with it tomorrow |
@matkoson is working on updating the high level and then working on a high level solution that doesn't require a webview |
Hey 👋 I've updated the POC here https://github.com/Expensify/App/compare/main...matkoson:feat/live-markdown-preview-poc?expand=1. OSS post explaining the new approach coming later today. |
Could you please open a draft PR so it's easier for us to review the changes? |
@thienlnam on it from yesterday, will post the link here once it's OK for review(aiming for today) |
Sorry for the wait. The ETA is a few hours at most. I will keep you updated and provide the PR link in this conversation. @thienlnam |
Could you let us know what blockers you have running into? The last ETA we received was for 5 days ago from #14872 (comment) Additionally - it would be great to get the slack post here so we can point people towards the new solution |
👋 POC code for the Aztec proposal can be found here 👉- #22464 |
Thread about the Aztec solution - here |
Left some comment in the PR but @matkoson is working on making the prototype build on iOS As for the thread about the Aztec solution - seems like we have general agreement so looking good to move forward here |
@thienlnam I've made significant progress on solving native bindings issues - I expect major POC update to be released today, for all platforms. EDIT: had some additional problems with crashes when formatting text on multiline composer, new ETA is -1 day. |
Hey @thienlnam - finishing last changes to the POC code and adding the final documentation. Once that is done, I will push the changes and notify you immediately. |
@thienlnam Hey 👋, wrapping up the update! 🤞 |
@matkoson Did something happen with the update? Noticed the POC still is broken, and has many conflicts |
@thienlnam I've had an issue with Composer crashing on the first render, which was caused by Aztec not updating the React ref, for some reason. When I dug into its codebase, I found out that the focus callback triggered by Aztec-based focus events was leading to a focus loops, and it seems to have been a root cause as the loop prevented the setting of the React ref for |
Hey, @thienlnam, 👋 I’m almost done with the conflicts, but I’ll be able to finish on August 16th. I’m out of the office today, and tomorrow is a bank holiday in Poland 😕 |
Sounds good, will await an update then! |
Mat has been on sick leave, still awaiting the PR to resolve merge conflicts |
Same, discussing options internally |
We're taking a different direction with this so I'm closing out this old issue and creating a new one here: #27977 Thread for context: https://expensify.slack.com/archives/C01SKUP7QR0/p1693954407135859 |
Proposal
https://expensify.slack.com/archives/CC7NECV4L/p1675122898707719
Design Doc: https://docs.google.com/document/d/1rcmXjgwvsM3MtdQnkJlMs6IS-i8SHJd0Vs7B_U0K3UU/edit
Proposal: Implement a Live Markdown Preview feature in NewDot
Context: Markdown is a text formatting syntax that we use in NewDot to add rich text formatting to messages. It allows users to add basic formatting such as bold, italic, bullet points, headings, links, etc. to their messages without having to use HTML or other complex formatting tools.
Problem:
As NewDot becomes more widely used for group communication, it’s essential to offer ways to effectively format and structure messages to improve productivity and avoid miscommunication similar to how we do resyncs in WN.
The problem is that without a visual representation of the final message, it can be difficult for users to confirm that their message is correctly formatted and conveys the intended information. Inconsistent or improperly formatted messages can hinder effective communication and decrease productivity, especially for users who are not familiar with markdown.
Solution:
To enhance user experience and improve communication, add a live markdown preview feature in the chat application. This will allow users to preview their message format in real-time and make any necessary adjustments before sending the message, resulting in clearer and more easily understood communications.
The live markdown preview feature is already present in Slack, and gives you the assurance that the message you are crafting, will show up exactly like you expect once sent.
The implementation will be done in collaboration with Callstack, utilizing the Design Doc process, and will be executed as a concurrent project. The live markdown preview feature is a front-end focused project and will not impact any internal employees or ongoing newsletters.
Tasks
#expensify-open-source
[email protected]
and paste in the Proposal[email protected]
(continue the same email chain as before) with the link to your Design Doc#expensify-open-source
to discuss any necessary details in public before filling out the High-level of proposed solution section.[email protected]
again with links to the doc and pre-design conversation in SlackDesignDocReview
label to get the High-level of proposed solution section reviewed#expensify-open-source
to ask for engineering feedback on the technical solution.DesignDocReview
label to this issue[email protected]
one last time to let them know the Design Doc is moving into the implementation phase[email protected]
once everything has been implemented and do a Project Wrap-Up retrospective that provides:The text was updated successfully, but these errors were encountered: