Skip to content

chore(settings): remove WebAuthnHelpersExample Storybook harness - #21365

Merged
vbudhram merged 1 commit into
mainfrom
agent-f8eaa9
Oct 1, 2026
Merged

vbudhram merged 1 commit into
mainfrom
agent-f8eaa9

Conversation

@fxa-agent

@fxa-agent fxa-agent Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Because

  • The WebAuthnHelpersExample page is a 1,298-line developer harness that only a Storybook story mounts. No route, test, or other module uses it.
  • The passkey owners agreed to remove it.

This pull request

  • Removes pages/WebAuthnHelpersExample/index.tsx, index.stories.tsx and fieldGuides.tsx from fxa-settings.
  • Keeps lib/passkeys/webauthn.ts and lib/base64url.ts unchanged. Product code still uses all the exports that the page imported.

Issue that this pull request solves

Closes: https://mozilla-hub.atlassian.net/browse/FXA-14649

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).
  • I have manually reviewed all AI generated code.

How to review (Optional)

  • Key files/areas to focus on: the three deleted files only.
  • Suggested review order: n/a
  • Risky or complex parts: none. The Storybook story Pages/WebAuthnHelpersExample goes away. Engineers who used it to call the real Credentials API on localhost lose that tool.

Screenshots (Optional)

None. The page had no route.

Other information (Optional)

Local results:

  • src/lib/passkeys/webauthn.test.ts: 36 passed. npx tsc --noEmit and eslint in fxa-settings: pass. git grep WebAuthnHelpers finds no remaining reference.
  • Not run here: the Storybook build. CI covers it.

## Because

- The `WebAuthnHelpersExample` page is a 1,298-line developer harness that only a Storybook story mounts. No route, test, or other module uses it.
- The passkey owners agreed to remove it.

## This pull request

- Removes `pages/WebAuthnHelpersExample/index.tsx`, `index.stories.tsx` and `fieldGuides.tsx` from `fxa-settings`.
- Keeps `lib/passkeys/webauthn.ts` and `lib/base64url.ts` unchanged. Product code still uses all the exports that the page imported.

## Issue that this pull request solves

Closes:
@fxa-agent fxa-agent Bot added the auto label Oct 1, 2026
@vbudhram
vbudhram marked this pull request as ready for review October 1, 2026 15:58
@vbudhram
vbudhram requested a review from a team as a code owner October 1, 2026 15:58
Copilot AI lite review requested due to automatic review settings October 1, 2026 15:58
@vbudhram vbudhram self-assigned this Oct 1, 2026

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified, and production passkey utilities remain unchanged.

Review effort: Lite
Findings: None

What changed in this PR

Removes the unused WebAuthn Storybook developer harness while preserving production passkey utilities.

Changes:

  • Deletes the harness component and field guides.
  • Deletes its Storybook story.
  • Removes all remaining references.
File Description
packages/​fxa-settings/​src/​pages/​WebAuthnHelpersExample/​index.tsx Removes the harness UI.
packages/​fxa-settings/​src/​pages/​WebAuthnHelpersExample/​index.stories.tsx Removes the Storybook entry.
packages/​fxa-settings/​src/​pages/​WebAuthnHelpersExample/​fieldGuides.tsx Removes harness-only reference data and components.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vbudhram
vbudhram merged commit ca88d20 into main Oct 1, 2026
22 checks passed
@vbudhram
vbudhram deleted the agent-f8eaa9 branch October 1, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants