The palette now counts how many times each command is picked and ranks
the commands picked most often first among the results that match a
query as well as they do, also after they leave Recent Commands. A
count never lifts a result above one that matches the query better.
- Counts are compared in grades that double: grade 1 starts at 1 pick,
grade 2 at 3, grade 3 at 7, up to grade 9. A command picked once
ranks above the commands never picked. The grade ranks after the
match grades and before the place among the recent picks.
- At most 200 commands are counted. A new one then removes the command
with the fewest picks, of those the one picked longest ago. When a
count reaches 1,000, every count is halved and commands left at 0
are dropped.
- The counts are saved in ui.json as `command_uses`. A count above 999
loads as 999, an unreadable entry is dropped, and of more than 200
the most recent picks are kept. The web build keeps them for the
session.
- The kept ranking of the last query is ranked again when a count
changes.
Clear Recent Commands (help.clearRecentCommands) empties the picks that
an empty search and the Recent Commands list show, and the saved ids
with them. A pick of it in the search is not kept as a recent pick.
command_list reports it as not enabled while no ids are saved.
- The label has a row in every catalog that translates the Recent
Commands strings.
- crates/mcp/src/ui_catalog.rs is regenerated with cargo xtask
ui-commands.
- Docs: a Recent commands section in docs/mcp.md and a line in
docs/target-app-parity.md.
- Test: clear_recent_commands_empties_the_recent_picks.
Fold Preview (Object › Plug-ins › Packaging Tools, and the Fold Lines panel's button) shows the
document's blank folded about its largest panel, or the panel double-clicked. Creases and
perforations fold 90° away from the printed side and partial cuts 90° toward it. Each panel
samples a raster of the print, with the fold lines and non-printing layers left out, through its
projective map, with a depth buffer; the back shows the board's inside color. The window has a
Fold slider, seven view presets, orbit, zoom, pan and perspective, and its status line reports a
joint that does not close and panels that pass through each other.
- addon.packaging.fold returns each panel's frame, the hinges with their angle and gap, and the
collisions. A closing hinge's gap is measured with every hinge folded all the way.
- ui.foldPreview sets the window and rejects values of the wrong kind or out of range; saved
settings out of range are brought into range.
- The print renders off the UI thread where a worker exists and once per document revision. The
fold and the view image are worked out again only when the document, the settings or the
window's size change.