fix(playground): redirect bare /playground to default project - #189
Merged
Merged
Conversation
Bare /playground no longer shows an empty panel with infinite loading after closing the project browser. Server and client canonical redirects now pick the last-visit path or first public project, except when ?view=browse is set. Co-authored-by: maxim.kayander1 <maxim.kayander1@gmail.com>
Co-authored-by: maxim.kayander1 <maxim.kayander1@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
mkayander
marked this pull request as ready for review
September 7, 2026 13:41
Co-authored-by: maxim.kayander1 <maxim.kayander1@gmail.com>
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 7, 2026
## [1.392.1](v1.392.0...v1.392.1) (2026-09-07) ### Bug Fixes * **playground:** redirect bare /playground to default project ([#189](#189)) ([594e084](594e084))
|
🎉 This PR is included in version 1.392.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Problem
Clicking the Playground nav link opens the project browser on bare
/playground. Closing the browser without selecting a project leaves the panel area in infinite loading because no project is initialized.Solution
/playgroundfrom redirecting; redirect to last-visit cookie path or first public project (same as incomplete slug paths).useClientCanonicalPlaygroundRedirectfor soft navigations.?view=browsestill lands on bare/playgroundwith the project browser open (home CTA, explicit browse intent).useBarePlaygroundBrowseLandingworkaround and restoreusePlaygroundPanelsReadyto require a project slug on desktop.Demo
playground_bare_redirect_fix_demo.mp4
Playground nav redirects to project
Closing browse redirects to project
Testing
/de/playgroundnow expects redirect to canonical project pathTo show artifacts inline, enable in settings.