Repository navigation
feat(devbox): frame the browser as a desktop with a dock - #4776
Open
wailingwombat wants to merge 20 commits into
Open
wailingwombat wants to merge 20 commits into
wailingwombat wants to merge 20 commits into
Conversation
Inset the box's browser on a themed backdrop with console controls outside it, and a dock icon that reopens the browser when its last window is closed. The daemon reports open tabs, opens a window on request, has Chromium follow the console's light or dark theme via xsettingsd, and gives the bare screen an arrow cursor (xsetroot). Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
The bare X display has no root cursor, so closing Chromium's last window shows X's cross, and the console keeps painting that cursor until the pointer moves. xsetroot sets an arrow when the display starts, with the cursor font installed, and the console drops the streamed cursor while the screen is blank. The console now handles that closed screen itself: the dock reopens a blank page through the existing stream URL, falling back to a web page on consoles that only allow http(s). Co-authored-by: Cursor <cursoragent@cursor.com>
Layer light washes, an edge vignette, and a fine grain over the theme greys so the desktop reads as a wallpaper in both modes. Clear the closed-screen state from the connection callback, which the lint rejects when done synchronously in the effect. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the grey washes with one beam of design-system blue rising from the lower right into black, under a heavier film grain, so the backdrop reads as a wallpaper. Co-authored-by: Cursor <cursoragent@cursor.com>
The blue beam was washing out to grey while the console was in light mode, and the window covered it. The desktop now stays the dark beam in either theme, with the window inset so the wallpaper shows around it. Co-authored-by: Cursor <cursoragent@cursor.com>
The dark beam was showing inside the light console. Light mode now uses a pale sky field with a blue wash in the lower right, and dark mode keeps the black beam. Co-authored-by: Cursor <cursoragent@cursor.com>
Light mode was one hard blue corner. It is now a light sky field with a few soft blue and white clouds and a fine grain, closer to the reference. Co-authored-by: Cursor <cursoragent@cursor.com>
The box was opening the tab, but the view is hidden while the desktop shows, so it measured as zero and the new window was never fitted onto the screen. Fit it from the last real size and ask for a fresh frame. Co-authored-by: Cursor <cursoragent@cursor.com>
…ion open Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…swer Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
Collaborator
Author
Contributor
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no new blocking issue was found. SummaryFrames the devbox browser as a desktop with a themed wallpaper and Chromium dock.
No new actionable issues found. Tests were not run. Visual checks were blocked by missing local dependencies and authenticated devbox access. Reviews (3) · Last reviewed commit: "style(devbox): add the agent loading ico..." · Reviewed by Greptile |
…ent size Co-authored-by: Cursor <cursoragent@cursor.com>
… still black Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
Author
…k theme Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…bels Co-authored-by: Cursor <cursoragent@cursor.com>
wailingwombat
marked this pull request as ready for review
December 2, 2026 15:02
…n't show Co-authored-by: Cursor <cursoragent@cursor.com>
…allpaper Co-authored-by: Cursor <cursoragent@cursor.com>
Member
|
Shouldn't the window controls live w/in the frame instead of outside? |
This branch has not been deployed
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.



Resolves PROD-5497: the devbox browser was portalled straight into the UI with no framing.
Console-only: this works on today's devbox images. The optional image follow-up (dark Chromium, root arrow cursor, a daemon fix for the reopen request hanging) is in #4784 and doesn't block this.
Console
about:blank, which the daemon turns into a new tab; servers that only allow http(s) urls gethttps://www.google.com/. The window shows again on the click with an "Opening the browser" label (so a fullscreen black page taken for a closed window comes straight back), clicks while a reopen is pending do nothing, and the desktop says so if no window is back within 15 seconds.Server
Workspace.open_streamacceptsabout:blankfor the vnc stream, so the dock reopens to an empty page.Testing
DevboxBrowserViewandvoxlClienttests pass (including a box that never answers the reopen, and a refit that ends at the view's current size),yarn tsc --buildis clean, Biome is clean.workspace_test.exsupdated forabout:blank; not run locally.