You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Frames: Trim/Extend has no compact ribbon label, failing the ribbon label test #5770
Found while getting #5312 (Frames: Trim/Extend, part of #4003) ready to merge.
What's wrong
frame.trim is promoted on Weldments › Modify with the label Trim/Extend. The ribbon fits a label under its button only when no word is longer than 9 characters (and the whole label is at most 12). "Trim/Extend" is one 11-character word, and it has no compact ribbon label in RIBBON_LABELS (crates/ui-egui/src/workspace.rs).
workspace::tests::promoted_long_labels_have_compact_ribbon_names checks exactly this, and fails on #5312's branch:
missing compact label for frame.trim
The local checks run on #5312 so far only included the frame dialog and Weldments tab tests, so they never ran this test; CI's full ui-egui suite would fail on it.
Reproduce
On #5312's branch: cargo test --profile ci -p solidcraft-ui-egui --lib promoted_long_labels.
Expected
The ribbon button reads a short label, its tooltip the full name Trim/Extend, as for the other promoted commands with long labels (Capture Pos., Mass Center, …).
Proposed fix
A ("frame.trim", "Trim") row in RIBBON_LABELS. "Trim" is already a translated string (ui.trim), so the label is translated in every catalog with no new key.
This depends on #5312 (frame.trim isn't on main yet), so its PR is stacked on #5312.
Activity
github-actions commentedon Oct 24, 2026
Claimed by @Karl-VonRichter through #5772. The claim lapses after 14 days without pushes.
Karl-VonRichter commentedon Oct 24, 2026
Closed: this was a gap in #5312, which isn't merged; the fix is in #5312 itself (
Frames: a compact ribbon label for Trim/Extend).