Repository navigation
D563: retire the Workspaces launcher; its 28 pages light the profile rows that own them (#1164) - #1322
Draft
guillaumelauzier wants to merge 2 commits into
Draft
D563: retire the Workspaces launcher; its 28 pages light the profile rows that own them (#1164)#1322guillaumelauzier wants to merge 2 commits into
guillaumelauzier wants to merge 2 commits into
Conversation
…rows that own them (#1164) S1 decided A. The profile sidebars keep the rows their canvases draw. Each of the launcher's 28 pages joins the match list of the row that owns it, and that row's overview links it under "Also in". The command palette still indexes all 28 on an admin shell, and every page keeps its route. - PAGE_HOMES / alsoInFor in lib/adminPlacement.js hold the mapping; the launcher tier is renamed palette. - workspaces/AlsoIn.jsx is drawn by BucketBoard, BucketOverview, the founder Validate/Raise/Grow desks and the investor Portfolio canvas. - A founder on /liquidity is sent to /raise/liquidity?mode=workspace, the same LiquidityPage inside Raise. Partners and investors still land on /liquidity. - /advisory keeps its route (a working page); it is now labelled "Advisory" instead of "AI Advisory Suite". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q6MrbLAt5ETsDnEUFNzVSQ
|
Preview: https://studioos-pr-1322.guillaumelauzier.workers.dev (built from 49f4d5e) The pull request's SPA build on a Worker with no bindings: pages and deep links work, |
…orkspaces-launcher # Conflicts: # documentation/architecture/PROFILE_ROUTING.md Co-authored-by: Guillaume Lauzier <guillaumelauzier@users.noreply.github.com>
Contributor
Author
|
S1: Review: fix first. The mapping holds up. Every guard column matches
Non-blocking:
Generated by Claude Code |
This branch has not been deployed
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.
Objective
This retires the Workspaces launcher (D284), a top-bar button drawn only on the HQ and Admin shells. Under S1's decision A, each of its 28 pages:
The command palette still lists all 28 on an admin shell. D563.
Closes #1164
Mapping table
"Lab" means the guard is
labRoles(...), which also admits the viewer's own role when their Lab is active. "Also in" means the page joins the row'smatchand is linked from the row's overview./pipeline/scoring/portfolio/risk-matrix/portfolio)/market-intelmatch/signalsmatch/advisory/deals/capital/liquidity/raise/liquidity?mode=workspace(the sameLiquidityPage). Partner and investor keep the page; investor Portfolio, Also in/portfolio/health/portfolio/coverage/portfolio/reserves/portfolio/waterfall/watchlist/legal-capitalLegalEnginePage, a different page/incorporate/compliance/network/network-effectsmatchand tab/my/jobs/services/needsmatch/partner/insightsmatch/partner/office-hoursmatch/comarketing/incorporate/cofounder-agreement/incorporate; #1217 keeps it)/spinout-lab/83bmatch. Code differs: it is already in the Lab's own tree, so there is nothing to redirect to/perksNo page was retired outright.
Implementation
lib/adminPlacement.jsPAGE_HOMESis the mapping as data:[role, row, door]per page.alsoInFor(role, row)reads it.launcherare renamedpalette.WORKSPACE_GROUPSis removed; only the launcher read it.workspaces/AlsoIn.jsxdraws the list. It is rendered by:BucketBoardandBucketOverview, for every bucket root;FounderValidatePage,FounderRaiseDesk,FounderGrowDeskandInvestorPortfolioCanvas.sidebarConfig.jsaddsmatchentries. No row is added and no count moves./legal-capital,/incorporate,/compliance. It drops/liquidity, which a founder can no longer render (D505)./spinout-lab/83b. It is the founder row only, because the partner shell treats any row with amatchas full-bleed./scoring./watchlist,/capital,/liquidity./portfolio/coverage./my/jobs.App.jsx/liquidityare redirected.FounderWorkspaceTabs/raise/liquiditytoo.matchthrough; it used to drop it.Files changed
frontend/src/components/WorkspacesLauncher.jsx: deletedfrontend/src/App.jsx: launcher mount removed; founder/liquidityredirectfrontend/src/lib/adminPlacement.js:PAGE_HOMES,alsoInFor, thepalettetier, the/advisorylabelfrontend/src/lib/paletteIndex.js: commentfrontend/src/sidebarConfig.js:matchlistsfrontend/src/workspaces/AlsoIn.jsx: newfrontend/src/workspaces/BucketBoard.jsx,BucketOverview.jsx: renderAlsoInfrontend/src/pages/founder/FounderValidatePage.jsx,FounderRaiseDesk.jsx,FounderGrowDesk.jsx,pages/investor/InvestorPortfolioCanvas.jsx: renderAlsoInfrontend/src/pages/founder/FounderWorkspaceTabs.jsx: Liquidity tabmatchfrontend/test/workspaces_retired_d563.test.mjs: new.workspaces_launcher_d284.test.mjs,admin_placement_h35.test.mjs,founder_shell.test.mjsandinvestor_shell.test.mjs: updated to the new state.documentation/architecture/decisions/D563.md;ROUTE_MAP.md: a new section with the table, plus the Raise row;PROFILE_ROUTING.md: regenerated;lib/andworkspaces/READMEs.Testing
npm run build: exit 0.npm run test:drift > drift.log 2>&1; echo EXIT=$?: EXIT=0.PAGE_HOMES:match, read SidebarNav's way;<AlsoIn>;sidebarConfig.js,adminPlacement.js,App.jsx,BucketBoard,BucketOverview, the two desks,FounderWorkspaceTabs,AlsoInand the arsenal. The test also fails onmain, which has noPAGE_HOMES.Risks
wrangler.tomlchange./liquiditylink land on the same page under/raise/liquidity?mode=workspace.Dependencies
/incorporate/cofounder-agreement, and this PR leaves that route alone.Agent
S07 · Claude Code
Review requested
guillaumelauzier (owner)
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q6MrbLAt5ETsDnEUFNzVSQ
Generated by Claude Code