Skip to content
BlokloDocumentation

Preview and code

The working site preview, the phone view and the read-only project files.

Preview

The Preview tab shows the working site as of the last build. You can click around, move between pages and fill in forms. The preview and the published site share the same data, so test entries added in the preview are also visible after publishing.

Button or optionWhat it does
Arrows (Refresh)Reloads the preview.
Address barShows the address where the site is or will be published.
Open in a new tabOpens the preview full screen in a new browser tab.
Phone viewNarrows the preview to phone width.
Wrench (Rebuild preview)Next to the refresh arrows. Builds the site again from the current files, with no credits; a message shows the result.
Clock (Project versions)A list of the site's recent versions with a Restore button, on paid plans (see Project versions).

Before the first build the preview shows “The preview will appear after the first build”. A build usually takes a dozen or so seconds; meanwhile the address bar shows “Building the preview…”.

Code

The Code tab shows the project files read-only: the file list on the left and the selected file's content on the right. Code changes are made by the agent from your description. The full code can be downloaded as a ZIP package on paid plans (see Code download).

When the preview does not work

The status line says “The last build failed”

Describe it to the agent in Build mode, for example “the preview does not build, fix the error”. The agent sees the build message and fixes the files.

The preview shows an old version

Click the refresh arrows. If that does not help, click the wrench icon next to them (Rebuild preview).

How do I see the preview on a phone?

Tap the eye icon (Preview) in the top bar. On a narrow screen the preview takes the whole screen; the speech bubble icon (Chat) returns to the chat. The desktop and phone view buttons are hidden then, because the preview is as wide as the screen.

Tip

Before the site reaches customers, go through it in the phone view: most visitors use phones.

Something unclear or out of date? Contact us