Implement Live Markdown for task descriptions#39519
Implement Live Markdown for task descriptions#39519roryabraham merged 11 commits intoExpensify:mainfrom
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
Reviewing Monday! |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-04-09_10.50.09.mp4Android: mWeb Chromeandroid-chrome-2024-04-09_10.58.44.mp4iOS: Nativeios-app-2024-04-09_11.39.35.mp4iOS: mWeb Safariios-safari-2024-04-09_11.47.14.mp4MacOS: Chrome / SafariUploading desktop-chrome-2024-04-09_10.36.58.mp4… MacOS: Desktopdesktop-app-2024-04-09_10.41.58.mp4 |
|
Apologies I had higher priority work to get to today. Top of the list for tomorrow! |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@jjcoffee good catch, thanks! I forgot to add Expensify markdown styles on native platforms. Because of that heading font size was much bigger. Now it should be correct |
@jjcoffee I think this styling bug is also reproducable on normal TextInputs on the staging. Should I fix it? |
Thanks, fixing the other bug fixed this one too! I guess there could be a little more spacing, but it's the same as on main now. |
|
Just waiting on confirmation on this before approving. |
|
@jjcoffee feel free to proceed with the review and approval of this PR |
|
@roryabraham @jjcoffee Prop name changed 🫡 |
roryabraham
left a comment
There was a problem hiding this comment.
It's ironic that we've split BaseTextInput into a web and native implementation. It's not longer a shared base component
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.4.63-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
| selection={inputProps.selection} | ||
| readOnly={isReadOnly} | ||
| defaultValue={defaultValue} | ||
| markdownStyle={markdownStyle} |
There was a problem hiding this comment.
Markdown does not grow correctly in room descriptions resulting in half cut lines, ref: #48281

Details
This PR adds live markdown support for form text inputs and enables them in task description pages
Fixed Issues
$ #39189
PROPOSAL:
Tests
+on the left side of main composerCreate taskNextOffline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov