← atlas·sql-editor

share-sql-query

User generates a shareable link for a query. Monica via people-picker (social context), Sara via terse confirmation with email validation, Nate via explicit advance-notice warning that team will see this.

default path · what bare Studio does

  1. 01
    route/project/[ref]/sqlactionload-editorhookuseSqlEditorStateSnapshot
  2. 02
    route/project/[ref]/sqlactionexecute-queryside-effectoptimistic-fetch
  3. 03
    route/project/[ref]/sqlactionopen-share-menuuishare-options-dropdown
  4. 04
    route/project/[ref]/sqlactionselect-share-linkuicopy-link-prompt
  5. 05
    route/project/[ref]/sqlactionconfirm-shareuilink-generated-toast

per-profile overrides · vehicle × route

Three vehicles, three routes

Connector · Battleship

Monica

sea route

Bring the team into the workflow.

deltas

  • Enter: people-context
  • prelude · CollabRail

slot fillers wired

  • preright-rail · CollabRail

cognitive justification

Connector + Extraversion — people are the entry point, not the link. CollabRail (right rail) surfaces who can see the query, and TeamSaveAck callback names the recipients, completing social closure.

Try Monica's route →

Explorer · Tractor

Nate

field route

Show me what I don't already know.

deltas

  • Enter: literal-warning
  • prelude · AdvanceNoticeStrip
  • destructive · AdvanceNoticeStrip 3000ms
  • chunk · 4

slot fillers wired

  • preadvance-notice · AdvanceNoticeStrip
  • pre-destructiveadvance-notice · AdvanceNoticeStrip3000ms

cognitive justification

ASD + ADHD + Anxiety — the advance-notice strip states in literal language "Team will see your query data" 3 seconds before share. Zero motion prevents startle. Prediction-error mitigation via explicit warning.

Try Nate's route →

Analyst · Airplane

Sara

air route

Numbers first. Then we talk.

deltas

  • Enter: explicit-share
  • prelude · KpiBand
  • confirm · always

slot fillers wired

  • premain-prelude · KpiBand

cognitive justification

Analyst + Anxiety + ADHD — terse feedback ("✓ shared") with explicit recipient count (DA reward loop). Always-confirmation for CORT +19 anxiety. Precise email validation prevents regret.

Try Sara's route →