feat(workspace): add M1 Home & Posts list — nav rail, posts mirror, Home repoint (fixes #17)
The post-gate main surface is the workspace shell from the design
contract: nav rail (Posts/Sessions/Learnings/Settings), Posts pane
mirroring <home>/posts/ on disk (Pass State groups, origin meta,
empty state; lazy folders skipped), Settings pane with repoint-only
Home picking (NSOpenPanel + UserDefaults, default ~/Documents/Museion
per b3daac9), placeholder panes until #28/#26. Column collapse
mirrors the export's media queries so narrow windows never clip.
Mentor pane becomes the fourth column (#14 surface preserved).
[Generated by AI]
This commit is contained in:
1 parent
b3daac9486
commit
804b5889f6
15 files changed
+762
-5
No files matched your search
@@ -35,11 +35,11 @@ struct ContentView: View {
|
||||
@Bindable var gate = gate
|
||||
|
||||
Group {
|
||||
// #14: post-gate main surface is the mentor debug pane (M0 demo
|
||||
// surface, map decision: pane placement). Gate pass hands over the
|
||||
// probe's winning binary — no re-probe.
|
||||
// #17: post-gate main surface is the workspace shell (nav rail +
|
||||
// Posts/Sessions/Learnings/Settings). Gate pass hands over the probe's
|
||||
// winning binary — no re-probe.
|
||||
if gate.gateModel.currentBinaryPath != nil {
|
||||
MentorPaneView(model: gate.mentor, binaryPath: gate.gateModel.currentBinaryPath)
|
||||
WorkspaceView()
|
||||
} else {
|
||||
VStack(spacing: 8) {
|
||||
Image(systemName: "books.vertical")
|
||||
|
||||
Reference in new issue
Block a user