Skip to content

Conversation

@jamesspeake
Copy link
Contributor

@jamesspeake jamesspeake commented Dec 30, 2025

NOTE: This was mainly created with Claude:

image

How it works:

  • Adds a button to the form builder topbar when ?super_admin is added to the URL
  • Opens a modal that allows the JSON of the form to be directly edited and saved
  • You can copy the schema using the copy schema button - this not only copies the schema, but also replaces all the UUIDs including those in logic with new UUIDs
  • Save is disabled on active production platforms, but you can still copy the schema to use in demo/dev/test platforms

Changelog

Added

  • Added a super_admin only schema editor for forms. This will allow forms to be cut & paste between projects/platforms for easier debugging of issues

Changed

  • Set a super_user cookie (for a day) to avoid having to add ?super_admin every time to the URL of any hidden super_user feature (eg password login on SSO only platforms)

@cl-dev-bot
Copy link
Collaborator

cl-dev-bot commented Dec 30, 2025

Warnings
⚠️ The PR title contains no Jira issue key (case-sensitive)
⚠️ The branch name contains no Jira issue key (case-sensitive)
Messages
📖 Changelog provided 🎉
📖

Run the e2e tests

📖 Check translation progress

Generated by 🚫 dangerJS against ed0a23a

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the SSO config to use the new hook

…tor' into js-ten-percent/survey-schema-editor
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.

3 participants