Skip to content

feat(site/src/pages/AISettingsPage/SpendPage): put the spend search first and narrow the organization picker - #30080

Merged
tracyjohnsonux merged 2 commits into
mainfrom
spend-filter-search-first
Sep 29, 2026
Merged

tracyjohnsonux merged 2 commits into
mainfrom
spend-filter-search-first

Conversation

@tracyjohnsonux

Copy link
Copy Markdown
Collaborator

🤖 This PR was generated by Coder Agents on behalf of @tracyjohnsonux.

On the AI settings User spend page, the organization picker came first in the filter row and grew to take up space. This PR moves the provider/client/model search to the far left and puts the organization picker second, with a fixed width (w-full sm:w-60, the same as the Models page picker).

Only the order and sizing change. Permission gates and behavior are unchanged: the search still shows only to users who can view every session, and the picker still shows only when there is more than one organization.

Verified with the existing SpendPage Vitest suite (30 tests), pnpm check, pnpm lint, and by rendering the Users and Mobile Storybook stories: on desktop the search is first and the org picker is 240px; on mobile the picker wraps to full width.

@tracyjohnsonux
tracyjohnsonux marked this pull request as ready for review September 29, 2026 08:24
@tracyjohnsonux
tracyjohnsonux enabled auto-merge (squash) September 29, 2026 08:26
@tracyjohnsonux
tracyjohnsonux merged commit ede95b8 into main Sep 29, 2026
27 checks passed
@tracyjohnsonux
tracyjohnsonux deleted the spend-filter-search-first branch September 29, 2026 08:46
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 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