Skip to content

feat: add passkey plugin docs#564

Merged
riderx merged 3 commits intomainfrom
codex/passkey-website-docs
Apr 14, 2026
Merged

feat: add passkey plugin docs#564
riderx merged 3 commits intomainfrom
codex/passkey-website-docs

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented Apr 14, 2026

Summary

  • add the passkey plugin to the public plugin registry
  • add the website tutorial for browser-style passkey setup
  • add docs pages for getting started, iOS, Android, and backend notes

Testing

  • bun run fmt
  • bun run build

Summary by CodeRabbit

  • Documentation
    • Added comprehensive Passkey plugin docs: Getting Started, iOS setup, Android setup, backend notes, and a tutorial explaining installation, configuration, sync behavior, and platform caveats.
  • New Features
    • Passkey plugin added to the docs sidebar and plugin catalog with a dedicated listing and icon for discovery.
  • Chores
    • Added Passkey entries to site metadata (plugin listing, package/stars/downloads datasets) for visibility.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8decdd0c-6b6d-45f3-9964-19527f7b4aa6

📥 Commits

Reviewing files that changed from the base of the PR and between 30b5277 and 5b98d46.

📒 Files selected for processing (3)
  • apps/docs/src/config/llmsCustomSets.ts
  • apps/web/src/data/github-stars.json
  • apps/web/src/data/npm-downloads.json
✅ Files skipped from review due to trivial changes (3)
  • apps/web/src/data/npm-downloads.json
  • apps/docs/src/config/llmsCustomSets.ts
  • apps/web/src/data/github-stars.json

📝 Walkthrough

Walkthrough

Adds comprehensive docs and site registrations for the new @capgo/capacitor-passkey plugin: overview, platform guides (iOS/Android), backend notes, getting-started, web tutorial, sidebar entry, web plugin registry entry, LLMS set row, and small data updates for GitHub/npm mappings.

Changes

Cohort / File(s) Summary
Docs Sidebar
apps/docs/src/config/sidebar.mjs
Inserted a pluginEntries entry for the Passkey plugin with slug passkey and links to iOS, Android, and backend docs.
Web Plugin Registry & Data
apps/web/src/config/plugins.ts, apps/web/src/data/github-stars.json, apps/web/src/data/npm-downloads.json
Registered @capgo/capacitor-passkey in the action definitions and icon map; added GitHub stars and npm downloads entries for the plugin.
Passkey Documentation Pages
apps/docs/src/content/docs/docs/plugins/passkey/index.mdx, .../getting-started.mdx, .../ios.mdx, .../android.mdx, .../backend.mdx
Added overview, getting-started, iOS/Android platform setup details (entitlements/asset links), backend contract notes, and cap sync/host-file guidance.
Web Tutorial
apps/web/src/content/plugins-tutorials/en/capacitor-passkey.md
Added tutorial describing install, config (origin/autoShim/domains), cap sync behavior, shim import, WebAuthn usage examples, and platform caveats.
LLMS Custom Sets
apps/docs/src/config/llmsCustomSets.ts
Appended a "Plugin Passkey" row to the llmsCustomSetRows dataset pointing to docs/plugins/passkey/**.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I found a tiny key and hopped to write,

iOS, Android, backend — all lined up bright.
Sync tunes hosts and origins sing,
Docs laid out for every spring.
A cheerful rabbit nudges: merrily secure and light!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changeset: adding comprehensive documentation for the passkey plugin across multiple docs files, sidebar configuration, and plugin registry.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/passkey-website-docs

Comment @coderabbitai help to get the list of available commands and usage tips.

@riderx riderx marked this pull request as ready for review April 14, 2026 10:32
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/docs/src/content/docs/docs/plugins/passkey/index.mdx`:
- Line 17: Update the CTA label that currently reads "text: Github" to use the
official capitalization "text: GitHub" so the CTA uses correct branding; locate
the CTA definition (the line containing "text: Github") and replace the value
with "GitHub".

In `@apps/web/src/content/plugins-tutorials/en/capacitor-passkey.md`:
- Line 14: Replace the phrase "returns browser-like credential objects back to
your app" with "returns browser-like credential objects to your app" in the
sentence that describes the native shim behavior for
navigator.credentials.create() and navigator.credentials.get(), so the line now
reads that the plugin forwards requests to iOS/Android passkey APIs and returns
browser-like credential objects to your app.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 304eb902-eb83-4aaa-af8b-ab1f59218253

📥 Commits

Reviewing files that changed from the base of the PR and between 7d028e0 and 4adf15b.

📒 Files selected for processing (8)
  • apps/docs/src/config/sidebar.mjs
  • apps/docs/src/content/docs/docs/plugins/passkey/android.mdx
  • apps/docs/src/content/docs/docs/plugins/passkey/backend.mdx
  • apps/docs/src/content/docs/docs/plugins/passkey/getting-started.mdx
  • apps/docs/src/content/docs/docs/plugins/passkey/index.mdx
  • apps/docs/src/content/docs/docs/plugins/passkey/ios.mdx
  • apps/web/src/config/plugins.ts
  • apps/web/src/content/plugins-tutorials/en/capacitor-passkey.md

Comment thread apps/docs/src/content/docs/docs/plugins/passkey/index.mdx Outdated
Comment thread apps/web/src/content/plugins-tutorials/en/capacitor-passkey.md Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4adf15b759

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/docs/src/config/sidebar.mjs
Comment thread apps/web/src/config/plugins.ts
@sonarqubecloud
Copy link
Copy Markdown

@riderx riderx merged commit 0cbcc1c into main Apr 14, 2026
6 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.

1 participant