a very good jj gui
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add view mode and inline jump atoms

+8
+8
apps/desktop/src/atoms.ts
··· 2 2 3 3 export const shortcutsHelpOpenAtom = Atom.make(false); 4 4 export const aceJumpOpenAtom = Atom.make(false); 5 + // Inline jump mode: when active, shows jump hints on visible revision change IDs 6 + // Stores the typed query prefix (empty string = initial state showing first letters) 7 + export const inlineJumpQueryAtom = Atom.make<string | null>(null); 5 8 // When set, shows only the stack (ancestors) from this change_id down to trunk 6 9 export const stackViewChangeIdAtom = Atom.make<string | null>(null); 10 + // View mode: 1 = overview (only revisions), 2 = split (revisions + diff panel) 11 + export type ViewMode = 1 | 2; 12 + export const viewModeAtom = Atom.make<ViewMode>(2); 13 + // Tracks which revision stacks are expanded (by stack ID) 14 + export const expandedStacksAtom = Atom.make(new Set<string>());