Skip to content

[codex] add install referrer plugin docs#642

Merged
riderx merged 2 commits into
mainfrom
codex/add-install-referrer-plugin
May 6, 2026
Merged

[codex] add install referrer plugin docs#642
riderx merged 2 commits into
mainfrom
codex/add-install-referrer-plugin

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 6, 2026

What

Adds the new @capgo/capacitor-install-referrer plugin to the website registry, plugin docs sidebar, LLM docs sets, metadata files, and English tutorial content.

Why

The plugin is now published in the Cap-go GitHub org and needs website/docs coverage for Android Google Play Install Referrer and iOS Apple AdServices attribution support.

Validation

  • bunx prettier --write apps/web/src/config/plugins.ts apps/docs/src/config/sidebar.mjs apps/docs/src/config/llmsCustomSets.ts apps/docs/src/content/docs/docs/plugins/install-referrer/index.mdx apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx apps/docs/src/content/docs/docs/plugins/install-referrer/android.mdx apps/docs/src/content/docs/docs/plugins/install-referrer/ios.mdx apps/web/src/content/plugins-tutorials/en/capacitor-install-referrer.md apps/web/src/data/github-stars.json apps/web/src/data/npm-downloads.json
  • bun run check

Summary by CodeRabbit

  • Documentation

    • Added comprehensive guides for the capacitor-install-referrer plugin, including overview, installation, usage examples, platform-specific pages for Android and iOS attribution, and a tutorials/reference page.
  • Chores

    • Updated site/plugin registry, sidebar and plugin listings to include Install Referrer; added plugin icon and updated public package metadata (npm/github entries).

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 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: dc4a9970-ca61-4c5a-ab0d-c257225732a3

📥 Commits

Reviewing files that changed from the base of the PR and between 8402f23 and a8bb7d7.

📒 Files selected for processing (1)
  • apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx

📝 Walkthrough

Walkthrough

Adds the @capgo/capacitor-install-referrer plugin: new documentation pages (overview, getting-started, Android, iOS), sidebar and LLM set entries, web registry/tutorial content, and npm/github metadata entries. No public API or runtime code changes.

Changes

Install Referrer Plugin Onboarding

Layer / File(s) Summary
Documentation Content
apps/docs/src/content/docs/docs/plugins/install-referrer/index.mdx, apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx, apps/docs/src/content/docs/docs/plugins/install-referrer/android.mdx, apps/docs/src/content/docs/docs/plugins/install-referrer/ios.mdx
Four new docs pages: plugin overview, getting-started (install, import, usage, iOS retry options), Android referrer details (returned fields, errors), and iOS AdServices guidance (native lookup, returned fields, requirements).
Documentation Configuration
apps/docs/src/config/sidebar.mjs, apps/docs/src/config/llmsCustomSets.ts
Added sidebar plugin entry with slug install-referrer and two sub-links (iOS, Android); added an LLM custom set row pointing at docs/plugins/install-referrer/**.
Web Plugin Registry & Content
apps/web/src/config/plugins.ts, apps/web/src/content/plugins-tutorials/en/capacitor-install-referrer.md
Inserted plugin action row and icon mapping into web plugin definitions; added a web tutorial page for the plugin with installation and usage examples.
Metadata / Data
apps/web/src/data/github-stars.json, apps/web/src/data/npm-downloads.json
Added GitHub URL entry for the plugin and a npm-downloads entry @capgo/capacitor-install-referrer with value 0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Cap-go/website#593: Adds the install-referrer plugin (docs, config, and metadata) and related tutorial content.
  • Cap-go/website#590: Similar changes adding plugin documentation and registry entries that overlap with this PR.

Poem

🐰 I hopped a note into the docs today,

Install referrers shown the clearer way.
Android, iOS—both in tidy view,
Links and guides for what the plugin can do.
Hooray for referrers, tracked and true!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title '[codex] add install referrer plugin docs' accurately summarizes the main change—adding documentation for the new install referrer plugin across multiple files and configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/add-install-referrer-plugin

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

@riderx riderx marked this pull request as ready for review May 6, 2026 07:39
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

🧹 Nitpick comments (1)
apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx (1)

42-49: ⚡ Quick win

Consider showing the structure of appleAttribution or linking to detailed iOS docs.

The example accesses result.appleAttribution but doesn't show what data it contains. Adding a brief comment or example of the returned structure would help users understand what to expect, or reference the iOS-specific documentation page for details.

Example enhancement:

// result.appleAttribution contains the parsed Apple attribution response
// See ios.mdx for the complete data structure
console.log(result.appleAttribution);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx`
around lines 42 - 49, Add a brief inline comment and/or link showing the shape
of the returned apple attribution data so readers know what to expect: update
the InstallReferrer.getReferrer example to include a short comment above the
console.log describing that result.appleAttribution contains the parsed Apple
attribution response (list key fields like source/app/ad_id/timestamp or a note
to see the iOS docs) and optionally add a link to the iOS docs or ios.mdx for
the full schema; reference the InstallReferrer.getReferrer call and the
result.appleAttribution property when adding this comment.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In
`@apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx`:
- Around line 42-49: Add a brief inline comment and/or link showing the shape of
the returned apple attribution data so readers know what to expect: update the
InstallReferrer.getReferrer example to include a short comment above the
console.log describing that result.appleAttribution contains the parsed Apple
attribution response (list key fields like source/app/ad_id/timestamp or a note
to see the iOS docs) and optionally add a link to the iOS docs or ios.mdx for
the full schema; reference the InstallReferrer.getReferrer call and the
result.appleAttribution property when adding this comment.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 54ba5c6c-4098-4c01-a900-439edb252708

📥 Commits

Reviewing files that changed from the base of the PR and between 0701470 and 8402f23.

📒 Files selected for processing (10)
  • apps/docs/src/config/llmsCustomSets.ts
  • apps/docs/src/config/sidebar.mjs
  • apps/docs/src/content/docs/docs/plugins/install-referrer/android.mdx
  • apps/docs/src/content/docs/docs/plugins/install-referrer/getting-started.mdx
  • apps/docs/src/content/docs/docs/plugins/install-referrer/index.mdx
  • apps/docs/src/content/docs/docs/plugins/install-referrer/ios.mdx
  • apps/web/src/config/plugins.ts
  • apps/web/src/content/plugins-tutorials/en/capacitor-install-referrer.md
  • apps/web/src/data/github-stars.json
  • apps/web/src/data/npm-downloads.json

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

Copy link
Copy Markdown
Member Author

riderx commented May 6, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@riderx riderx merged commit 1d0e643 into main May 6, 2026
10 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