feat(app): polish workspace tabs and changes

Size tabs from rendered labels and switch to horizontal overflow once minimum click targets are reached, keeping the add-tab action adjacent until it must remain fixed.

Make Changes an always-expanded document with an optional desktop navigation tree, keep Git actions in their platform-owned headers, remove pinned and inline split shortcuts, and place review tabs beside Changes.
This commit is contained in:
Mohamed Boudra
2026-08-17 21:14:37 +02:00
parent 6d7606160e
commit 75adf53893
41 changed files with 929 additions and 1901 deletions
File diff suppressed because it is too large Load Diff
+3 -4
View File
@@ -1,19 +1,18 @@
import { GitActionsSplitButton } from "@/git/actions-split-button";
import { useGitActions } from "@/git/use-actions";
import { GIT_ACTION_ICONS } from "@/git/action-icons";
import { useGitActions } from "@/git/use-actions";
interface WorkspaceActionsProps {
serverId: string;
cwd: string;
hideLabels?: boolean;
}
export function WorkspaceActions({ serverId, cwd, hideLabels }: WorkspaceActionsProps) {
export function WorkspaceActions({ serverId, cwd }: WorkspaceActionsProps) {
const { gitActions } = useGitActions({
serverId,
cwd,
icons: GIT_ACTION_ICONS,
});
return <GitActionsSplitButton gitActions={gitActions} hideLabels={hideLabels} />;
return <GitActionsSplitButton gitActions={gitActions} />;
}