Timeline: hide subcategory nodes + load straight into saved layout#6
Merged
Conversation
…layout Two focused changes, nothing else touched (fonts/width/spacing unchanged): - Timeline drops subcategory nodes. They were parked on top of their parent category, so their label just collided with the category's — the lanes are the grouping here, so they add nothing. - The chosen layout is persisted (localStorage) and restored on load, and the force-graph bloom is skipped when the page opens straight into a non-force layout. So refreshing while in the timeline lands directly in the timeline instead of playing the force intro first and only then switching. Verified in-browser: refresh into timeline shows the timeline immediately (no force flash), in-app layout switches still animate, console clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Two small, focused changes to the timeline — nothing else (fonts, width, and
spacing are unchanged from main):
Hide subcategory nodes in the timeline. They were parked on top of their
parent category, so their label just overlapped the category's. The lanes
already convey grouping, so they add nothing here.
Load straight into the saved layout (fixes the force-intro flash). The
chosen layout is now persisted to localStorage and restored on load, and the
force-graph bloom is skipped when the page opens directly into a non-force
layout. Refreshing while in the timeline now lands in the timeline
immediately instead of playing the force intro and only then switching.
Diff is 3 files (renderer node filter, app-state persistence, GraphCanvas
load/transition). check/lint/44 unit tests/build all green; verified in-browser.
🤖 Generated with Claude Code