Repository navigation
Browser: Turn Up Axis on a placement row asks that placement whether it can move (#8786) - #8788
Merged
Merged
Conversation
…it can move (tangency-labs#8786) A placement row's menu starts from its component's menu, which takes Turn Up Axis's enabled state from the component's first placement. Move/Copy was already set again for the placement right-clicked; Turn Up Axis and its two turns now are too, so a free second placement can turn while the first is grounded, and a grounded one can't. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bherbruck
enabled auto-merge
October 29, 2026 11:19
bherbruck
added this pull request to the merge queue
Oct 29, 2026
Merged
via the queue into
tangency-labs:main
with commit Oct 29, 2026
93d0298
87 of 114 checks passed
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.
Change
On a placement row, Turn Up Axis and its two turns were greyed out or live depending on the component's first placement, because a placement's menu starts from its component's menu. Move/Copy was already set again for the placement right-clicked. Turn Up Axis and both turns now take the same answer: the placement can turn when it isn't grounded or held by a rigid group.
Closes #8786
Changes a default: no
Validation
On Linux: the new test
turn_up_axis_follows_the_placement_right_clickedinoccurrence_ui_tests.rsgrounds each of two placements in turn and checks Turn Up Axis and both turns on each. It fails without the fix, on the free second placement. With it, the ui-egui occurrence, menu and context-menu tests (198) and thestand_up_offertests pass, as do fmt and clippy with-D warnings. The fullcargo xtask cihas not run on this branch.Screenshots of the behavior (when observable)
None. The difference is a menu row greyed out or not, and the test covers both placements both ways.
Integration status
Based on 036d423. #8770 moves Turn Up Axis into a Placement flyout and rewrites the loop in
occurrence_itemsthis changes, so whichever lands second needs a small rebase.