Skip to content

fix(organizations): show all sidebar chats - #7697

Merged
waleedlatif1 merged 1 commit into
stagingfrom
codex/org-chat-list
Sep 9, 2026
Merged

fix(organizations): show all sidebar chats#7697
waleedlatif1 merged 1 commit into
stagingfrom
codex/org-chat-list

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Show all organization chats in the sidebar and remove the See more/See less controls and unused pagination state.
  • Keep workspace-list pagination and existing chat actions unchanged.

Type of Change

  • Bug fix

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

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 9, 2026 11:22pm UTC

Request Review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@waleedlatif1
waleedlatif1 merged commit f5e28a1 into staging Sep 9, 2026
25 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/org-chat-list branch September 9, 2026 23:23
@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This 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.

  • Removes the five-chat display limit and See more/See less controls.
  • Preserves active-route highlighting, rename handling, menus, and other chat actions.
  • Updates tests to assert that all chats render in both standard and collapsed sidebar states.

Confidence Score: 5/5

The 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.

Important Files Changed

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

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