Repository navigation
Land a root side list's start on Back or Forward - #1421
Merged
Merged
Conversation
… zone lf-chart typed its x column with a parser of its own that accepted only an ISO month or day and built each Date from its parts. Its stated reason, that Date draws a bare 2026-06-01 under May 31 west of Greenwich, holds only on a local-time scale; the chart's scale is UTC, and Date reads a month or a day as UTC midnight, which is how Plot itself reads an ISO string on a time scale. So the column is still typed here, since Plot draws strings as categories, but Date does the reading. That admits moments that state their zone (2026-09-27T14:00Z), which two authors in the arrangement eval wrote and saw printed whole on the axis. A moment without a zone stays a category, since Date would read it in each viewer's own zone. Two labels naming one instant (2026-06 and 2026-06-01) are refused like two rows sharing a label, where before a mixed column fell back to categories. More than ten rows inside ten days can only be moments, so their ticks are Plot's own rather than held to a day. Moments are labelled in UTC, which the registry entry now says. A new browser test covers the time axis, the zoneless category and the refusal, and fails with each rule reverted. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The refusal ran in readAxis, which draw() calls for every kind, so a bar chart with 2026-06 and 2026-06-01 showed an error though a bar keeps a slot per label. It now runs where a line or a scatter takes a continuous axis, and covers numbers too: 1 and 1.0 would draw two rows at one x the same way. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A tab set whose list stands beside its panels is a box even as the page's first set, so a switch leaves the page where it stands. That is right for a press, which the user makes at the list, but Back or Forward is made from wherever they read: after reading deep into a long ticket, Back to one taller than the screen clamped the page to its end, 1,710px below the ticket's start at 390px and the same at 1200px, and Forward then landed partway into the long one. A history switch in a box now brings the set's start into view when the user stood below it, as a page-flow view without a place lands at its own. The side-list test reads deep, presses Back, and fails without it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 29, 2026
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.
A tab set whose list stands beside its panels (
lf-tabs list="side") is a box even as the page's first set: it keeps the page's history, but a switch leaves the page where it stands. That is right for a press, which the user makes at the list. Back or Forward is made from wherever they read, though. After reading deep into a long ticket, Back to a ticket taller than the screen clamped the page to its new end: at 390px the ticket's start sat 1,710px above the screen and the list 1,782px above, and 1200px behaved the same. Forward then landed partway into the long ticket.A history switch in a box now brings the set's start into view when the user stood below it, as a page-flow view without a stored place lands at its own start. A set already in view stays where it is. A review of #1363 inferred the case, and a probe confirmed it before this fix.
Tests: the side-list test in
test_render_widgets.pynow reads deep, presses Back, and asserts the set's start is on screen; it fails with the fix removed. The tab-set tests intest_render_widgets.pyandtest_render_navigation.pypass, nightly included.🤖 Generated with Claude Code