Add standalone access tokens page for new dashboard UI#3291
Add standalone access tokens page for new dashboard UI#3291
Conversation
Access tokens are used by both the Control API and CLI, so they now have their own page at /docs/platform/account/access-tokens rather than being documented inline in the Control API page. - Create access-tokens.mdx with creation flow, capability table (with Control API and CLI command mappings), revocation, and rate limits - Slim down control-api.mdx auth section to link to new page - Rename "My Access Tokens" to "Access tokens" throughout - Remove outdated screenshots from Control API page - Add access tokens nav entry in platform.ts - Link CLI docs to new access tokens page
WalkthroughDocumentation additions and updates consolidate access token guidance into a dedicated resource. A new navigation entry directs users to comprehensive access token documentation covering creation, capability mapping, revocation, and rate limits. Existing platform documentation updated to reference this new guide. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/pages/docs/platform/account/control-api.mdx (1)
33-47:⚠️ Potential issue | 🟡 MinorUpdate the downstream token reference to prevent a broken in-page link.
After this auth-content move, the page no longer defines
#creating-access-token, but Line 814 still links to it. That reference should point to the new access token page anchor instead.Suggested fix (outside this selected range)
-First, you need to [obtain a Control API token](`#creating-access-token`) to authenticate any requests you send to the Control API. +First, you need to [obtain a Control API token](/docs/platform/account/access-tokens#create) to authenticate any requests you send to the Control API.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/pages/docs/platform/account/control-api.mdx` around lines 33 - 47, The page still contains links pointing to the removed in-page fragment "#creating-access-token"; find occurrences of that fragment (the broken link referenced in the comment) and update them to point to the correct access-token page anchor instead (replace "#creating-access-token" with the new anchor on the access tokens page, e.g. "/docs/platform/account/access-tokens" or "/docs/platform/account/access-tokens#<new-anchor>"). Ensure you update the link target(s) in this file (control-api.mdx) so they reference the external access-tokens page/anchor rather than the removed in-page id.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/pages/docs/platform/account/index.mdx`:
- Line 65: The "Access tokens" section heading lacks the required HTML anchor;
update the heading line for "Access tokens" to include a standard HTML anchor
tag (e.g., add <a id="access-tokens"/> after the heading text) so it follows the
docs convention of "Use standard markdown headings with HTML anchor tags for
section headers" and ensure the anchor id is unique and kebab-case.
---
Outside diff comments:
In `@src/pages/docs/platform/account/control-api.mdx`:
- Around line 33-47: The page still contains links pointing to the removed
in-page fragment "#creating-access-token"; find occurrences of that fragment
(the broken link referenced in the comment) and update them to point to the
correct access-token page anchor instead (replace "#creating-access-token" with
the new anchor on the access tokens page, e.g.
"/docs/platform/account/access-tokens" or
"/docs/platform/account/access-tokens#<new-anchor>"). Ensure you update the link
target(s) in this file (control-api.mdx) so they reference the external
access-tokens page/anchor rather than the removed in-page id.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: d1ab5fca-1f91-435d-b4dd-3da3d0afefa7
📒 Files selected for processing (5)
src/data/nav/platform.tssrc/pages/docs/platform/account/access-tokens.mdxsrc/pages/docs/platform/account/control-api.mdxsrc/pages/docs/platform/account/index.mdxsrc/pages/docs/platform/tools/cli.mdx
Summary
Note
To be merged when tokens website PR is deployed
/docs/platform/account/access-tokenscovering token creation, capabilities, revocation, and rate limitsTest plan
Review App
/docs/platform/account/access-tokensrenders correctlyreview-applabelSummary by CodeRabbit
New Features
Documentation