Repository navigation
Playground UI Updates, Part 2 - #1045
Merged
borkdude merged 32 commits intoOct 13, 2026
Merged
Conversation
Member
|
Thanks! |
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.
Please answer the following questions and leave the below in as part of your PR.
This PR corresponds to an issue with a clear problem statement.
This PR contains a test to prevent against future regressions
I have updated the CHANGELOG.md file with a description of the addressed issue.
All features and fixes included in this PR are described in the sections below.
Every section (except Misc), has one or more corresponding screen recordings. They are animated gifs that may take a few moments to load.
Global layout and framing refactor
Scrolling behavior:
Currently, if the content in either the editor or compiler pane exceeds the viewport height, both panes run off the viewport, the entire viewport gets a scroll bar and each pane also displays a vertical scroll bar. Additionally, the user is unable to scroll to the bottom of the pane (also unable to reach the horizontal scrollbar at bottom of pane) without first scrolling the page all the way down.
Superfluous borders:
The current two column pane layout renders a total of four vertical borders by virtue of the inline padding inside the viewport. This creates unnecessary visual noise and wastes forty pixels of horizontal padding. By eliminating this viewport padding, we can achieve a much more streamlined devtool look/feel, leveraging a single vertical divider to split the panes. This single divisor can double as a draggable resizing target.
Inconsistent vertical space below main section:
When source code or compiled code does not fill its vertical pane, the panes stop short of the bottom of the viewport, at a distance that depends on the height of the viewport. The bottom of the main section containing the panes should always be the same distance from the bottom of the viewport, which will create a consistent footer (25-50px). This can be utilized going forward for secondary/tertiary ui elements that would be happy living in the footer of this kind of playground
Before:
After:
Related
Draggable resizing of editor and compile panes
Related
Compiled code section visibility toggle
Support codemirror dark theme across editor, repl output, and compiled code instances
Respect OS color scheme for initial theme state
Native tooltips optimized for light-dark themes
Unified text selection styling
Related
Misc
pnpm install)playground/public/graphics/icons