🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

feat(site): move spend page to AI settings - #26800

Merged
DanielleMaywood merged 8 commits into
mainfrom
danielle/codagt-691-move-spend-ai-settings
Jun 29, 2026
Merged

feat(site): move spend page to AI settings#26800
DanielleMaywood merged 8 commits into
mainfrom
danielle/codagt-691-move-spend-ai-settings

Conversation

@DanielleMaywood

@DanielleMaywood DanielleMaywood commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Note

🤖 This PR was written by Coder Agent on behalf of Danielle Maywood

Summary

  • Move the Spend page from Agents settings to AI Settings at /ai/settings/spend.
  • Add legacy redirects from /agents/settings/spend, /agents/settings/limits, and /agents/settings/usage.
  • Keep the existing chat usage limit and cost APIs while updating the page to fit AI Settings navigation.
  • Keep the Agents settings sidebar as a cross-link to the new AI Settings page.
  • Include the Spend page component split in this PR so reviewers can review the final page structure with the move.

Stack

Base: main

Supporting PRs #26799 and #26802 have already merged into main.

Validation

  • pnpm --dir site exec biome check --error-on-warnings src/pages/AISettingsPage/SpendPage src/pages/AgentsPage/AgentAnalyticsPageView.tsx src/pages/AgentsPage/components/UsageIndicator.tsx src/router.tsx --no-errors-on-unmatched
  • pnpm --dir site run lint:types
  • pnpm --dir site exec vitest --project=storybook --run src/pages/AISettingsPage/SpendPage/components/LimitsTab/GroupLimitsSection.stories.tsx src/pages/AISettingsPage/SpendPage/components/LimitsTab/UserOverridesSection.stories.tsx src/pages/AISettingsPage/SpendPage/SpendPageView.stories.tsx --testTimeout=30000

@linear-code

linear-code Bot commented Jun 29, 2026

Copy link
Copy Markdown

CODAGT-691

@DanielleMaywood
DanielleMaywood force-pushed the danielle/codagt-691-move-spend-ai-settings branch from 73b5efa to 166fc7d Compare June 29, 2026 09:46
@DanielleMaywood
DanielleMaywood changed the base branch from danielle/codagt-691-share-confirm-delete-dialog to danielle/codagt-691-paginated-query-options June 29, 2026 09:46
@DanielleMaywood
DanielleMaywood force-pushed the danielle/codagt-691-paginated-query-options branch from 03aa1c1 to 57d3b6c Compare June 29, 2026 10:06
@DanielleMaywood
DanielleMaywood force-pushed the danielle/codagt-691-move-spend-ai-settings branch from 166fc7d to 4d910c3 Compare June 29, 2026 10:07
Base automatically changed from danielle/codagt-691-paginated-query-options to main June 29, 2026 10:45
@DanielleMaywood
DanielleMaywood force-pushed the danielle/codagt-691-move-spend-ai-settings branch from 4d910c3 to ae53bb3 Compare June 29, 2026 10:52
@DanielleMaywood
DanielleMaywood marked this pull request as ready for review June 29, 2026 11:43
@DanielleMaywood
DanielleMaywood requested a review from johnstcn June 29, 2026 11:43
@coder-tasks

coder-tasks Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Documentation Check

Updates Needed

  • docs/ai-coder/agents/platform-controls/usage-insights.md - Lines 8 and 56 reference the old navigation path Agents > Settings > Manage Agents > Spend. This should be updated to reflect the new location under AI > Settings > Spend (at /ai/settings/spend).

Automated review via Coder Agents

@DanielleMaywood
DanielleMaywood merged commit cf1c29b into main Jun 29, 2026
33 of 36 checks passed
@DanielleMaywood
DanielleMaywood deleted the danielle/codagt-691-move-spend-ai-settings branch June 29, 2026 11:49
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants