Skip to content

Docs: document cosmetic widget fields, option shape and the fetch guard scope - #95

Merged
SandObserver merged 1 commit into
mainfrom
docs/widget-secret-scope-and-fetch-guard
Oct 12, 2026
Merged

SandObserver merged 1 commit into
mainfrom
docs/widget-secret-scope-and-fetch-guard

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Document the cosmetic field option and the { value, label } shape required for static options in the manifest reference, and mark the template's Show total toggle cosmetic.
  • Correct the secret field row: a blank secret is kept unless a non-cosmetic field changed.
  • Correct the ctx.fetchJSON description: the SSRF guard and IP pinning apply to optionsFrom fetches only, and a URL must never be built from ctx.params. Add that every call must be awaited.
  • Narrow the stored-credential rule on the security, troubleshooting and widgets pages to fields that decide where a credential goes.

Testing
npm run build and npm run check pass. Text-only change.

Checklist

  • npm run build and npm run check both pass.
  • Product UI is shown by running or capturing it, never recreated in CSS.
  • Any new preview or screenshot carries no private hostnames or real data.
  • Visual changes verified in both colour schemes and both docs themes.
  • Links to the app repo still resolve.

@SandObserver SandObserver added the documentation Improvements or additions to documentation label Oct 10, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying stackyard-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1712c6f
Status: ✅  Deploy successful!
Preview URL: https://bc5f7490.stackyard-docs.pages.dev
Branch Preview URL: https://docs-widget-secret-scope-and.stackyard-docs.pages.dev

View logs

@SandObserver
SandObserver merged commit be3a49c into main Oct 12, 2026
2 checks passed
@SandObserver
SandObserver deleted the docs/widget-secret-scope-and-fetch-guard branch October 12, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant