Repository navigation
Start page, clear units, version in the title, diameter sign in TrueType text - #31
Merged
Merged
Conversation
…ype text - DraftCraft starts on the Start page, as AutoCAD does: New drawing in Metric (millimeters) or Imperial (inches), remembered in MEASUREINIT; Open; Open sample drawing; a Workspace picker. - The status bar's units control names the unit with the format (mm · Decimal) and switches the common units directly. - The window title shows the version with the drawing: DraftCraft 2.2.0 Plan.dwg. - ⌀ (%%c) in a TrueType font without U+2300 draws the font's own Ø (or ∅) instead of the missing-glyph box; regression test diameter_sign.rs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F67RssNr67uM2HRS3vdet4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F67RssNr67uM2HRS3vdet4
window_frame is desktop-only; the title text the ribbon shows moves to chrome, and only the desktop sets the OS window title. cargo xtask ci passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F67RssNr67uM2HRS3vdet4
Member
Author
|
The first full run failed at wasm. The title text lived in The version is now 2.2.1 ( Generated by Claude Code |
withshalom
marked this pull request as ready for review
November 19, 2026 19:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes for users
MEASUREINITfor later plain News, and the current one is outlined.mm · Decimal,in · Architectural), with a tooltip that spells it out. Its menu switches the common units (mm, cm, m, in, ft, unitless) as well as the format.DraftCraft 2.2.0 Plan.dwg(… Starton the Start page). The Start page shows "Version 2.2.0" at body size.%%c(⌀, U+2300) in a TrueType style such as Arial drew the missing-glyph box: almost no TrueType font has U+2300, and the fallback fonts didn't either. It now draws the same font's own Ø (or ∅).Tests
New tests:
crates/fonts/tests/diameter_sign.rsfailed before the fix and passes after.chrome/units.rs.the_start_page_new_drawing_is_in_the_chosen_units_and_remembers_them, run from an empty session as the desktop app starts. It covers a bug found while clicking through the real app: SETVAR needed a drawing open.the_window_title_names_the_version_and_the_drawing.What ran:
cargo clippy -p draftcraft-ui-egui --all-targets -D warningscargo test -p draftcraft-ui-eguicargo test -p draftcraft-fontscargo xtask ciwas still running when this was opened; I'll report its result here.Italian translations and
CHANGELOG.mdlines are included.Generated by Claude Code