Skip to content

Handle View Mode for Group and Repeatable Components #3605

@andrewbrazzatti

Description

@andrewbrazzatti

We currently don’t handle RepeatableComponent or GroupComponent in the visitor translation. This follow‑on issue should add support for these component types, with a preference for translating them at the top level (instead of recursively handling each subcomponent individually) if feasible.

Preferred translation behavior

  • RepeatableComponent → render as HTML unordered list (<ul><li>…</li></ul>)
  • GroupComponent → render as a group of key/value pairs in HTML
  • RepeatableComponent containing a GroupComponent → render as an HTML table

Acceptance criteria

  • Rendering exists for RepeatableComponent and GroupComponent in the visitor translation output
  • Top‑level translation approach is used if it can cover the above behaviors cleanly
  • Nested RepeatableComponent + GroupComponent case produces a table layout
  • Output is predictable and consistent with existing visitor HTML conventions

Follows on from the PR #3518

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions