Don't truncate URLs in formatted output

JE
8mo ago
+88-2

Summary

  • formatCell truncates any string over 40 runes, which destroys URL fields like todolists_url and app_todolists_url — a truncated URL can't be clicked, copied, or navigated
  • Add isURL() helper to skip truncation for http:// and https:// 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/ci green

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 formatCell to not truncate values starting with http:// or https:// via new isURL() 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.