Repository navigation
Rework bar dragging, sections and widget orientation - #15517
Merged
Merged
Conversation
outfoxxed
commented
Oct 15, 2026
Contributor
- Splits center + centerAnchor into a center box and begin/end regions around it
- Stops recreating widgets on rearrange
- Significantly improves drag ux
- Fixes growth direction for expanding widgets (tray, indicators)
The bar used to pin the tray to the inner end of its section whatever the layout said, so the order on screen and the order a placement like "after the tray" goes by disagreed. It now draws the tray like any other widget. A migration writes the tray where the bar drew it, keeping the one tray a section showed, and the default layout lists it first in the right section. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rEnd The center section is now a box in the middle of the bar whose widgets are centered as one group, with centerBegin and centerEnd hanging off its two edges, in place of centerAnchor naming the one widget pinned to the middle. An empty box takes no room. During a drag it opens a sliver that a widget can be dropped into or beside, and grows to take in one that would land in it. Where a display notch covers the middle of the bar, the three run on beside the right section. The tray's drawer section stays as it was. A migration splits an existing center around its anchor, so the bar looks as it did. Plugin manifests naming center mean beside the clock and land in centerEnd, as widgets that name no section do. With the center section no longer one area to hover, the indicator peek now opens while the pointer is anywhere on the bar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
[High impact] The PR appears safe to merge; no new actionable issues were found, and the previous drawer-direction issue is fixed. SummaryReworks bar sections and dragging while keeping widgets running when they move.
|
A widget that declares fixedEdge gets the edge of it that stays put when it grows, following how its section is anchored: start for the left section and centerEnd, end for the right section and centerBegin, center for the center box. When the box holds more than one widget, its first and last grow away from the middle like the sections beside them. The indicators lay their active block against that edge and reveal their quick actions on the far side, mirrored when the widget faces the other way, so the icons already showing keep their place under the pointer. The tray keeps its pinned icons against that edge and opens its drawer away from it, pushing the chevron ahead, with the tray section beside the pinned icons, and the widgets in the section grow from that same edge. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dragging a widget now makes room for it where it would land: the other widgets slide apart, the room crossfades from place to place, and the dragged widget folds away from where it was. Its ghost is outlined like the room and, let go, glides from the pointer into the room before the move is written. The widget picked up is the one that moves, and it keeps its own instance even beside another with the same id and settings. A layout written from elsewhere that rearranges the bar mid-drag makes the drag let go. The empty center box shows as a line that takes no room, and a drop within the bar's thickness of it lands in it. The tray's drawer, which opens for the drag, holds the tray section the same way: outlined, or a line when empty, moving with the drawer as it slides, and taking a drop over it or near it. Each bar section is now a keyed model, and each bar surface keeps one instance of every widget, handed to whichever section shows it. A widget moved to another section, by a drag or a config write, keeps running with its new edge and settings rather than being built again, and one no section shows, as in the drawer of a tray taken off the bar, is unloaded. A drag closes the dragged widget's panel, which would not follow it. Custom command modules no longer refuse the moduleName and settings the bar hands them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
outfoxxed
force-pushed
the
bar-center-box-and-drag
branch
from
October 15, 2026 04:33
338850c to
9b8917b
Compare
2 tasks done
omarchybot
added a commit
to JeronimoColon/omarchy
that referenced
this pull request
Oct 15, 2026
Keeps the live moduleHover coordinates and undefined reset from this branch alongside quattro's rework of bar dragging (omacom#15517), which rewrote the drag.target comment beside it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 15, 2026
omarchybot
added a commit
to ryantm/omarchy
that referenced
this pull request
Oct 15, 2026
Resolve the conflict with omacom#15517 by exporting both iconNeedsTint and quattro's new shownSpan from TrayModel.js. Co-Authored-By: Claude Opus 5.5 <[email protected]>
omarchybot
added a commit
to sprajs/omarchy
that referenced
this pull request
Oct 15, 2026
quattro's bar rework (omacom#15517) moved the weather anchor into the new centerEnd section, so the refused-enable fixture case now asserts on centerEnd, keeping this branch's full-config, revision, signal and write checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 16, 2026
This was referenced Oct 17, 2026
This was referenced Oct 18, 2026
This was referenced Oct 21, 2026
This was referenced Nov 1, 2026
diogochaves
added a commit
to diogochaves/omabox
that referenced
this pull request
Nov 4, 2026
The bind (finding 400) kept a clean box's frozen clock from a race in Omarchy 4.0's shell, which lost a widget's inline settings when the defaults loaded first. Omarchy fixed it in the commit that split the bar's centre (omacom/omarchy#15517), so the bind now goes only where center_split finds no split centre. On 4.5.0 final, 30 clean boxes under 32 busy loops kept "Friday 12:00" with no bind; a 4.0.6 --omarchy tree still gets it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017vw3isKX8SsX6ebvkvbwkC
20 of 34 tasks
4 tasks
4 tasks done
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.