Skip to content

Show Markdown help for required secrets during template installation - #388

Merged
tnkuehne merged 3 commits into
mainfrom
feat/template-secret-help
Nov 25, 2026
Merged

tnkuehne merged 3 commits into
mainfrom
feat/template-secret-help

Conversation

@tnkuehne

@tnkuehne tnkuehne commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Template authors can provide one Markdown string per Wrangler secret name in the optional secretHelp frontmatter of template.md. The install form associates the rendered help with the matching password input. Provider links open in a new tab so entered credentials stay in the form. Requiredness continues to come from Wrangler.

The catalog detail API exposes the Markdown for other clients. Templates without field help keep their existing form.

Tested the production build, API parsing and installation with local fixtures. Inspected the install form at 390px and 1280px in light and dark themes, including a field without help. Playwright checks the accessible description, keyboard focus, link destination, preserved input after opening the link, and successful installation.

The template text is staged separately because released catalog readers validate the frontmatter strictly and read templates from main.

Template content and documentation: #389

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues remain in the reviewed changes.

Summary

Adds optional Markdown help for required secrets in the template API and install form.

  • Template details can include Markdown help for each secret.
  • Required secret fields show matching Markdown help.

No new actionable issues were found. No previous review threads were supplied.

Reviews (2) · Last reviewed commit: "Ignore unknown template frontmatter fiel..." · Reviewed by Greptile

@tnkuehne
tnkuehne merged commit b7306c5 into main Nov 25, 2026
15 of 16 checks passed
@tnkuehne
tnkuehne deleted the feat/template-secret-help branch November 25, 2026 12:23
tnkuehne added a commit that referenced this pull request Nov 25, 2026
Add field-level Markdown links for all 14 required OAuth credentials
across seven templates and document the optional field in the catalog
API reference.

The reader support merged in
#388. Keep this PR in draft
until the updated reader is released and rolled out. Older installations
reading templates from main reject the new frontmatter key.

The content commit is rebased onto main. The diff contains seven
template guides and the API reference.
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