Fix nested markdown isn't applied#59202
Conversation
|
Screenshot/recording for #54165
ios.mp4Note that on native (this all also happens on |
| }), | ||
| h1: HTMLElementModel.fromCustomModel({ | ||
| tagName: 'h1', | ||
| getMixedUAStyles: (tnode) => (isChildOfTaskTitle(tnode as TNode) ? {} : styles.h1), |
There was a problem hiding this comment.
I leave the empty style here if isChildOfTaskTitle is true for strong and h1 because the previous implementation added a taskTitleMenuItem style which is already available from the existing task-title style above.
|
I haven't dig into it, but what is the expected result? Should it be rendered as a mention (with blue background) or just a normal task title text? |
|
It looks like web supports the full mention style right? I would expect native to follow suit as well. |
|
What's the latest on this one? |
|
Ah, I get it now. The mention isn't rendered on native not because it doesn't work on native, but on native, I create a task on a non-workspace report. |
|
Nice - I think that feels correct, recognizing that we're still waiting for the ability to use rounded corners on mentions for native platforms. Can you show a side-by-side of that with web though just for reference? Thanks! |
|
Sweet, thanks for confirming and as I mentioned, I believe that is expected behavior for now. Thanks! @rojiphil let's get this into final review? |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari59202-web-chrome-001.mp4MacOS: Desktop59202-desktop-001.mp4Android: Native59202-android-hybrid-001.mp4Android: mWeb Chrome59202-mweb-chrome-001.mp4iOS: Native59202-ios-native-001.mp4iOS: mWeb Safari59202-mweb-safari-001.mp4 |
rojiphil
left a comment
There was a problem hiding this comment.
@bernhardoj Thanks for the PR.
Changes LGTM and works well too.
@srikarparsi All yours for review. Thanks.
|
✋ 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/srikarparsi in version: 9.1.22-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.1.22-10 🚀
|





Explanation of Change
Fixed Issues
$ #58468
PROPOSAL: #58468 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop