Skip to content

Section editor, activity answers, and UX improvements#21

Merged
amoghbanta merged 1 commit intomainfrom
increment-5-pipeline-ux
Feb 12, 2026
Merged

Section editor, activity answers, and UX improvements#21
amoghbanta merged 1 commit intomainfrom
increment-5-pipeline-ux

Conversation

@amoghbanta
Copy link
Collaborator

@amoghbanta amoghbanta commented Feb 12, 2026

Summary

  • Section editor — full layout editing in the page detail "By Section" tab: reorder, change type (all 20 types), toggle pruning, delete, add new sections, merge adjacent sections, edit background/text colors, and manage parts (view, remove, add with auto-move between sections)
  • PUT /sectioning API endpoint — persists section edits as new versioned page-sectioning data; re-render automatically picks up changes
  • Text group editor enhancements — add/remove text groups and text entries, editable group type, delete groups
  • Activity answer display — show activity answers and reasoning in both page detail (By Section tab) and storyboard preview panel
  • Fix: pipeline status resetting after storyboard accept — stale pipeline-status query cache caused phantom SSE reconnection showing all steps as "Waiting"; now properly invalidated on pipeline complete and storyboard accept
  • Export ZIP moved to top bar — removed the green "Storyboard accepted" card, placed Export ZIP button in the header alongside Storyboard button
  • Keyboard navigation — left/right arrow keys navigate between pages on the page detail view (disabled when focus is in input fields)

Test plan

  • pnpm typecheck passes clean
  • pnpm test — all 322 tests pass
  • Non-editing mode: By Section tab renders identically to before (activity badges, answers, colors)
  • Edit mode: section editor shows with all controls (reorder, type dropdown, prune toggle, colors, parts, merge, delete, add)
  • Save section edits → re-render → changes reflected in output
  • Add new text group → assign to section → save → re-render
  • Accept storyboard → navigate back → pipeline status shows correctly (no "Waiting" reset)
  • Export ZIP button visible in top bar when storyboard accepted
  • Arrow key navigation between pages (left/right), disabled in input fields

- Section editor: full page layout editing in By Section tab (reorder, change
  type, delete, add, merge, edit colors, manage parts with auto-move)
- API: PUT /sectioning endpoint for saving section edits
- Text group editor: add/remove groups and text entries, editable group type
- Activity answers: display in page detail and storyboard preview panels
- Fix pipeline status resetting after storyboard accept (stale cache)
- Move Export ZIP button from green card to top bar
- Add keyboard navigation (arrow keys) on page detail
@amoghbanta amoghbanta merged commit 904fccb into main Feb 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant