Files
AFFiNE/blocksuite
DarkSky a8ff41ccdf perf(editor): format code toolbar snapshot ids lazily and rank languages without heap keys
The desktop code toolbar, its More menu and the touch code toolbar now give
`format_args!` directly to the snapshot call. Release builds format no
snapshot ids for these controls. Harness builds record the same ids as before.
The interactive element ids do not change.

`filter_code_languages_ordered` keeps its signature and its order. It gives
each catalog entry the dense order of its first entry in the history. Then it
sorts one integer key for each match on the stack.

The label match compares ASCII bytes without case, so a query makes no
lowercase copy of each label.

A table test compares the new order with the previous sort for all query
prefixes, cases, aliases, duplicates and a history of 65,538 entries.

`Palette` now has `error`, `error_background` and `focus_ring` from the theme
tokens. The More menu and the touch toolbar read these fields. The colors do
not change.

Wheel and touch fling scrolls lend the collapsed block set to the overlay
scene and do not clone it. This change also
removes `ScrollAxis::set_max` and `ScrollAxis::snapped`, which had no
production callers.
2026-12-01 18:35:52 +09:00
..
2026-10-10 23:28:25 +08:00