Skip to content

fix(ui): draw Desktop's system close and done in the time suggestions editor - #1195

Merged
pythoncrazy merged 1 commit into
mainfrom
fix/time-suggestion-icons
Nov 24, 2026
Merged

pythoncrazy merged 1 commit into
mainfrom
fix/time-suggestion-icons

Conversation

@pythoncrazy

Copy link
Copy Markdown
Owner

Desktop's TimeSuggestionsPreference draws the remove button of a phrase with the system close at 14 (be name="close" width: 14, js:122326), and the Save and Cancel of a new phrase with the system done and close at 16 (js:122358, 122365). beeper-rs drew the round Material close glyph (14 and 16) and the round Material check glyph (16).

Now: the system close (ROW_ACTIONS[6]) and done (COPIED_ICON) paths. Measured: remove 7.88 (round glyph 7.63), Save 10.6 by 7.69 (11.09 by 8.26), Cancel 9.13 (8.72); Desktop's paths are 8.17, 10.87 by 8.02 and 9.33 before the antialiasing of their pointed tips.

Test: time_suggestions::tests::suggestion_buttons_draw_desktops_icons (fails on main). fuzz::time_suggestions_editor_like_desktop found the remove button by the close glyph's text; it now finds it by its focus target ID. Checked on wgpu (lavapipe) and tiny-skia.

🤖 Generated with Claude Code

@pythoncrazy
pythoncrazy merged commit 7e86677 into main Nov 24, 2026
2 checks passed
@pythoncrazy
pythoncrazy deleted the fix/time-suggestion-icons branch November 24, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant