History and browser: a sketch's icon in the colour of its state (#7245) (#7250)

* claim: #7245

* feat(ui): a sketch's icon in History and the browser takes the colour of its solve state (#7245)
This commit is contained in:
Lars Jansen
2026-10-28 19:40:45 +00:00
committed by GitHub
parent e2935aff95
commit 261d00fbb2
14 changed files with 410 additions and 8 deletions
+5 -1
View File
@@ -103,7 +103,11 @@
the dialog's title row, right of the title, where they stay while sections open and close;
Cancel then also takes the place of the close button. Enter and Esc work as before.
- **Timeline** (bottom). Every feature in order. Double-click to edit, drag the marker to roll
back, and drag features to reorder them. Preferences can put the timeline vertically at the
back, and drag features to reorder them. A sketch's icon, here and in the browser, takes the
colour of its state: the sketch colour while it is under constrained, the fully constrained
colour, or red while its constraints conflict; its tooltip names the state (Preferences ›
Sketch › **Sketch icons in the colour of their state**, on by default, turns this off).
Preferences can put the timeline vertically at the
far left of the viewport, beside the browser. Its seam handle switches between icon
chips and compact feature names; the browser can collapse to a rail beside either width.
Docked under the browser, the two share the column: drag the seam between them to give either
+1
View File
@@ -355,6 +355,7 @@ One setting per line, sorted by name. A change that adds a setting adds its own
- `sketch_auto_dimensions` (default false: each shape drawn in a sketch gets all its dimensions at the sizes drawn, as `sketch.draw.dimensioned` with `as_drawn`; typed values win)
- `sketch_auto_locate` (default false; with `sketch_auto_dimensions`, new shapes are also placed from the sketch origin until fully constrained, as `sketch.draw.dimensioned` with `locate`)
- `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_state_icons` (default true: a sketch's icon in History and the browser takes the colour of its solve state, `sketch` under constrained, `sketch_fixed` fully constrained, `error` while its constraints conflict, and its tooltip names the state; false: every sketch row's icon and tooltip as before, #7245)
- `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)
- `stand_up_unknown` (`note` (default: a file whose header names no program known to save Y up and whose bodies seem to lie on their back (their flat area across Y outweighs their flat area facing down Z) gets a small note over the view, "Did this part open the wrong way up?", with Stand it up, Don't ask again and Close as the handles `stand_up:stand`, `stand_up:never` and `stand_up:dismiss`; it goes by itself after 10 seconds and never blocks input), `ask` (the "Stand this part up?" dialog for every file from another program, SolidWorks too, without looking at how it rests, as before #7717), `off` (no offer); otherwise a SolidWorks file gets the dialog, or the note when its bodies clearly stand on Z already)