feat(app): add dynamic sidebar sorting for active projects and sessions#11758
feat(app): add dynamic sidebar sorting for active projects and sessions#11758mguttmann wants to merge 8 commits intoanomalyco:devfrom
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
62bed59 to
72bc6b9
Compare
|
Rebased on latest |
CI Status Update ✅All checks are passing:
Ready for review and merge. |
Update: Added Pin/Unpin ProjectsBased on community feedback, I've added the ability to pin projects to the top of the sidebar. What's new:
How it works:
This addresses the use case where users have a handful of projects they work on daily that should always be easy to find, while still benefiting from dynamic sorting for everything else. |
Update: Improved settings label wordingBased on feedback from @stenci, updated the settings description to be shorter and provider-agnostic:
Also fixed all i18n translations — title and description were previously left as English in 13 languages, now properly translated for all 15 supported languages. |
45db5b6 to
3551617
Compare
|
Rebased onto current |
671c85b to
7882105
Compare
6823b73 to
ebfc7e0
Compare
5019527 to
630736d
Compare
69070ad to
b1e019d
Compare
Automatically moves projects and sessions to the top of the sidebar when Claude starts working on them. This makes it easier to track and switch between active work when managing multiple projects. - Add dynamicSort setting to server context with persistence - Track session activity via timestamps to sort active sessions first - Move project to top when any session becomes busy - Add toggle in Settings > General > Desktop section - Include translations for all 15 supported languages
Pinned projects stay at the top of the sidebar and are not displaced by the dynamic sorting when Claude becomes active. Adds pin/unpin toggle to the project dropdown menu with i18n for all 15 languages.
Previously title and description were left as English in all non-DE languages. Now properly translated for all 15 languages. Also updates the description wording to be shorter and provider-agnostic per community feedback.
The persisted store may not contain dynamicSort after upgrade. store.dynamicSort is undefined in that case, causing !undefined === true which makes bringToTop return early. Use ?? true to match the enabled() memo behavior.
Remove duplicate settings.general.section.sounds entries that had English fallback text, and replace English 'Desktop' placeholders with proper native translations in all 13 non-en/de i18n files.
b1e019d to
6d03bae
Compare


Summary
Closes #11759
Automatically moves projects and sessions to the top of the sidebar when Claude starts working on them. This makes it easier to track and switch between active work when managing multiple projects.
Changes
dynamicSortsetting with persistence,bringToTop()function to move active project to topHow it works
Screenshots
The setting appears in the new "Desktop" section under General settings.
Testing