René's URL Explorer Experiment


Title: feat(site): unify agent settings pages with CollapsibleSection cards by DanielleMaywood · Pull Request #23970 · coder/coder · GitHub

Open Graph Title: feat(site): unify agent settings pages with CollapsibleSection cards by DanielleMaywood · Pull Request #23970 · coder/coder

X Title: feat(site): unify agent settings pages with CollapsibleSection cards by DanielleMaywood · Pull Request #23970 · coder/coder

Description: 🤖 This PR was written by Coder Agent on behalf of Danielle Maywood 🤖 Unifies agent settings UI around a consistent CollapsibleSection card pattern and merges the Limits + Usage pages into a single Spend page. Spend page (/agents/settings/spend): merges the old Limits and Usage pages into one view with three collapsible sections — default spend limit, group limits, and per-user spend with drill-in. Old routes redirect. Behavior page: every section (Instructions, Context compaction, System Instructions, Virtual Desktop, Workspace Autostop, Kyleosophy) now uses CollapsibleSection cards instead of flat

headers with
dividers. Admin sections show AdminBadge inline with the title. Toggle switches sit in the header action slot. Cancel/Save buttons are always visible (disabled when idle) for consistency. CollapsibleSection component: bordered card with clickable header (title, description, badge, action slots), chevron toggle,
divider. Uses items-center for title-only headers, items-start when a description is present. Action slot stops propagation so interactive controls don't toggle the section. Other changes: URL-based DateRangePicker on the personal Analytics page Sidebar: "Limits" + "Usage" → "Spend", "Analytics" → "Insights" Standardized space-y-6 layout across all agent settings pages AvatarData: added min-w-0 to flex containers so truncation works in constrained layouts Conversation titles in drill-down tables truncate with tooltip on hover User names in spend table truncate with tooltip on hover Implementation details Navigation Before After Limits (/agents/settings/limits) Spend (/agents/settings/spend) Usage (/agents/settings/usage) (redirects to Spend) Deleted files AgentSettingsLimitsPage.tsx, AgentSettingsUsagePage.tsx, AgentSettingsUsagePageView.tsx AgentSettingsUsagePageView.stories.tsx LimitsTab/LimitsTab.tsx, LimitsTab/index.ts Key decisions border-solid required on all visible borders (codebase convention) No bg-surface-secondary on CollapsibleSection cards (per design review) Tables bleed via -mx-4 only on Analytics page; Spend/drill-down tables use default Table styling Sub-components gained hideHeader?: boolean to suppress built-in headers when wrapped in CollapsibleSection AdminBadge has ml-auto — neutralized in CollapsibleSection with [&>*]:ml-0 wrapper

Open Graph Description: 🤖 This PR was written by Coder Agent on behalf of Danielle Maywood 🤖 Unifies agent settings UI around a consistent CollapsibleSection card pattern and merges the Limits + Usage pages into a single...

X Description: 🤖 This PR was written by Coder Agent on behalf of Danielle Maywood 🤖 Unifies agent settings UI around a consistent CollapsibleSection card pattern and merges the Limits + Usage pages into a single...

Opengraph URL: https://github.com/coder/coder/pull/23970

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a51175e1-f50c-00ac-1728-4fcc127fbbf8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id990E:269AD9:1B4F8B2:2472AB2:6B015D9A
html-safe-noncee4913ccc3742b12980e9346190a439bc105991be411e683832045f0a457b8c9c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTBFOjI2OUFEOToxQjRGOEIyOjI0NzJBQjI6NkIwMTVEOUEiLCJ2aXNpdG9yX2lkIjoiMTA4ODIwNzg1OTc2MzczMTg2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7e96cfbb57c0f858cfbd26a8251ff994db3d706ac1abc5ae98f3cbc44916b1cd
hovercard-subject-tagpull_request:3481915574
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/coder/pull/23970/files
twitter:imagehttps://avatars.githubusercontent.com/u/40153966?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40153966?s=400&v=4
og:image:alt🤖 This PR was written by Coder Agent on behalf of Danielle Maywood 🤖 Unifies agent settings UI around a consistent CollapsibleSection card pattern and merges the Limits + Usage pages into a single...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/coder/pull/23970/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F23970%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F23970%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/23970/files
Reloadhttps://github.com/coder/coder/pull/23970/files
Reloadhttps://github.com/coder/coder/pull/23970/files
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose
DanielleMaywoodhttps://github.com/DanielleMaywood
mainhttps://github.com/coder/coder/tree/main
danielle/merge-spend-pageshttps://github.com/coder/coder/tree/danielle/merge-spend-pages
Conversation 1 https://github.com/coder/coder/pull/23970
Commits 1 https://github.com/coder/coder/pull/23970/commits
Checks 28 https://github.com/coder/coder/pull/23970/checks
Files changed https://github.com/coder/coder/pull/23970/files
Please reload this pagehttps://github.com/coder/coder/pull/23970/files
feat(site): unify agent settings pages with CollapsibleSection cards https://github.com/coder/coder/pull/23970/files#top
Show all changes 1 commit https://github.com/coder/coder/pull/23970/files
5262cc7 feat(site/AgentsPage): merge Limits + Usage into unified Spend page DanielleMaywood Apr 2, 2026 https://github.com/coder/coder/pull/23970/commits/5262cc7acd4a25ff8cf2b708aa9152314d3e9a4b
Clear filters https://github.com/coder/coder/pull/23970/files
Please reload this pagehttps://github.com/coder/coder/pull/23970/files
Please reload this pagehttps://github.com/coder/coder/pull/23970/files
AvatarData.tsx https://github.com/coder/coder/pull/23970/files#diff-449088642cd39ccb6de805a1613b7f1caf8e3926b8558c1439a7271b63767ff4
AgentAnalyticsPage.tsx https://github.com/coder/coder/pull/23970/files#diff-0ab916637ed670a595cdd050c5800de906c179fc3b90ee21adfb7cff737078c3
AgentAnalyticsPageView.tsx https://github.com/coder/coder/pull/23970/files#diff-d0dcd86e20ece5188a1aae8261025895380806cd4ee6be9caff3427dea0dc16c
AgentSettingsBehaviorPageView.tsx https://github.com/coder/coder/pull/23970/files#diff-4e63085c4dbfa18b89961d1369f72d7a6ab00b1631dae50296dba1ceeebb4dfc
AgentSettingsLimitsPage.tsx https://github.com/coder/coder/pull/23970/files#diff-388a2c46627d29aa45f18abb5e6488da355ee50047677104eaecae701b16c646
AgentSettingsSpendPage.tsx https://github.com/coder/coder/pull/23970/files#diff-0e5436567f6c1686801cb79c12536e022a898ce94e41ee103d3a5b3387ef5340
AgentSettingsSpendPageView.stories.tsx https://github.com/coder/coder/pull/23970/files#diff-7b2b4bc273f984b529fc2ecfc72c8c7eb82a100073920fac053dbe41590e869e
AgentSettingsSpendPageView.tsx https://github.com/coder/coder/pull/23970/files#diff-35dd5988b2d72ef48ef07afc520db1378520522d0d12386df8ed8b50c311bf02
AgentSettingsUsagePageView.tsx https://github.com/coder/coder/pull/23970/files#diff-3f3df11ad018f7af18d893ac41e797ca1c804de57c5a32ca32d763fe44570755
AgentsPageView.stories.tsx https://github.com/coder/coder/pull/23970/files#diff-26221312ef13dbe3d5d9358b55253f5302e517d3edc561a487dd9c9d9a63fab2
ChatCostSummaryView.tsx https://github.com/coder/coder/pull/23970/files#diff-d3c2d0605357d4ce138fede92e59b0d9afca3e4ce074a662b95352e4409625ad
ChatModelAdminPanel.tsx https://github.com/coder/coder/pull/23970/files#diff-9a6c0b6a25a2c15f93b4a21aa9ad9786d64964f36f9b823ee2cef0c7f94f416b
CollapsibleSection.stories.tsx https://github.com/coder/coder/pull/23970/files#diff-34477ef03336ec80a5ad797f4d979c42c37a12e5f0631edc27f64ff8ec7ecf7f
CollapsibleSection.tsx https://github.com/coder/coder/pull/23970/files#diff-695b1184c12b7e4bdb64e97e46334b4a1b6cd33903a5ef29aee7181c567a0afb
DefaultLimitSection.tsx https://github.com/coder/coder/pull/23970/files#diff-c51ad49c904d0410008389ee49ea62dd72f01e3bcd633cc558cd55169ac4982e
GroupLimitsSection.tsx https://github.com/coder/coder/pull/23970/files#diff-b18e6dbce8168087d9b4a04529bd7f43727e98cb0444db7979ecf6fc9a10f36f
LimitsTab.tsx https://github.com/coder/coder/pull/23970/files#diff-a20f8af0b9d17094d919db3afc86e486494f51e5e930a4572357e31fb8a2b4a2
UserOverridesSection.tsx https://github.com/coder/coder/pull/23970/files#diff-42d88202d977d9162057f8117ec00228cb52a366046221244c65abc8d68316b1
index.ts https://github.com/coder/coder/pull/23970/files#diff-8fe138442262744dd2e0ddd9473ca536e241bcdb0620f0e1957702925c79fa1a
MCPServerAdminPanel.tsx https://github.com/coder/coder/pull/23970/files#diff-4bafcdd8498d77e6c004d2be17d29e1224927fa0c0937fe4164bd546bf72c1a9
PRInsightsView.tsx https://github.com/coder/coder/pull/23970/files#diff-c546c62599c5ce15fe1834f3ebbf50bb5b2154bccf60099f5ac872d67cefb6bc
SectionHeader.tsx https://github.com/coder/coder/pull/23970/files#diff-83d6f450f6ecdc815962b1aabdf87f929e83b2c1cb58a93e328f021d255ce494
AgentsSidebar.tsx https://github.com/coder/coder/pull/23970/files#diff-6c75a6215f76f9b86764eb6e078f5119d9964e66d9d54aa001027e99c46a4aa0
UserCompactionThresholdSettings.tsx https://github.com/coder/coder/pull/23970/files#diff-3280a6eee793b35bce56781954824c28204e1674353ac482396c4c53f9b2498a
dateRange.ts https://github.com/coder/coder/pull/23970/files#diff-10c9974b7eca9b1544822f4f68ca0d74531bbfa797ad3be8f33ee239c3f9f31b
router.tsx https://github.com/coder/coder/pull/23970/files#diff-d89f36b8cdae08c93c3e7624c0c39db2472d5ed22ad7dffc17927dca57f4c045
site/src/components/Avatar/AvatarData.tsxhttps://github.com/coder/coder/pull/23970/files#diff-449088642cd39ccb6de805a1613b7f1caf8e3926b8558c1439a7271b63767ff4
View file https://github.com/coder/coder/blob/5262cc7acd4a25ff8cf2b708aa9152314d3e9a4b/site/src/components/Avatar/AvatarData.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/23970/{{ revealButtonHref }}
https://github.com/coder/coder/pull/23970/files#diff-449088642cd39ccb6de805a1613b7f1caf8e3926b8558c1439a7271b63767ff4
https://github.com/coder/coder/pull/23970/files#diff-449088642cd39ccb6de805a1613b7f1caf8e3926b8558c1439a7271b63767ff4
https://github.com/coder/coder/blob/main/CODEOWNERS#L31
site/src/pages/AgentsPage/AgentAnalyticsPage.tsxhttps://github.com/coder/coder/pull/23970/files#diff-0ab916637ed670a595cdd050c5800de906c179fc3b90ee21adfb7cff737078c3
View file https://github.com/coder/coder/blob/5262cc7acd4a25ff8cf2b708aa9152314d3e9a4b/site/src/pages/AgentsPage/AgentAnalyticsPage.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/23970/{{ revealButtonHref }}
https://github.com/coder/coder/pull/23970/files#diff-0ab916637ed670a595cdd050c5800de906c179fc3b90ee21adfb7cff737078c3
https://github.com/coder/coder/pull/23970/files#diff-0ab916637ed670a595cdd050c5800de906c179fc3b90ee21adfb7cff737078c3
https://github.com/coder/coder/pull/23970/files#diff-0ab916637ed670a595cdd050c5800de906c179fc3b90ee21adfb7cff737078c3
https://github.com/coder/coder/blob/main/CODEOWNERS#L31
site/src/pages/AgentsPage/AgentAnalyticsPageView.tsxhttps://github.com/coder/coder/pull/23970/files#diff-d0dcd86e20ece5188a1aae8261025895380806cd4ee6be9caff3427dea0dc16c
View file https://github.com/coder/coder/blob/5262cc7acd4a25ff8cf2b708aa9152314d3e9a4b/site/src/pages/AgentsPage/AgentAnalyticsPageView.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/coder/pull/23970/{{ revealButtonHref }}
https://github.com/coder/coder/pull/23970/files#diff-d0dcd86e20ece5188a1aae8261025895380806cd4ee6be9caff3427dea0dc16c
Please reload this pagehttps://github.com/coder/coder/pull/23970/files
Please reload this pagehttps://github.com/coder/coder/pull/23970/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.