Status bar: the sketch's state, what is being edited and the design's units (#7243) (#7248)

* claim: #7243

* feat(ui): status bar with the sketch's state, what is being edited and the design's units (#7243)
This commit is contained in:
Lars Jansen
2026-10-28 16:25:32 +00:00
committed by GitHub
parent fe3fb381b1
commit dca332201f
13 changed files with 492 additions and 3 deletions
+6
View File
@@ -115,6 +115,12 @@
selects it, and while the marker sits between a sketch and its feature, or the two are in
different folders, the sketch keeps a row of its own. The timeline along the bottom always lists
features in creation order.
- **Status bar** (off by default: Preferences › Interface › **Status bar**). A thin bar along
the window's bottom edge, below the timeline. From the right: the design's units (click them
to change the design's units, one undo step), the open sketch's state in its colour (under
constrained with its degrees of freedom, fully constrained, constraints conflict) and what is
being edited (Editing Sketch1, or Editing Extrude1 while that feature's dialog is open). While
it is on, the sketch's state no longer shows in the view's top-left corner.
- **Command search (S).** Click the ribbon search field or press S to open the search popup
below it. Results group commands by their ribbon path and show matching features and user
parameters from this design. With an empty query, recent commands appear first, followed by
+1
View File
@@ -355,6 +355,7 @@ One setting per line, sorted by name. A change that adds a setting adds its own
- `sketch_exit_view` (`keep` (default: the view stays where it is when a sketch ends), `previous` (back to the view from before the sketch), `unless_rotated` (back unless the sketch view was turned))
- `sketch_tab_always` (default false: the SKETCH tab stays in the ribbon right after MODEL while no sketch is open; a tool in its CREATE or REFERENCE section then opens Create Sketch, on the selected plane or planar face or else on the plane picked next, and starts in the new sketch, #7904)
- `smooth_wheel_zoom` (default true)
- `status_bar` (default false: a thin bar along the window's bottom edge, below History, handle `status:bar`: what is being edited (`status:editing`), the open sketch's state in its colour (`status:sketch`) and the design's units (`status:units`, a click opens the Units menu, whose rows run `document.units`); the sketch's state then leaves the view's top-left corner, #7243)
- `step_values` (default false: Up/Down and the wheel step a plain number in a focused value field)
- `theme` (`dark`, `light`, `system` or a theme file's id: a built-in one such as `gruvbox-dark`, or an imported one; the reply's `theme_ids` lists them)
- `theme_export: true` (the reply's `theme_file` is the theme on now as a complete file; see [colour themes](book/src/guide/ui-tour.md#colour-themes))
+1
View File
@@ -39,6 +39,7 @@ windows use the shared composition, including its header and fixed outer frame.
| Feature forms, Parameters, material review, Redefine Sketch Plane | `dialogs`, `params_dialog`, `material_card_review`, `sketch_attachment_ui` → `Panel` | Adaptive feature surface; bounded anchors and pinned actions retained |
| Sketch options | `sketch_palette` → `Panel` | Adaptive palette surface, preserving transparency |
| Application bar, workspace and ribbon | `toolbar`, `shell` | Chrome hosts; adaptive card geometry comes from the shared policy |
| Status bar | `status_bar` | Application-bar surface along the window's bottom edge; flat and full width in both layouts, allocated before History and the viewport and counted as covered by the shell |
| Render settings | `render_workspace` | Panel host; existing right dock retained |
| Preferences, managers, About, update/install/recovery/crash/issue prompts | `Window`, `Confirm` | System windows and modal sheets retain modality; these are not workspace sidebars |
| BOM, Messages, mouse gestures, 3D mouse calibration | respective modules → `Window::show_body` | Shared header, tokenised frame and bounded body; native egui title bars/resize highlights and legacy report/width helpers removed |