← atlas·sql-editor

switch-query-tabs

User clicks between multiple open SQL query tabs. Nate via zero-motion with literal tab labels, Sara via monospace timestamps, Monica via by-who-touched sorting.

default path · what bare Studio does

  1. 01
    route/project/[ref]/sqlactionload-editorhookuseSqlEditorStateSnapshot
  2. 02
    route/project/[ref]/sqlactionopen-first-queryuitab-loaded
  3. 03
    route/project/[ref]/sqlactionopen-second-query-tabside-effectload-tab-content
  4. 04
    route/project/[ref]/sqlactionswitch-back-to-first-tabuitab-switched

per-profile overrides · vehicle × route

Three vehicles, three routes

Connector · Battleship

Monica

sea route

Bring the team into the workflow.

deltas

  • Enter: shared-query
  • prelude · CollabRail
  • trailing · ActivityBlurb

slot fillers wired

  • preright-rail · CollabRail
  • trailingcell-suffix · ActivityBlurb

cognitive justification

Connector + HSP — tab order reflects social touch history (by-who-touched sorting). CollabRail maintains awareness of who-changed-what. Activity context on switch fulfills social reward without visual reflow.

Try Monica's route →

Explorer · Tractor

Nate

field route

Show me what I don't already know.

deltas

  • Enter: schema-map-tile
  • prelude · SchemaMap
  • chunk · 4
  • motion · 0ms

slot fillers wired

  • premain-prelude · SchemaMap

cognitive justification

ASD prediction-error + DYS GLUT-drain — tab switching without animation prevents startle. Literal labels ("Query 1", "Query 2") bypass phonological processing. SchemaMap anchors visual context.

Try Nate's route →

Analyst · Airplane

Sara

air route

Numbers first. Then we talk.

deltas

  • Enter: query-history
  • prelude · KpiBand
  • trailing · Sparkline
  • confirm · always

slot fillers wired

  • premain-prelude · KpiBand
  • trailingtable-row-trailing · Sparkline

cognitive justification

Analyst + ADHD + Anxiety — each tab shows explicit modification timestamp, creating a metric-based mental model. Sparkline preview of query results fires dopamine on tab switch. Monospace timestamps reduce phonological load.

Try Sara's route →