Skip to content

refactor(site/src/pages/AgentsPage): share setup notice component#26134

Draft
DanielleMaywood wants to merge 1 commit into
mainfrom
codagt-498-agent-setup-notice
Draft

refactor(site/src/pages/AgentsPage): share setup notice component#26134
DanielleMaywood wants to merge 1 commit into
mainfrom
codagt-498-agent-setup-notice

Conversation

@DanielleMaywood
Copy link
Copy Markdown
Contributor

@DanielleMaywood DanielleMaywood commented Jun 8, 2026

Extracts the duplicated agent setup notice selection logic from the chat and create pages into a shared AgentSetupNoticeBanner component.

Both pages now pass the same admin, provider count, and model count inputs to the component, so future changes to the admin/member setup notice conditions only need to happen in one place.

Refs #25714

Note

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

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Jun 8, 2026

CODAGT-498

@DanielleMaywood DanielleMaywood force-pushed the codagt-498-agent-setup-notice branch from 0ecf9c6 to fb8ff4b Compare June 8, 2026 11:46
@DanielleMaywood DanielleMaywood changed the title refactor(site/src/pages/AgentsPage): share setup notice logic refactor(site/src/pages/AgentsPage): share setup notice component Jun 8, 2026
@DanielleMaywood DanielleMaywood force-pushed the codagt-498-agent-setup-notice branch from fb8ff4b to e0e754e Compare June 8, 2026 13:18
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