Group tabs for workspaces#116
Merged
saddlepaddle merged 2 commits intomainfrom Nov 21, 2025
Merged
Conversation
Contributor
|
Caution Review failedThe pull request is closed. WalkthroughThis PR introduces per-project workspace grouping and ordering via Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant UI as TopBar/Tabs
participant Hook as useReorderProjects
participant Mutation as TRPC projects.reorder
participant DB as Database
participant Query as workspaces.getAllGrouped
User->>UI: Drag project group header
UI->>Hook: reorderProjects.mutate({ fromIndex, toIndex })
Hook->>Mutation: Execute reorder procedure
Mutation->>DB: Update tabOrder for affected projects
DB-->>Mutation: Success
Mutation-->>Hook: { success: true }
Hook->>Query: Invalidate getAllGrouped cache
Query->>DB: Refetch grouped workspaces
DB-->>Query: Return grouped & sorted data
Query-->>UI: Update workspace groups
UI-->>User: Display reordered groups
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Areas requiring extra attention:
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (12)
Comment |
5657cc1 to
41123dd
Compare
Merged
5 tasks
This was referenced Nov 22, 2025
Closed
Merged
Closed
Merged
Closed
This was referenced Dec 1, 2025
This was referenced Dec 13, 2025
5 tasks
This was referenced Jan 6, 2026
This was referenced Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related Issues
Type of Change
Testing
Screenshots (if applicable)
Additional Notes
Summary by CodeRabbit
Release Notes
New Features
✏️ Tip: You can customize this high-level summary in your review settings.