Repository navigation
feat(web): put the project sidebar in the room in place of the rail, plan panel and tab strip - #335
Closed
pratikbuilds wants to merge 14 commits into
Closed
pratikbuilds wants to merge 14 commits into
pratikbuilds wants to merge 14 commits into
Conversation
|
Triage: Fail @pratikbuilds, please address the following:
Stacked on #306: only this pull request's own changes were checked. |
pratikbuilds
force-pushed
the
document-comments-storybook
branch
from
November 20, 2026 14:19
dea718d to
f30ecf0
Compare
pratikbuilds
force-pushed
the
room-sidebar
branch
from
November 20, 2026 14:19
d185ef7 to
5ed2f8c
Compare
The live app's and the draft's tab names already live in tab-follow.ts; the filed mockup's and the user manual's join them, so whatever opens a tab names it the way the pane does.
project-outline.ts reads the hub's plan, the filed documents with the design's mockup and concepts, and the live app's state, and returns the sidebar's Plan, Files and Live, with sample projects for its tests.
A tab the room asks for now goes through the pane's own choice, so a document, the design's mockup, a concept or the app open the same way whoever asks. The pane says which tab it shows, and prints a document the room names once it has read it.
Inside a project the sidebar from the Storybook stands beside the page: Plan lists the hub plan's steps, with Ask me first, Decline and Go ahead in a step's menu; Files lists what the project view can open; Live says how the app runs, with Open app. A file or Live opens the project view on it, and in the view a click changes what it shows. In a narrow room the sidebar is a drawer. project-sidebar.model.ts reads the app's state through the live app's own query, runs the project's outline and hands the sidebar its props; room.model.ts only adds it. The plan panel and its Plan button go.
The room's own sidebar now leads to the other projects, Settings and the account, so inside a project the rail steps aside and the canvas is only the ground the room stands on. A project that could not be opened keeps the rail, as the way back.
Every place a tab opened now has a row in the project sidebar, with print and remove in the row's menu, so the project view keeps only its close button. Plugin panes stay until their screens move out of the view.
An ask-first step waiting on the person gets a Go ahead item in its row menu, so it never sits stuck now the plan panel that held the button is gone. The prompt box takes this over in the next change, which drops this commit's goAhead flag and onGoAhead with it.
The view's own header held only a close button over the page. The project control in the room's top bar opens and closes the view, and Escape still goes back to the conversation.
Main's new cached-reads test renders the workspace without the project sidebar's links, which the room now needs.
pratikbuilds
force-pushed
the
room-sidebar
branch
from
November 20, 2026 16:53
5ed2f8c to
5881c6f
Compare
pratikbuilds
force-pushed
the
document-comments-storybook
branch
from
November 20, 2026 16:53
f30ecf0 to
234e614
Compare
This was referenced Nov 21, 2026
Contributor
Author
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.
PR 1 of 5 in the room revamp, stacked on the Storybook PRs. Base: #306. Needs nothing beyond #303–#306. Plan: Builder UI revamp, section "PR 1: the sidebar in the room".
What changed
Inside a project,
ProjectSidebarViewfrom #303 takes the place of the app's rail, the plan panel and the project view's tab strip.project-outline.ts(new logic file, with tests and sample projects): what each step has done, and what files the project has.project-sidebar.model.tsreads the hub and hands the sidebar its props;room.model.tsonly puts it together.PlanPanel, the Plan button and its meter, the rail inside a project,PanelTabsand its tab menu.apps/web/AGENTS.md: "tab" becomes "sidebar row", "tab menu" becomes "row menu".What behaves differently
Design
Figma: lo-fi of the room and the #303 section.
How to test
Run it: check out
room-sidebar, thenbun install,bun run dev, andbun run dev:seed -- --fixture=habit-tracker --stage=ready_to_build. Open the habit-tracker project.…menu shows Ask me first and Decline.…menu has Print and prints only the document.Storybook (
bun run --cwd apps/web storybook): Screens/Workspace/Room → ProjectOpen, OpenFileKeepsMessage, SidebarClosed, NarrowDrawer, AppRunning, AppStopped, AppFailed, ProjectOpenDark; Screens/Workspace/ProjectSidebar → StepMenu, FileMenu, FileStates.How it was verified
bun --conditions=intx-src test ./apps/web/src ./packages: 270 pass.Not exercised