The git surfaces leave the glass — tab, trail, branch line, and the remote pair, peeled
Step 3 of strategy/01-git-excision.md: the popover strip is Info/Theme/Sync, the titlebar widget says the name alone, the card window's History section and its slot go, Board ▸ Pull/Push comes out with the RemoteCommands scaffold, and View ▸ History re-tags from the commit trail to the deferred foreign-change journal. The Sync placeholder re-annotates to the future ops-based sync service. Four git test suites leave with the surfaces they pinned (BoardGitSetup, BoardInfoPopover, BranchSwitch, GitUndo). The git engine still compiles underneath, unreferenced by UI. 2,890 tests green. Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy
This commit is contained in:
@@ -98,10 +98,12 @@ struct FindSteppingCommands: View {
|
||||
/// did not move, the validation and the action filled in — and the pair also carries the clause that
|
||||
/// joins them, "Edit Body disables while Raw Source is active" (05-card-window.md).
|
||||
///
|
||||
// m7-git: History is a plain command that focuses the sidebar's History section, and disables
|
||||
// outright on mode `none` / repo-nested boards once that section exists (05-card-window.md,
|
||||
// 07-sync-collab.md). It remains unconditionally disabled here — the sidebar reserves the section's
|
||||
// place (`CardWindowView.historySlot`) but draws nothing, so there is still no surface to focus.
|
||||
// View ▸ History used to anticipate the sidebar's git commit-trail section (`CardWindowView`),
|
||||
// which left with app-managed git (strategy/01-git-excision.md, 2026-08-08). The row is re-tagged
|
||||
// rather than removed: it now anticipates the foreign-change journal successor (01-git-excision.md
|
||||
// ▸ Successors — deferred, its design and timing not yet ruled). It stays unconditionally disabled
|
||||
// here — there is no journal yet to focus — and the sidebar no longer reserves a place for it; the
|
||||
// row itself is the only surviving reservation of the slot.
|
||||
/// The comments pane's two rows join them (11-command-nexus.md lists Show Comments and Comments
|
||||
/// Beside Body between Edit Body and Raw Source): both are live, both are app-wide persisted bits,
|
||||
/// and both are scoped to the card window (`ShowCommentsCommand`, `CommentsBesideBodyCommand`).
|
||||
@@ -114,19 +116,3 @@ struct CardViewCommands: View {
|
||||
FutureCommand(title: "History")
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Board ▸ Pull / Push
|
||||
|
||||
/// Board ▸ Pull / Push — no default chord, remote-backed boards only (11-command-nexus.md;
|
||||
/// 07-sync-collab.md: "also Board-menu items").
|
||||
///
|
||||
// m7-git: menu-bar twins of the board popover's own Pull/Push buttons (07-sync-collab.md).
|
||||
// Validation will be remote-mode plus 06's abnormal-state pause ("disabled during 06's
|
||||
// abnormal-state pause ... and on an unresolvable remote" — 11-command-nexus.md). Unconditionally
|
||||
// disabled here: there is no remote model, no popover twin, and no git mode to validate against yet.
|
||||
struct RemoteCommands: View {
|
||||
var body: some View {
|
||||
FutureCommand(title: "Pull")
|
||||
FutureCommand(title: "Push")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user