Repository navigation
layout: a place's menu header is icon controls, each a command - #674
Merged
Merged
Conversation
foxnne
force-pushed
the
layout/tabs-when-many
branch
from
October 19, 2026 21:41
dd21211 to
5fb673c
Compare
foxnne
force-pushed
the
layout/place-menu-icons
branch
from
October 19, 2026 21:41
8bc57d3 to
4f24ae4
Compare
foxnne
marked this pull request as ready for review
October 19, 2026 21:41
foxnne
force-pushed
the
layout/tabs-when-many
branch
from
October 19, 2026 22:43
5fb673c to
188c474
Compare
foxnne
force-pushed
the
layout/place-menu-icons
branch
from
October 19, 2026 22:44
4f24ae4 to
43ddd77
Compare
foxnne
enabled auto-merge
October 19, 2026 23:15
The menu that drops from a place's arrange button has icons only in its header: split right, split down, clear, reset to the layout's default, and delete, the last in the theme's error colour. Each has a tooltip and is a command (`layout.place.splitRight`, `splitDown`, `clear`, `reset`, `delete`, taking an optional `place`, else the one whose menu is open), so the palette, a keymap, a tape or an agent reaches it. The button runs the command, which asks the picker to act in its next draw. Each control publishes `region.menu.<action>:<place>` while it can be pressed; the tour uses `region.menu.split-down:Sidebar` in place of the old Split menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
foxnne
force-pushed
the
layout/place-menu-icons
branch
from
October 19, 2026 23:35
43ddd77 to
4e5f478
Compare
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.
Maintainer request (PM worker). Stacked on #673 (base
layout/tabs-when-many); retarget tomainonce that merges.What changes
The menu that drops from a place's arrange button (#634,
region.arrange:<name>) now has only icon controls in its header, on the same row as the place's name:columns-2layout.place.splitRightrows-2layout.place.splitDowneraserlayout.place.clearrotate-ccwlayout.place.resettrash-2, in the theme's error colourlayout.place.deleteplace. Without one it acts on the place whose menu is open. This is how the palette, a keymap, a tape or an agent reach the controls (app/layout/place_commands.zig, a pseudo-pluginlayout, registered beside fizzy's own commands).Picker.requests, carried out in order in the next draw, where the liveLayoutis), so a command run outside a frame (a control-server call) works too.Picker.applies, which isallowsplus whether the place shows anything, for Clear. The commands refuse with the command's title whenallowssays no. The buttons dim. A request that no longer applies when it runs, or a split of a place too small to split, is logged.Picker.commands_owner, so each layout state's commands reach their own.region.menu.split-right:<place>,split-down,clear,reset,delete, each published only while it can be pressed. They replacepicker.action:*andpicker.split:*.region.menu.split-down:Sidebar.docs/AUTOMATION.mdlists the new anchors andtabs:<place>, and drops the Single/Multiple and Split-menu rows.SDK impact
sdk/src/version.zig,sdk_versionuntouched, PR labelledsdksdk_version, lists thesdkPRs since the lastsdk-v*tagVerified
zig build,test,test-integration(incl. the tour and every bundled demo; 81/81 steps, 314/314),check-web,test-sdk-version,check-tests-reached,check-fmt.region.menu.reset:Panel), and bycallCommandwith a place (split; the menu shuts).--quiet, own profile, a tape opening Main's menu): Main holding one view has no app strip, and Panel holding Output and Devtools has one. The header row reads name, then split right, split down, clear, reset (dimmed) and delete (dimmed red), with the Split Right tooltip up.check-web🤖 Generated with Claude Code