Don't truncate URLs in formatted output
JE
8mo ago+88+88+01234567890123456789-2-2-0123456789
Summary
formatCelltruncates any string over 40 runes, which destroys URL fields liketodolists_urlandapp_todolists_url— a truncated URL can't be clicked, copied, or navigated- Add
isURL()helper to skip truncation forhttp://andhttps://prefixes - Affects all four render paths (styled/markdown × object/table) since they all funnel through
formatCell
Test plan
- Unit tests: long URL preserved, non-URL still truncated, short URL passthrough, http scheme
- Regression tests: styled and markdown renderers preserve full URLs in both object and table views
-
bin/cigreen
Summary by cubic
Skip truncation of http(s) URLs in formatted output so links stay usable across styled and markdown, for both object and table views.
- Bug Fixes
- Update
formatCellto not truncate values starting withhttp://orhttps://via newisURL()helper. - Applies to all render paths that funnel through
formatCell. - Add tests: long URL preserved, non-URL still truncated, short URL passthrough, http scheme, and renderer regressions.
- Update