Skip to content

refactor(site/src/pages/AgentsPage): fetch workspace options in <ChatPageInput /> - #29118

Merged
jakehwll merged 1 commit into
mainfrom
jakehwll/chatpagecontent-workspaces
Sep 9, 2026
Merged

jakehwll merged 1 commit into
mainfrom
jakehwll/chatpagecontent-workspaces

Conversation

@jakehwll

@jakehwll jakehwll commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Stop drilling workspaceOptions from the chat page into the composer. ChatPageInput now loads the owner-me workspace list and merges in the linked workspace, so the page only passes onWorkspaceChange and mutation-pending.

  • Drop workspaceOptions from AgentChatPage and AgentChatPageView.
  • Seed workspacesKey({ q: "owner:me", limit: 0 }) in chat stories instead of passing the list as a prop.
  • Leave create-chat alone; AgentCreateForm still owns that list.

…tPageInput />`

Stop drilling `workspaceOptions` from the chat page into the composer. `ChatPageInput` now loads the owner-me workspace list and merges in the linked workspace, so the page only passes `onWorkspaceChange` and mutation-pending.

- Drop `workspaceOptions` from `AgentChatPage` and `AgentChatPageView`.
- Seed `workspacesKey({ q: "owner:me", limit: 0 })` in chat stories instead of passing the list as a prop.
- Leave create-chat alone; `AgentCreateForm` still owns that list.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-09-09T04:34:11.648847Z 2faacc1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jakehwll
jakehwll merged commit 6bc033e into main Sep 9, 2026
48 of 49 checks passed
@jakehwll
jakehwll deleted the jakehwll/chatpagecontent-workspaces branch September 9, 2026 14:54
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 9, 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