docs: More intuitive navigation on the examples page#2406
Merged
Conversation
|
pkg.pr.new packages benchmark commit |
📊 Bundle Size Comparison
👀 Notable resultsStatic test results:No major changes. Dynamic test results:No major changes. 📋 All resultsClick to reveal the results table (350 entries).
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu. |
Resolution Time Benchmark---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.99, 2.01, 4.47, 5.89, 7.44, 10.02, 20.27, 25.28]
line [0.90, 1.90, 4.17, 6.00, 7.45, 10.06, 20.06, 24.88]
line [0.90, 1.88, 4.12, 6.66, 7.28, 10.34, 21.33, 24.79]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.29, 0.54, 0.65, 0.81, 1.08, 1.18, 1.45, 1.61]
line [0.31, 0.55, 0.72, 0.87, 1.19, 1.26, 1.46, 1.60]
line [0.29, 0.52, 0.74, 0.90, 1.19, 1.21, 1.41, 1.60]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.86, 1.90, 4.47, 6.15, 12.24, 25.04, 56.24, 110.65]
line [0.91, 2.01, 3.88, 6.15, 11.82, 24.43, 54.84, 112.35]
line [0.99, 2.14, 4.58, 6.56, 12.52, 24.99, 53.53, 112.45]
|
There was a problem hiding this comment.
Pull request overview
Improves navigation ergonomics on the docs examples page by making menu/code controls more discoverable across breakpoints and simplifying the control panel UI.
Changes:
- Update the top-left control cluster to show clearer “Show/Hide Code” labeling on desktop and adjust its positioning.
- Adjust the side menu container positioning and replace the close action styling.
- Remove “Show left menu” / “Show code editor” toggles from the desktop control panel.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| apps/typegpu-docs/src/components/ExampleLayout.tsx | Updates example-page navigation controls (positioning/labels) and side menu close behavior. |
| apps/typegpu-docs/src/components/ControlPanel.tsx | Simplifies the control panel by removing menu/code visibility toggles. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aebbf2b to
6f8f21f
Compare
6f8f21f to
668062f
Compare
cieplypolar
approved these changes
Apr 24, 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.
Screen.Recording.2026-04-24.at.13.10.30.mov