Skip to content

feat(react): add <AuthenticationSection> primitive#217

Merged
RhysSullivan merged 1 commit intors/source-forms-01-primitivesfrom
rs/source-forms-02-auth-section
Apr 13, 2026
Merged

feat(react): add <AuthenticationSection> primitive#217
RhysSullivan merged 1 commit intors/source-forms-01-primitivesfrom
rs/source-forms-02-auth-section

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

2 of 5 — source-forms refactor stack (graphite copy of #188 by @mrzmyr). Stacks on #216.

Shared auth block that every source plugin's Add/Edit form can reuse instead of rolling its own None / Bearer / Header / Basic UI. Handles field-level validation via <FieldLabel> / <FieldError> and exposes a <FilterTabs>-based picker for the auth method.

Also refreshes secret-header-auth.tsx to render errors inline on the field.

See #188 for full discussion.

Stack

  1. feat(react): add UI primitives for source forms #216 feat(react): add UI primitives for source forms
  2. (this PR) feat(react): add <AuthenticationSection> primitive
  3. refactor(mcp): adopt shared primitives in Add/Edit source forms
  4. refactor(sources): standardize openapi, graphql, google-discovery, onepassword forms
  5. refactor(react): restructure sources list and sources-add container

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 5456193 Commit Preview URL

Branch Preview URL
Apr 13 2026, 05:39 AM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 13, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 2a5b333 Commit Preview URL

Branch Preview URL
Apr 13 2026, 07:22 AM

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 13, 2026

Open in StackBlitz

@executor/sdk

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/sdk@217

@executor/plugin-file-secrets

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-file-secrets@217

@executor/plugin-google-discovery

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-google-discovery@217

@executor/plugin-graphql

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-graphql@217

@executor/plugin-keychain

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-keychain@217

@executor/plugin-mcp

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-mcp@217

@executor/plugin-onepassword

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-onepassword@217

@executor/plugin-openapi

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-openapi@217

@executor/plugin-workos-vault

npm i https://pkg.pr.new/RhysSullivan/executor/@executor/plugin-workos-vault@217

commit: 2a5b333

@RhysSullivan RhysSullivan force-pushed the rs/source-forms-02-auth-section branch 2 times, most recently from 260e47a to 63c0d5f Compare April 13, 2026 06:21
@RhysSullivan RhysSullivan force-pushed the rs/source-forms-01-primitives branch from 9668018 to 1b4e724 Compare April 13, 2026 07:00
@RhysSullivan RhysSullivan force-pushed the rs/source-forms-02-auth-section branch 2 times, most recently from 621bbe6 to b496f10 Compare April 13, 2026 07:05
Two composable primitives shared across source-plugin Add forms:

- <HeadersList> + presets prop — headers list with quick-add picker (replaces the closed AuthenticationSection).
- <SourceIdentityFields> + useSourceIdentity hook — display-name + auto-derived namespace, with namespace detaching on manual edit.
@RhysSullivan RhysSullivan force-pushed the rs/source-forms-02-auth-section branch from b496f10 to 2a5b333 Compare April 13, 2026 07:20
@RhysSullivan RhysSullivan merged commit 072aa6b into rs/source-forms-01-primitives Apr 13, 2026
7 checks passed
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