feat(app): library-first shell with permanent Sidebar#124
Merged
Conversation
d59f16f to
07e32e3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Spool's old shell was a single-pane search box with results filling the whole window. As the product moves toward "your AI session library", the right primary surface is browsing — by project — with search as a dedicated overlay. That requires a permanent Sidebar listing every project, with one-click drill-in.
What this PR does
Adds a
Sidebarcomponent driven byproject_groups_v(introduced earlier in this stack) and the IPC plumbing to expose project groups to the renderer. The right pane now swaps content based on what was clicked: home feed, project view, search results, or session detail.The window's
minWidthis bumped to 800px because the sidebar plus content needs more horizontal real estate than the old single-pane layout — anything narrower starts truncating project names aggressively. This is a deliberate trade-off: smaller windows are not a primary use case for a session library.How it connects
This is the visual skeleton. It is intentionally light on content — the project page, search overlay, and library landing all land in subsequent PRs. Submitting them on top of this branch keeps each one reviewable in isolation.
The Sidebar talks only to
project_groups_v. It does not know about session content; clicking a row dispatches anidentity_keyupward and lets the parent decide what to render in the content pane.Test plan