Repository navigation
chore(mobile): use upstream Enriched Markdown's wrap toggle and list fixes, plus Android long-press fixes - #20400
Conversation
… list fixes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — This replaces a production React Native markdown archive containing native parser, rendering, and Android interaction changes, altering existing mobile behavior and requiring a native rebuild. The scope extends beyond a simple dependency metadata update, so human review is warranted. You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
A long-press on a link no longer opens text selection or a block menu as well, and a long-press drag selection is no longer cut off by the scrolling message list. Co-authored-by: voida6 <289179128+voida6@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dismissing prior approval to re-evaluate 1e4a5f4
Upstream Enriched Markdown merged the code block wrap toggle (software-mansion/enriched-markdown#1021) and the ordered list marker width fix (#1015) that the mobile app has been running from our fork. This moves the app to a fork archive built on that upstream main, so those features now come from upstream's code rather than our copies.
The new archive,
1.2.0-t3.15, comes from fork head 9fe6c6d2: the upstream sync in pingdotgg/enriched-markdown#7, plus two Android long-press fixes from @voida6 that are also open upstream:The upstream sync also brings fixes that weren't in the app yet:
enrmrkd, so it can't clash with another MD4C copy.&and©now render as their characters instead of being dropped.The app code doesn't change. The wrap button stays enabled, and fork-only media slots, image source resolution, clipboard metadata and development-host autolinks carry over unchanged.
Native clients need rebuilding for this dependency change. The second commit carries the long-press fixes and credits @voida6 as co-author.
Verification
src/lib/markdownHtml.test.tspass.&now renders as&.The same fixture thread on T3 Code Dev with this archive, before and after tapping the wrap button on the quoted (iOS) or both (Android) code blocks. Lists past 100 keep full numbers,
&/©/😀render as characters, and dev-host links stay linked.Android long-press fixes on the Pixel 10 Pro emulator (Android 17) with
1.2.0-t3.15:https://devbox:8080/pathfive times in a row opened only the Open/Copy link menu each time. No text selection or block menu came up alongside it.🤖 Generated with Claude Code