fix(posts): bind rides the WorkspaceView root task (#179 follow-up)
CI / ci (push) Canceled after 0s
CI / ci (pull_request) Canceled after 0s

The pane-local PostsPaneView .task(id: home) unmounted with the Posts
pane, leaving watchedHome stale after a Settings Home repoint while the
Archive pane and every root sheet (import / new project / convert) kept
writing through it. The bind now rides the WorkspaceView root task:
first frame + every repoint, whichever pane is showing. Comments and
the Museion/AGENTS.md bullet name the one writer honestly.

Follow-up to #179 (5bf0955) from the PR #185 finish-audit; PR #185
closed as superseded — two complete implementations of the same ticket,
main's stack carries six commits on top. Suite 681/681, lint parity.
This commit is contained in:
AlexKucera committed 2026-11-10 16:56:17 +01:00
1 parent a3ef007562
commit b8089534cf
7 files changed
+43 -10

No files matched your search

-4
View File
@@ -85,10 +85,6 @@ struct PostsPaneView: View {
}
}
}
.task(id: home) {
// Bind: initial off-main scan + (re)start the FSEvents watcher (#61).
model.bind(home: home)
}
// #33 (S6.1): the publish ask rides the pane (not the library
// column) — it targets the open piece.
.sheet(isPresented: $showingPublish) {