Repository navigation
zgx: the side panels: the panel's content stands still as it moves, and the sidebar's words fade and line up - #1233
Merged
Conversation
This was referenced Nov 5, 2026
gaelcado
force-pushed
the
gael/zgx-day-panel
branch
from
November 5, 2026 21:16
ed7e32f to
b15649c
Compare
gaelcado
force-pushed
the
gael/zgx-day-panel
branch
from
November 5, 2026 22:20
b15649c to
e1f9a6a
Compare
gaelcado
force-pushed
the
gael/zgx-day-panel
branch
15 times, most recently
from
November 8, 2026 16:09
7b7cdf0 to
9d20638
Compare
This was referenced Nov 8, 2026
gaelcado
force-pushed
the
gael/zgx-day-panel
branch
3 times, most recently
from
November 9, 2026 01:23
e867106 to
23c60b6
Compare
…, drifting and fading The panel's card keeps its own curve (ds/motion `panel`, 280 ms); what's in it is now laid out once, at the width it's going to (closing, the one it rested at), and stands at the window's right as the card's edge uncovers it and covers it again. It drifts 5 points with that edge and fades over 160 ms as it comes and goes (ds/motion `content`), instead of squeezing at every frame of an expand. Shut, it leaves layout until it opens, as the folded sidebar does, so `zgx inspect errors` names nothing in it. Expanding over the page, the page keeps its width under the panel's edge, clipped in the cards' corners, and fades and drifts toward the sidebar; collapsing, it takes back the width it's going to at once and fades in. The page beside the panel still reflows live as the panel opens and closes (zeronsh#1207). The route moving shows both at once. Tests: shell_route_motion (one width through open, expand, collapse, close) and route_motion_tests (each fades through, never popping, and settles with no new layout warnings). Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
…from it A pane just added still opens out of the gap it comes in at, at its full size, on the split's own clock; what's in it now also drifts 5 points in from that gap and fades in over 160 ms (ds/motion `arrive`), as the panel's content does as it opens. Only a pane added to the split showing: a launch, a reload or another tab shows its panes at once. Test: split_tests (the new pane fades in a step at a time, the one beside it never fades). Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
…ds in the middle The panel left open on an empty home after its last tab went read as something still to deal with: Settings' "Close the panel with its last tab" is now on by default (a person can still keep it open). The home's block was pinned to the top of a tall card with the room all under it; it now stands in the panel's middle as a new chat's composer does, starting at the top and scrolling when the panel is shorter than it. Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
"Offline" and "Reconnecting" stood 12 in, past Star on GitHub's glyph, the filter and the empty list's words, which all start 8 in. Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
After the offline dot they stood 5 to the left of the banner's words; after the reconnecting ring, on them. The glyph now sits in a slot as wide as the star, as far from the words. A section's title being dragged fades at the card's end, as on its row.
…gged width until its toggle As Zeron's: a window resize shares its change between the chat and the panel, at once, so a panel at its share stays at half of what the sidebar leaves (each keeping its least). A width dragged holds, as before, but only until the panel's next toggle, which opens it at its share again. Its edge is out of reach while the panel moves. This overrides Wing's rule that the chat takes the whole of a resize (Gaël's call); his fit test now checks the balance. The sidebar's toggle still doesn't re-split the panel. Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
…they light Every seam (the sidebar's edge, the panel's, a split's divider) as Zeron's resize handles: double-clicked, back to where it starts (the sidebar at 256, the panel at its share, the panes at equal shares), easing there as a toggle does. Dragged past its limit it gives 5 points and comes back (220 ms, smoothstep), its lit gap dimmed while it's held there. The gap's light fades in and out over 150 ms, and each seam takes the pointer 10 points either side of its middle (ds/seam). Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
…ittle The panel's content, the page under the panel expanded and a pane just added to a split no longer drift with the edge (5 points, `NUDGE`): they stand where they're laid out and the edge alone uncovers and covers them, as Zeron's panels did. They only fade, from 0.3 to full in 150 ms (Zeron's quick fade, CSS ease; the floor is its menus' entrance's). A hundredth of a point of travel over the sweep stays: no eye sees it, but a list that builds only the rows it shows (the panel home's side chats) reads where it shows only as it moves, and kept the none it had as the sweep began.
Laid out at the far width from the first frame, the panel's content jumped there at once: its centred home moved half the way in one frame, and collapsing left the card empty beside it until the edge caught up. Between two open widths it now follows the edge a frame at a time, as Zeron's `panel_content_tween` eased it; opening and closing it still holds still (closing from expanded, at the wide width it showed). Expanded, the panel ended a point past the window's edge (the row's room less two gaps of 4, not the gap and the window's 5): its edge stepped a point out as it landed and back as it collapsed. It ends where it ends unexpanded.
…set splits the chat and the panel again Raised over the page (`z = 1`) so its edge reached 10 points into the chat, the sidebar's whole slot stood over the top bar's first tabs, which reach over its head: its window-drag head took the first tab's presses (session_tabs' "a tab still opens its chat on a click"). The slot is back under the page and the edge takes the pointer from 10 points inside its gap's middle to the gap's far side, as Wing had it, a little wider. The panel's edge and the split's dividers keep their 10 points either side. Its double click put the sidebar back at 256 but left the panel where it was. As Zeron's `reset_panel_widths`, a seam's reset restores the layout: the chat and the panel split 50/50 again, a dragged panel width forgotten.
…he panel does Its card slid 5 points as it folded and came back: the window's gap before it closed on the sidebar's own clock, and the page's gap beside it eased from 4 to 5. Now the sidebar moves its whole column, that gap included, on Zeron's curve, and the gap goes only with its last 5 points; the page's gap follows the column as it shows. So its card's left edge, its rows and the gap beside it hold still while its right edge sweeps. Its content fades as the panel's does (ds/motion `content`, 0.3 to full in 150 ms). The rail, where it's on, appears with a fade alone, no longer growing from 0.96. Zeron v2's view gets the sidebar's shown width and the seam's reset count too: it runs the same shell sidebar.
… again, easing As Zeron's `toggle_sidebar` re-split the conversation and the right pane (`resplit_panels`), the sidebar folding or coming back splits the chat and the panel 50/50 again, a width dragged on the panel's edge forgotten as there (it holds through window resizes and other chats, until a toggle). Before, the chat took all the sidebar gave and the panel held: Wing's rule, overridden at Gaël's request. It eases there on the sidebar's own clock, so the chat between them only widens or narrows; on the panel's quicker curve it narrowed a little first, then widened. The split counts the window's gaps round the cards, which Zeron's columns didn't have: they all came off the chat, its card 18 points short of the panel at "half" each. The chat's card and the panel now split to the point. (The leasts already counted them, as Wing set them: unchanged.) pane_floor's shares follow; the side chats' parity test runs where the panel's home, centred, stands on whole points.
…ard's flow
Laid out at its far width while the card's edge swept over it, the panel's
content overflowed the card in its flow, and zgx's layout check said so
on every opening and closing ("content overflows its clip horizontally by
90 (358 in 269)", logged at launch on a panel opening at its least). It
stands at the card's right out of the flow instead: the same place, a
clip meant.
…closed stays closed
Closing a session's last tab closes its panel; the tab, its chip and its view now stay as the panel eases shut, and are let go once it has (or as it opens again, a tab opens, or another session shows). So no frame of the home shows on the way out, and a terminal or a page isn't torn down under the motion. Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
…er than the reading column The composer's rule (a little over the middle of the room under the title bar) now lives in screens/chat/dock, and the panel's home reads it over the panel's whole height, so its block stands level with a new chat's composer beside it, at any window size. Its rows are no wider than the reading column (zeron.prose.measure), in the panel's middle, each row's whole width still its target. Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
With no file open, the Files tab's tree shows however it was left, wide or narrow; a file chosen then shows as the tree was asked (put away, the file alone). Wing's narrow rule is unchanged.
…row line As the window resizes, the panel keeps its half, so its Files pane can cross Wing's narrow line (a tree and a file's least): the tree now goes or comes beside the file at once there, the file taking its room, instead of sliding under the drag. Its toggle still slides.
The window's tree dump stops past a budget, and the title bar, drawn last, fell past it: its Panel stop was there, unread.
…rm.list) Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
…ys lit under a resting hand As Wing's: no longer out of reach while the panel glides, so a hover is never lost across a glide; a press there meanwhile still does nothing, as Zeron's handle.
From fit_policy, the one place it lives: the first launch's width and what a double click on its edge puts back (ds.Sidebar's `default_width`, given by the shell). Gaël's. Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
gaelcado
force-pushed
the
gael/zgx-day-panel
branch
from
November 9, 2026 09:00
cada6d9 to
0a7075a
Compare
gaelcado
marked this pull request as ready for review
November 9, 2026 09:59
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.
What changes
Interactions
Before / After
1440×900. Rows: three split chats, the panel opened and closed (before: the sidebar stays gone) · Files with no file and the tree put away · a new chat's panel home (at 2560).
Why
Carries the intent of #677 and #194: content is laid out once and never squeezed or slid while a column moves, the chat and the panel stay balanced, and only layout actions change widths.
For review
Tests
Luau suite, Rust layout/shortcut/reload tests and the Windows (xwin) check on the stack's top: no new failures against zeron/zgx.