Monorepo for the nibling.run platform

Show the server's Preview on a phone, and switch to it when a server starts

On a phone the editor area shows one panel, and its Preview toggle only looked for file previews, so the default Preview, a browser panel waiting for a server, was unreachable. The toggle now picks the file preview for the file being edited, else a server's preview, else any file preview. A browser panel opening on or binding to a server shows in the editor area, as it appears beside the editor on a wide screen.


Author natemoo.re
Date Commit Parent e292e13b
+58 -5
2 changed files
+58 -5
2 changed files