Repository navigation
Visualizer: global variables in a footer that doesn't scroll (P53) - #60
Merged
Merged
Conversation
The module's variables leave the column beside the code for a footer below the visualizer's view, at every width; the code gets the full width. Hover, tap or focus on an entry opens a box over the code, upwards from the pointer: a function's definition, highlighted, or the full value (and its tree). Arrows to and from globals end at their footer entry, drawn over view and footer and measured again on scroll. The current call's box keeps its variable row sticky at the view's bottom. Co-Authored-By: Claude Opus 5.5 <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.
P53. With a long program or deeply nested call boxes, the column of global variables beside the code had scrolled out of view, so the arrow from a call to a global function ended outside the view. Nested boxes also grew into the column.
Footer (
GlobalsFooter,.visualizer-globals).visualizer-view), both inside.visualizer-frame. It looks the same at every width, and the code gets the full width.auswerten Funktion,x 3, abbreviated lists). They sit in a row that wraps, at most about 3 lines high, and scroll beyond that.Hover box (
.visualizer-globals-peek)glpython-python, even while that call is open as a box. The definition is found byglobalDefinitionSource: the lastdefthe module ran, else a module-leveldefin a project file. Any other value is shown in full, with its length, and with its tree underlistTree.Arrows
layer: 'frame') and runs vertically.Sticky variable row
.frame-box--current: the active frame, or the box hosting the active inline call) keeps its variable row at the view's bottom edge while the box is on screen.Strings:
visualizerGlobals(de/en), the footer's label for screen readers. The type labels reusevalueKind*.Checks:
test:consolelang's entry; the tall box's variable row sits above the footer; the hover box shows the definition, highlighted, inside the frame and scrolling; no footer without globals.Lint, both builds and every other check pass.
🤖 Generated with Claude Code