Repository navigation
MenuItem decomposition - html value - #102170
roryabraham merged 12 commits into
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-09-28.at.17.50.25.mov |
|
@Pujan92 review addressed! |
|
LGTM, but conflicts |
# Conflicts: # src/components/MoneyRequestConfirmationList/sections/DescriptionField.tsx # src/components/MoneyRequestConfirmationList/sections/ReportField.tsx # tests/ui/MoneyRequestReportFooter.tsx
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.4.96-0 🚀
|
|
No help site update is needed. This PR refactors |
|
Deploy Blocker #102618 was identified to be related to this PR. |
@m-natarajan oh right, I verified it locally while implementing, so let's skip it as not reachable on prod. Do you know if this flow is going to be back? 🤔 |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.4.99-0 🚀
|
|
No help site update is needed. This PR refactors how menu rows render HTML values and helper text. It doesn't add, rename, remove, or change any user-facing feature, label, or workflow, so no existing article is now wrong. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.99-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Adds
MenuItem.FieldValueHTMLleaf (renders HTML values, optionalcharacterLimit) andMenuItemField.Content(name/value/placeholder cell taking any value leaf). Migrates legacyshouldRenderAsHTML/shouldParseTitle/shouldParseHelperTextrows to the composable API; helper text goes throughFormHelpMessage; static config arrays in touched pages are inlined as JSX.Fixed Issues
$ #100312
PROPOSAL:
Tests
HTML and markdown values
+> Assign task. Set a title with markdown (e.g.*bold* _italic_) and a multi-line description with a linkHelper text
Inlined rows
main, the description renders markdown, and each row opens its pagemain, locked fields are disabled without a chevron, the description renders markdown, and each enabled row opens its editorOffline tests
N/A - UI-only refactor, no API or Onyx changes.
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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