Skip to content

GUI shell: Prepare/Machine workspace, regions, menu + status bar, restrained desktop redesign #216

Closed

Description

@CameronBrooks11

What

Rebuild the application shell in Svelte and apply the restrained desktop UI redesign. Replace the App.tsx → MainLayout → MainTab ReactNode-prop composition with a Svelte Workspace that owns its regions directly, organized into two top-level workspaces: Prepare and Machine (renaming today's main/stream around user intent).

Why

Establishes the new workspace skeleton and removes composition indirection (App assembles element trees and threads them through as four props). Frees viewport space and gives the slicer-appropriate density the redesign calls for.

Where

fiberpath_gui/src/ — replaces App.tsx, MainLayout.tsx, MainTab.tsx, LeftPanel/RightPanel/BottomPanel.tsx, TabBar.tsx, MenuBar.tsx (249 LoC), StatusBar.tsx. CSS: layout.css (456), tabs.css, panels.css.

Scope

  • Workspace.svelte owns regions directly: left project inspector, central viewport region (placeholder until CHILD_D), right contextual layer inspector, status bar, and an optional collapsible bottom utility drawer (default closed; for console/g-code/diagnostics/warnings).
  • Prepare / Machine workspace switch; preserve Alt+1 / Alt+2.
  • Move the layer list into the left inspector (combine today's left config + bottom layer-stack regions).
  • Apply restrained desktop metrics via tokens: ~28–32 px control height, 12–13 px UI text, minimal radius, almost no shadow, no gradients, no decorative animation.
  • Migrate MenuBar (File/Edit/View/Machine) and StatusBar.

Acceptance criteria

  • App renders the Prepare/Machine workspaces in Svelte; workspace switch + Alt+1/2 work.
  • Regions are owned directly — no element-tree-as-prop composition.
  • Layer list relocated to the left inspector; bottom drawer collapsible and default-closed.
  • Menu bar + status bar at parity.
  • Desktop-metric tokens applied; screenshots at min / typical / large attached.

Notes

Depends on #215. Part of #214.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions