mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-14 13:49:18 +02:00
Jiayuan's interactive review of PR #2914 surfaced three changes to the RFC's D1 (entry / visual) decisions: 1. Drop the ⌘⇧P global shortcut — it added a keybinding for a low-frequency action and crowded the shortcut namespace. 2. Reveal a Pin / Unpin button on tab hover instead of relying on the right-click menu as the primary entry; right-click remains as a fallback (and for Close). 3. Pinned tabs keep their full title and width. The only weak visual differences vs. unpinned tabs are the accent left border and the suppressed X close button. Removes the global keydown listener (no other doc / handler referenced it). Adds a hover-only Pin / Unpin span next to the existing close affordance, both gated by group-hover. Drops the icon-only width / hidden-title styling for pinned tabs. Tests: new tab-bar.test.tsx covers Pin / Unpin button rendering, click handlers (togglePin), the hidden-X invariant on pinned tabs, and the full-title rendering. 146 passed, typecheck clean. Co-authored-by: multica-agent <github@multica.ai>