Files
makeCAD/docs/manage-ui-kit-audit.md
T
Nathan Dane 4b23bb3a03 Implement compact workspace layout (#2029) (#4533)
* Vertical history strip: left of the browser, compact rows, hollow-circle marker, collapsed rail hover

* Vertical history strip: seam handle to expand and collapse names, drag to resize with snap

* Vertical history strip: no empty gap below the transport

* Show the history seam arrow only on hover (#2028)

* claim: #2021

* Redesign the Assistant chat panel with shared UI components

* Show Assistant in the shared floating panel shell

* Extend floating Assistant to viewport height and shift navigation

* Dock Assistant before history and match docking preview bounds

* Align Assistant top margin with floating shell cards

* Extract a shared panel drag grip

* Rebuild responsive history sizing and three-way docking

* Share browser and History collapse hover styling

* Show the History title as soon as its text fits

* Animate stacked browser and History expansion and collapse

* Make panel folding responsive and independent of frame delays

* Let folding panel contents shrink continuously to header height

* Use four explicit History transport actions in every layout

* Resize the shared Browser and History column from either card

* claim: shared compact-mode containers (#2029)

* Centralize layout-aware UI containers and enforce their use

* Keep docked Assistant at the outer edge beside tool sheets

* Use shared surface policy for Assistant tool space

* Let tool sheets drag over shell panels while avoiding Assistant

* Update Parameters drag bounds assertion for shell overlap

* Keep dragged tool sheets below ribbon and workspace selector

* Enforce universal UI containers in mandatory repository checks

* Remove legacy report windows and require shared window composition

* Remove retired UI styling and require shared controls

* claim: compact layout preference (#2029)

---------

Co-authored-by: bherbruck <brennen.herbruck@gmail.com>
2026-10-21 20:52:36 -04:00

3.7 KiB

UI kit coverage boundaries

Feature dialogs, manager cards, settings/help/customisation windows, confirmations and matching inline controls now compose ui_kit. The raw-control allowance table is empty. The cleanup removes unused frame chrome, row-publication state, appearance wrappers and the plastic editor fallback. Shared controls and their options are listed in the kit reference.

Outer hosts for all of the surfaces below now use ui_kit::Container; see the layout-aware container audit. The boundaries in this table concern content and domain behavior, not permission to create a separate panel shell.

These specialised contents remain in their owners:

Surface / source Content ownership
Start page: home.rs Shared Home components with cached thumbnails and page navigation
Assistant transcript/composer containers, gallery and docking: agent_chat/panel.rs Conversation/media layout, rich selectable content, drag/docking behavior; matching controls use the kit
Native file/program pickers: file_picker.rs, host services Host-native sheets have no egui control surface; load/progress cards use the kit
Command-result ranking/list/pins: shortcut_box.rs Search layout and ranking; popup shell and matching controls use the kit
Ribbon and browser/timeline rows: toolbar.rs, browser.rs, timeline_left.rs Specialised navigation, canvas painting, drag/drop and inline rename placement; context/overflow menus, their rows and floating rename now use the kit
Motion transport, key strips and chart: dialogs_motion.rs, dialogs_motion_plot.rs Playback/chart interaction; matching form controls use the kit
Generated part thumbnails: dialogs_parts.rs Cached images rather than controls
Joint-browser glyphs and flat-pattern canvas: dialogs_assembly.rs, dialogs_sheet.rs Model navigation and geometry; dialog/export actions use the kit
Slicer program popup entries: dialogs_save_mesh.rs Painted installed-program icons/entries and native program picking; dropdown shell uses the kit
Dimension/placement geometry: dim_view.rs, sketch_dims.rs, canvas.rs Canvas positioning, completion ownership and geometry painting; matching dimension/placement editors use the kit
Select Other and viewport display controls: select_other.rs, viewport.rs Painter-based entity icons, hit testing and hover highlighting
Document tabs and render canvas: documents.rs, render_workspace.rs Tab-strip/canvas painting and popup positioning; overflow choices/settings controls use the kit
Native colour chooser inside color_field Kit owns the field; egui owns its HSV/RGB popup internals

Immediate commands such as parameters.graph, parameters.move, config.rules, config.preview and library.* keep their existing JSON execution behavior. Their related controls live in Parameters, Configurations and Appearance; the kit creates no extra command dialogs. Command IDs, model operations and scenario handles are unchanged by cleanup.

Context menus are covered by Menu/MenuItem, including browser and history targets, workspace popup chrome, Appearance submenus, section headings, separators, checks, disabled/danger rows and ribbon pin rows. The optional marking menu uses the kit's rounded-sector renderer; its command choices and hold/flick behavior remain owned by context_menu.rs. Floating rename uses kit fields and actions; Properties already uses the shared Window. No menu-frame or raw-control allowances were added. The light/dark gallery and CPU evidence cover representative row states and radial geometry; desktop captures of the live menus remain part of reviewer acceptance.