Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/29988-studio-interfaces-nav-rail-module.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@object-ui/app-shell': patch
---

internal: move-only — the Studio Interfaces pillar's navigation rail moves out of `StudioDesignSurface.tsx` into its own module (#29988, slice 3)

Clause-②: no
Metadata-protocol: none

No behaviour change. The rail Studio's Interfaces pillar draws for an app's navigation (the nav tree and its groups, the rows a customization package contributes, the off-nav sections for pages, dashboards, reports and views, the two rail contexts, the kind names and kind icons) now lives in `views/studio-design/InterfacesNavRail.tsx`. The moved code is byte-identical apart from its imports and eleven `export`s; `StudioDesignSurface.tsx` imports it from there. The package's public exports are unchanged.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const RECOVERY_SITES: ReadonlyArray<{
alsoReads: [
'packages/app-shell/src/views/studio-design/StudioNavItemInspector.tsx',
'packages/app-shell/src/views/studio-design/PackageSwitcher.tsx',
'packages/app-shell/src/views/studio-design/InterfacesNavRail.tsx',
],
site: 'Studio: deleted-package eviction + header Home',
expression: /const homePath = useHomePath\(\)/,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ describe('PackageDetailSheet — no native dialog on these three paths (objectui
describe('Console Packages page — a delete there stays on the page (objectui#11784)', () => {
/**
* Studio's return to its landing after a delete is the Studio HOST's
* (`PackageSwitcher`'s eviction in `StudioDesignSurface.tsx`), not the
* (`PackageSwitcher`'s eviction in `PackageSwitcher.tsx`), not the
* sheet's. The same sheet serves this console page, whose `onChanged` only
* reloads the list; `/studio` is not a destination here.
*/
Expand Down
Loading
Loading