fix(organizations): show all sidebar chats - #7697
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Greptile SummaryThis PR removes client-side pagination from the organization sidebar’s chat section so every organization chat supplied by the unbounded organization-chat query is displayed.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness, security, or repository-rule issues identified. The upstream organization-chat query returns the full ordered collection without a limit, the enclosing sidebar remains scrollable, and the updated component tests cover rendering beyond the removed page size while preserving existing actions.
|
| Filename | Overview |
|---|---|
| apps/sim/app/o/[organizationId]/components/organization-sidebar/components/chats-section/chats-section.tsx | Replaces paginated chat rendering with a direct map over the complete chat collection while retaining existing row actions. |
| apps/sim/app/o/[organizationId]/components/organization-sidebar/components/chats-section/chats-section.test.tsx | Updates sidebar tests for unpaginated rendering and verifies active-state behavior on a chat beyond the former five-item limit. |
Reviews (1): Last reviewed commit: "fix(organizations): show all sidebar cha..." | Re-trigger Greptile
Summary
Type of Change
Testing
All 21 organization sidebar tests passed, including chat actions, active-chat visibility, collapsed lists, and workspace pagination. Lint, all 46 repository audits, block registry validation, and docs manifest checks passed. No migrations changed.
Checklist