Skip to content

Form preview: option-source links, header, and View/Preview links#1638

Merged
maebeale merged 1 commit into
mainfrom
maebeale/form-preview
Jun 13, 2026
Merged

Form preview: option-source links, header, and View/Preview links#1638
maebeale merged 1 commit into
mainfrom
maebeale/form-preview

Conversation

@maebeale

@maebeale maebeale commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

🔗 Stacked PR — the base (maebeale/subtitle-field, #1635) is now merged into main; this PR has been rebased onto main. Third PR in the stack (builder UI) follows.

What is the goal of this PR and why is this important?

  • The form preview gave little context, and dynamic-option fields gave no hint about where their choices come from. This makes the preview read as clear admin chrome and links dynamic fields to the lists that manage them.

How did you approach the change?

  • Option-source links: dynamic-option fields (sourced from Sectors/Categories) show an "Options from …" link to their managed list — beside the visibility badge, or the field label when there's no badge.
  • Preview header: now shows the form name, role, and an amber "Preview" badge signaling it's not the live page.
  • Editor links: always offer a standalone "Preview"; add "View" to the live registration form when the originating event is known.

UI Testing Checklist

  • Preview header shows form name, role, and the amber "Preview" badge.
  • A dynamic-option field shows an "Options from …" link to the managed list on the preview.
  • Editor shows "Preview" with no event; "View" + "Preview" when an event is known (View → live registration page).

Anything else to add?

Base automatically changed from maebeale/subtitle-field to main June 12, 2026 21:08
@maebeale maebeale force-pushed the maebeale/form-preview branch from 7d2e606 to 270c00f Compare June 13, 2026 17:57
- Dynamic-option fields link to their managed list (Sectors/Categories)
  on the preview, beside the visibility badge or the field label.
- Preview header reads as admin chrome: form name, role, and an amber
  Preview badge signaling it is not the live page.
- Editor offers a standalone Preview link, adding a View link to the live
  registration form when the originating event is known.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@maebeale maebeale force-pushed the maebeale/form-preview branch from 270c00f to 6e102bf Compare June 13, 2026 18:12
@maebeale maebeale merged commit afcdd8a into main Jun 13, 2026
3 checks passed
@maebeale maebeale deleted the maebeale/form-preview branch June 13, 2026 18:19
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