Repository navigation
Conversation
The v2 rail is icons only, with each name in a hover tooltip, and plugin tools sit apart from the rest under a divider. Show names by default and list every tool together. A small icon at the bottom closes the rail back to icons for more room, and the choice is remembered. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The v2 layout put every surface in one sidebar: opening Build, Paint or Items replaced the host's chat, and the rail could close to icons only. It now has three columns on a desktop: - A side menu that always shows each tool's name, grouped under the headings the host gives (`SidebarTab.section`); plugin panels list under Plugins, with the plugin directory as "Add plugin" at the end. A host footer (`sideMenuFooter`) is pinned under the entries. The icon-only toggle is gone. - A column for one host tab (`columnTabId`, e.g. the chat), resizable and always on screen. Showing that tab leaves the tool panel as it is. - The work area: the view tabs over the stage, with the picked tool's panel docked over the stage's left edge. The panel has a title and a close button, and Escape closes it once there is no tool in hand or selection to cancel. The level selector and hints move beside it, a host view in the first pane starts after it, and the tool menu stays centred on the pane under its foot. On a phone the layout is unchanged: the column tab is one more sheet. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The camera started at a fixed pose 20 m from the origin, so a large project (a scanned house about 28 m across) opened with the eye on its roof. Once the scene reports ready, the camera now fits the bounds of the project's buildings and scans at the opening angle, and follows them for a few seconds while scans and models finish streaming in. A view saved on the site or a building is used instead, and nothing moves once a pose has been applied (a followed collaborator, a preview's return) or the person has moved the camera. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…el is docked Co-Authored-By: Claude Opus 5.5 <[email protected]>
…hide With the chat column always on screen, a tool panel docked over the stage left the 3D view well under half the window. A tool's panel now takes the chat's place in that column; closing it (or picking the chat in the menu, where it is now listed) brings the chat back. The chat stays mounted while hidden, so a running turn keeps streaming. The side menu has a Hide menu button; a Menu button ahead of the view tabs brings it back, and the choice is remembered. The stage offsets that existed only for the floating panel are gone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The layout and the menu read the shown panel from the same tab list, so they no longer pull it two ways. A project opens on the column's tab (the chat), with the tools one click away, and the Menu button that brings a hidden menu back leads the view bar row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ost's footer right after the entries Co-Authored-By: Claude Opus 5.5 <[email protected]>
…set with the menu hidden The opening frame reset only once per mount, so a second project never framed. The side menu's shortcuts, Paint follow and build-tool reset lived in the menu, so hiding it stopped them, and going back to the chat left a build tool in hand. They now run whether the menu shows or not, and any return to no tool panel puts the build tool down. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mands; a lone column tab still shows The load's fit-scene framed node bounds, without scans, and could override the opening frame, whose follow then pulled the camera back. During the opening, a fit now runs through the opening frame (a saved view stays the opening), and focus, view, frame, top view, orbit or capture end the follow. A host passing only the column's tab now gets its column. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…them never reframes Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ad, across preview Preview swaps the layout and camera controls out, so state kept in them reset on return: the opening frame ran again and moved the camera, and the layout put the chat back over an open tool. The opening's end now lives in the editor store (cleared by each load), and the editor opens on the column's tab once per load, after the saved layout is restored. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pen on the chat as loading starts Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # packages/editor/src/components/editor/editor-layout-v2.tsx # packages/editor/src/components/editor/index.tsx # packages/editor/src/components/ui/sidebar/tab-bar.tsx
…e site's saved view opens first Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f7ed061. Configure here.
| setMode('select') | ||
| } | ||
| }, [isCollapsed]) | ||
| }, [enabled, toolOpen]) |
There was a problem hiding this comment.
Paint stays armed after panel closes
Medium Severity
Closing the tool column only puts down build mode. material-paint stays armed after the close button or picking the column tab, so painting continues on the 3D view with the Paint panel gone and Paint no longer lit.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit f7ed061. Configure here.
| className={cn( | ||
| 'relative h-full shrink-0 flex-col border-border/50 border-r', | ||
| hidden ? 'hidden' : 'flex', | ||
| )} |
There was a problem hiding this comment.
Hidden chat keeps keyboard focus
Medium Severity
The chat column stays mounted and is only CSS-hidden when a tool takes its place, so focus can remain in the off-screen composer. Keystrokes then go to the invisible chat, and Escape in an input is ignored, so the tool panel does not close.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit f7ed061. Configure here.
…hilpitus) (#1279) * editor: show tool names in the side rail The v2 rail is icons only, with each name in a hover tooltip, and plugin tools sit apart from the rest under a divider. Show names by default and list every tool together. A small icon at the bottom closes the rail back to icons for more room, and the choice is remembered. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: side menu, chat column and docked tool panels in the v2 layout The v2 layout put every surface in one sidebar: opening Build, Paint or Items replaced the host's chat, and the rail could close to icons only. It now has three columns on a desktop: - A side menu that always shows each tool's name, grouped under the headings the host gives (`SidebarTab.section`); plugin panels list under Plugins, with the plugin directory as "Add plugin" at the end. A host footer (`sideMenuFooter`) is pinned under the entries. The icon-only toggle is gone. - A column for one host tab (`columnTabId`, e.g. the chat), resizable and always on screen. Showing that tab leaves the tool panel as it is. - The work area: the view tabs over the stage, with the picked tool's panel docked over the stage's left edge. The panel has a title and a close button, and Escape closes it once there is no tool in hand or selection to cancel. The level selector and hints move beside it, a host view in the first pane starts after it, and the tool menu stays centred on the pane under its foot. On a phone the layout is unchanged: the column tab is one more sheet. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: frame the project when it opens The camera started at a fixed pose 20 m from the origin, so a large project (a scanned house about 28 m across) opened with the eye on its roof. Once the scene reports ready, the camera now fits the bounds of the project's buildings and scans at the opening angle, and follows them for a few seconds while scans and models finish streaming in. A view saved on the site or a building is used instead, and nothing moves once a pose has been applied (a followed collaborator, a preview's return) or the person has moved the camera. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: drop the camera hint below the level selector when a tool panel is docked Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: one column for the chat or the open tool, and a menu you can hide With the chat column always on screen, a tool panel docked over the stage left the 3D view well under half the window. A tool's panel now takes the chat's place in that column; closing it (or picking the chat in the menu, where it is now listed) brings the chat back. The chat stays mounted while hidden, so a running turn keeps streaming. The side menu has a Hide menu button; a Menu button ahead of the view tabs brings it back, and the choice is remembered. The stage offsets that existed only for the floating panel are gone. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: open on the column's tab, and put the Menu button first The layout and the menu read the shown panel from the same tab list, so they no longer pull it two ways. A project opens on the column's tab (the chat), with the tools one click away, and the Menu button that brings a hidden menu back leads the view bar row. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: one Plugins entry that lists the project's plugins, and the host's footer right after the entries Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: frame each project that opens, and keep shortcuts and tool reset with the menu hidden The opening frame reset only once per mount, so a second project never framed. The side menu's shortcuts, Paint follow and build-tool reset lived in the menu, so hiding it stopped them, and going back to the chat left a build tool in hand. They now run whether the menu shows or not, and any return to no tool panel puts the build tool down. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: keep each plugin out of the phone tab bar too, under Plugins Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: the opening frame takes the load fit and yields to camera commands; a lone column tab still shows The load's fit-scene framed node bounds, without scans, and could override the opening frame, whose follow then pulled the camera back. During the opening, a fit now runs through the opening frame (a saved view stays the opening), and focus, view, frame, top view, orbit or capture end the follow. A host passing only the column's tab now gets its column. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: walking or previewing during the opening ends it, so leaving them never reframes Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: keep the opening frame and opening on the chat to once per load, across preview Preview swaps the layout and camera controls out, so state kept in them reset on return: the opening frame ran again and moved the camera, and the layout put the chat back over an open tool. The opening's end now lives in the editor store (cleared by each load), and the editor opens on the column's tab once per load, after the saved layout is restored. Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: the load fit applies when the opening has nothing to frame; open on the chat as loading starts Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: open on the chat once the saved layout has finished restoring Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: the side overlay renders in the column on screen only, and the site's saved view opens first Co-Authored-By: Claude Opus 5.5 <[email protected]> * editor: sync i18n catalogs for the side menu strings Generated by bun run i18n:extract: the side menu and Plugins panel drafts get their Source-Hash and stay fuzzy with Review: required. * editor: showing the column's tab brings the chat back in place of a tool The chat and an open tool panel share one column, so ignoring a request for the chat while a tool was open left the chat hidden. showSidebarPanel and openSidebarPanel now pick it, which closes the tool in its place; they still never reopen a closed tool panel for it. * editor: closing the tool column disarms any tool, and the hidden chat lets go of focus Closing the tool panel (or picking the chat) only put a build tool down, so Paint's brush or the site editor stayed armed with their panel gone. Any mode but select now returns to select. The chat column stayed CSS-hidden behind an open tool with focus possibly still in its composer, so typing went nowhere visible and Escape never closed the tool panel. The hidden column is now inert and drops focus as it hides. * editor: keep the side column from crowding out the stage on a narrow desktop Beside the new 176px side menu, a persisted 600px chat or a 520px tool panel left the stage a sliver just above the phone breakpoint. Both columns now take at most 40% of the window, while resizing and on screen. * editor: only plugin panels fold under the Plugins entry The fold matched any rail panel whose heading read "Plugins", so a host panel under a heading with the same text vanished into the Plugins list. It now also needs a pluginId. * editor: the opening frame leaves hidden objects out Box3.expandByObject walks invisible objects too, so a hidden building or hidden parts widened the opening frame to content that is not drawn. The bounds now come from visible objects only. * editor: a project opened on a phone keeps its tab when the window widens The open-on-column effect skipped phones without recording the project, so widening past the desktop breakpoint later forced the column tab and put the tool in use down. * editor: picking a floor while a project opens ends the opening frame The level follow moved the camera without ending the opening, so a later re-check could pull the camera back after the person chose a floor, level mode or camera. * editor: only a floor or level mode picked ends the opening frame Fresh controls alone (drei swapping the camera) also took the level follow path and ended the opening, leaving the load fit to frame hidden objects. They now re-apply the opening frame instead; a level or level mode change still ends it. * editor: walking or previewing as a project opens settles its opening With first person or preview already on when the scene became ready, the opening never settled, so leaving that mode later started the follow and pulled the camera away. --------- Co-authored-by: F-PTS <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Cursor Agent <[email protected]>
|
Thanks a lot @philpitus, this landed in #1279 with all 16 of your commits and your authorship kept. On top of your work we fixed the i18n check, made closing the column return any armed tool to select, kept the hidden chat from holding focus, capped the column width, and made the opening camera ignore hidden objects. Closing this one since #1279 carried it to main. |


What does this PR do?
Reworks the v2 desktop layout so the 3D view stays the biggest thing on screen and every menu entry says what it is. It comes from Pascal's navigation plan for the hosted editor (items 4, 5, 6 and 14: tool names, finding chats, a clean layout, chat first).
section). Hide menu at the top hides the whole menu; a Menu button at the start of the view bar brings it back. The choice is remembered. Keyboard shortcuts (B, P, F), Paint following paint mode and the build-tool reset keep working while the menu is hidden.columnTabId, e.g. a chat), and the editor opens on it. Opening a tool puts its panel in that column instead of over the 3D view; the close button, Escape or picking the column's tab brings the tab back and puts a build tool down, so a click on the 3D view selects instead of drawing. Before, a tool panel next to the chat left the 3D view under half the window; with Build open it now keeps 904 of 1,440 px.pluginsMenuSectionlets the host put the entry under one of its own headings (Pascal puts it under Project, after Capture).sideMenuFooter: host content right after the entries. Pascal uses it for the project's recent chats, in the space the plugin list used to take.The v1 layout is unchanged. On a phone, the column's tab stays one of the tabs.
New props:
columnTabId,sideMenuFooter,pluginsMenuSection(README updated). NewSidebarTabfields:sectionandmenuParent(an entry left out of the menu that lights its parent, used for the plugins).How to test
layoutVersion="v2", acolumnTabIdand a few installed plugins, open a project. It opens on the column's tab, and the camera frames the project.Ran locally:
bun run check-typesandbun test srcinpackages/editor(2,933 pass), andbun check(no errors; the same 172 warnings as main, none in these files).Screenshots / screen recording
Taken in Pascal's hosted app on a local build that uses these props. The chat, recent chats and credits are the host's content.
Opens on the chat, with the menu named and grouped:
Build takes the chat's place instead of covering the 3D view:
One Plugins entry, its list, and a plugin open:
Menu hidden, with the Menu button first in the view bar:
Recordings: before and after (download to play).
Checklist
bun dev(tested through Pascal's hosted app on a local build instead)bun checkto verify)mainbranch🤖 Generated with Claude Code
Note
Medium Risk
Touches core editor layout, sidebar persistence, and camera behavior on every project open; regressions could affect navigation, plugin discovery, and initial framing.
Overview
Refactors the v2 desktop layout from an icon rail plus one resizable panel into a named side menu, a dedicated column tab (e.g. chat), and a tool column that replaces that tab when a tool opens—so the stage keeps at most one sidebar column. Adds host props
columnTabId,sideMenuFooter, andpluginsMenuSection, opens projects on the column tab after hydrate, and supports hiding the menu (persisted) with a Menu control on the view bar.Plugins collapse to one Plugins menu entry with a new
PluginsMenuPanel(list + browse); individual plugins usemenuParentand stay out of the mobile tab bar while still lighting Plugins.Camera: after load,
CustomCameraControlsoptionally frames buildings/scans (or respects saved site/building views), follows streaming geometry briefly, and tracksopeningCameraSettledso user moves and other camera commands stop the follow.Also adds
setColumnPanelIdso shortcuts to the chat column don’t dismiss an open tool panel, plus sidebar tests and i18n/docs updates.Reviewed by Cursor Bugbot for commit f7ed061. Bugbot is set up for automated code reviews on this repo. Configure here.