Actions
The Preview tab shows the web app you are building, running inside your workspace. Whatever listens on port 8080 in your workspace appears here, behind the same sign-in as the rest of the workspace. Change the code, yourself or through the agent, and the result shows up in the tab.
The tab's tools sit in a slim bar down the right edge that stays out of the way: it shows itself when you hover over it, or when you move the keyboard focus into it, and slides back once you are done. The previewed app behind it stays clickable while it is hidden. The preview's own address is shown as a small label along the bottom of the frame.
Start your dev server on port 8080, listening on 127.0.0.1. Ask the agent to do it, or run it yourself in the IDE's terminal. For example:
Open the Preview tab.
Until something listens on port 8080, the tab shows a placeholder that checks again every 5 seconds. Your app appears as soon as the server is up, without a manual reload.
/preview/, and links in the page that start at the root, such as /assets/app.js, are rewritten to stay inside the preview. Most frameworks need no base-path setting.localhost:8080 and check it works.0.0.0.0 also works but exposes nothing more: the preview is the only way in from outside.