fix(web): diff panel opens on all branch changes, not just uncommitted (#15005)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
8283b481a3
commit
d1034d62b2
18 files changed
+611
-176
No files matched your search
@@ -10,7 +10,8 @@ export type DiffPanelSelection =
|
||||
| { kind: "unstaged" }
|
||||
| { kind: "turn"; turnId: RunId; filePath: string | null; revealRequestId: number };
|
||||
|
||||
const DEFAULT_SELECTION: DiffPanelSelection = { kind: "unstaged" };
|
||||
// "branch" is the Changes view: everything this checkout changed since its base.
|
||||
const DEFAULT_SELECTION: DiffPanelSelection = { kind: "branch", baseRef: null };
|
||||
|
||||
interface DiffPanelStoreState {
|
||||
byThreadKey: Record<string, DiffPanelSelection>;
|
||||
|
||||
Reference in new issue
Block a user