Features
App Toolbar

App Toolbar

The toolbar runs across the top of the Zentro window. It's persistent — visible regardless of which panel you're in.

Sections

[ Project ▾ ] [ Environment ▾ ] [ Status ] ─── [ ▶ Run ] [ Explain ] [ Explain Analyze ] [ ⇌ Begin ] [ ✓ Commit ] [ ✗ Rollback ] [ ⌘ Format ] [ … ]

Project Switcher (left)

Displays the currently active project. Click to open a dropdown listing all your projects. Select one to switch context — the Schema Explorer, editor tabs, saved scripts, and bookmarks all update to the selected project.

Press Ctrl+P to open the Project Hub from the keyboard.

Environment Selector

Displays the active environment with a color indicator:

ColorEnvironment
GrayLocal
BlueDevelopment
TealTesting
YellowStaging
RedProduction

Click to switch environments within the current project. You can also use keyboard shortcuts: Alt+Shift+L/D/T/G/P to switch to Local / Development / Testing / Staging / Production respectively. Switching prompts a reconnect if the credentials differ.

Connection Status

A small dot next to the environment selector shows the connection state:

DotMeaning
GreenConnected
YellowConnecting / Reconnecting
RedDisconnected or error

Click the dot to see the full connection error, or to manually reconnect.

Run Button (▶)

Executes the query in the active editor tab. Equivalent to Ctrl+Enter.

When a query is running, the button changes to a Stop button (◼) — click it to cancel the running query.

Explain / Explain Analyze

  • Explain (Ctrl+Shift+E) — runs EXPLAIN on the current query and shows the plan in the Explain Plan result tab.
  • Explain Analyze (Ctrl+Alt+E) — runs EXPLAIN ANALYZE with actual execution statistics.

Transaction Controls

ButtonShortcutAction
BeginCtrl+Shift+7Opens an explicit transaction on the current connection
CommitCtrl+Shift+8Commits the open transaction
RollbackCtrl+Shift+9Rolls back the open transaction

Transaction buttons are active only when a connection is open.

Format Button

Formats the SQL in the active editor tab. Equivalent to Ctrl+Shift+F.

More Menu (…)

The overflow menu on the right contains:

  • New Editor Tab (Ctrl+T)
  • Open Script Search (Ctrl+E)
  • Refresh Schema
  • Open Audit Log (Production connections)
  • Enter Focus Mode (Ctrl+Alt+Z)
  • Settings

📸 Screenshot needed: Full editor toolbar with all button groups visible (Run, Explain, Explain Analyze, Begin/Commit/Rollback, Format) and the environment indicator showing Production (red).

Toolbar in Focus Mode

In Focus Mode, the toolbar collapses to a minimal strip showing only the connection status dot and the Run button. Hover the top edge to reveal the full toolbar temporarily.