Repository navigation
feat(web): open project settings from thread menus - #8925
Merged
maria-rcks merged 4 commits intoSep 1, 2026
Merged
Conversation
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.
What Changed
Project settingsaction to thread context menus in the current and legacy sidebars.Why
Opening project settings from a thread currently requires finding its project separately in the sidebar. The thread already identifies its project, so the context menu can navigate there directly.
UI Changes
Before
After
Destination
Testing
Checklist
Made with GPT-5.6-Sol in T3 Code using the Codex harness.
Note
Low Risk
Navigation-only UI wiring with existing project-key resolution; wrong settings page would be the main failure mode if grouping keys were stale.
Overview
Adds a Project settings action to thread context and action menus so users can jump straight to the project settings page from a thread.
The new item is defined in
threadActionMenu.logic(after Copy, before Archive) with asettingsicon in the context-menu fallback. Choosing it navigates to/projects/$projectKey, closes the mobile sidebar when needed, and is wired in the main sidebar, legacy sidebar, anduseThreadActionMenu(chat header). Grouped sidebar projects resolve the correct logicalprojectKeyviaprojectGroupsRefand the physical-to-logical map; legacy sidebar uses the row’sproject.projectKey.Tests cover menu ordering and presence when lifecycle capabilities are disabled.
Reviewed by Cursor Bugbot for commit 450fa8b. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add 'Project settings' item to thread context and action menus
project-settingsentry to the thread action menu, positioned after 'Copy' and before 'Archive', with asettingsicon in the fallback context menu/projects/$projectKeyfrom the sidebar, legacy sidebar, and chat header thread action menu; the sidebar closes on mobile when applicableuseThreadActionMenuhook resolves the logical project key via a physical-to-logical project map that respects current grouping settings, falling back to derivation when the map lacks an entryuseThreadActionMenurelies on a newprojectGroupsRefin Sidebar.tsx to avoid stale closures; if the ref is not kept in sync, the wrong project group may be selectedMacroscope summarized 450fa8b.