Repository navigation
fix(ui): refine chat and team workspace layout - #497
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 936f6815f6
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| }) { | ||
| const { t } = useTranslation("common"); | ||
| const [open, setOpen] = useState(false); | ||
| const [open, setOpen] = useState(true); |
There was a problem hiding this comment.
Avoid polling every historical recruitment card
When a conversation contains multiple recruitment events, initializing every card as open enables useChatTeamRun for every mounted card, including cards far offscreen. That hook schedules another read every 2 seconds for running runs and every 5 seconds even for completed runs (useChatTeamRun.ts:16-31), so a long team conversation now generates an unbounded number of redundant native requests—often several polling the same cumulative run. Keep the expanded presentation without enabling continuous polling for every historical card, for example by polling only visible/current cards or sharing polling by run ID.
Useful? React with 👍 / 👎.
Chat and Team activity competed with large headers, heavy labels, and repeated separators. This change aligns the Team workspace with the shared Sidecar, introduces a compact header and inset reading surface, and gives messages clearer separation from routine activity. Recruitment cards open expanded, and the redundant recent-team history shortcut is removed.
The composer Tools button and its menu are removed. MCP submission continues to follow catalog availability and permissions, including explicit denial. Model selection, attachments, recorded task states, and activity disclosure remain available.
Validation:
npm run analyze:frontend:cigate passed against the staged source snapshot: 1205 tests across 185 files, typecheck, lint, source analysis, production build, and bundle budgets.