Disallow segment selection in all sweeps and change Sketches display name to Profiles (#7045)

* Disallow segment selection in sweep, plus displayName: Profiles for clarity
Fixes #7044

* Change selection hints for solid2d to be profile instead of face

* Update tests

* More fixes

* Fix tests following behavior change: we don't select segments in code anymore but profiles
This commit is contained in:
Pierre Jacquier
2025-05-19 11:21:29 -04:00
committed by GitHub
parent e76ba9921c
commit fb35fdcc38
7 changed files with 55 additions and 50 deletions

View File

@ -486,7 +486,7 @@ export function getSelectionTypeDisplayText(
.map(
// Hack for showing "face" instead of "extrude-wall" in command bar text
([type, count]) =>
`${count} ${type.replace('wall', 'face').replace('solid2d', 'face')}${
`${count} ${type.replace('wall', 'face').replace('solid2d', 'profile')}${
count > 1 ? 's' : ''
}`
)