Skip to content

chore: form generator #7299

Open
thiessenp-cds wants to merge 3 commits into
mainfrom
forms-generator
Open

chore: form generator #7299
thiessenp-cds wants to merge 3 commits into
mainfrom
forms-generator

Conversation

@thiessenp-cds

@thiessenp-cds thiessenp-cds commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary | Résumé

Adds a script to generate forms for testing. See readme for brief instructions.

Note: this code is AI generated. AI because otherwise I wouldn't feel it was worth developing.

Quick Demo:

Screen.Recording.2026-06-04.at.3.40.47.PM.mov

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@bryan-robitaille bryan-robitaille left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A few things:

  • The db seed script already creates templates in the db and can associate them to the local dev
  • The script is using pure SQL and pg instead of prisma which can cause things to get out of sync as the product continues to evolve, especially around the templates model.
  • We can add more fixtures to the dev db seed for different types of forms etc without needing an additional script.
  • The comments are out of sync because .env doesn't exist anymore. It's .env.yarn

I'm happy you didn't spend time writing this code before checking in if there were existing ways to accomplish what you're trying to do but this AI code isn't helpful long term.

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.

2 participants