Navigating Gadget

Gadget supports a wide variety of shortcuts.

Universal

  • Open Logs:
    1
  • Open API Docs:
    2
  • Open API Playground:
    3
  • Open Connections:
    4
  • Toggle Command Palette:
    P,
    P,
    CtrlP
  • Toggle Problem Drawer:
    M,
    M

Page Specific

Some pages in Gadget have their own contextual hotkeys.

Behaviour Editor

  • Insert State:
    S

Schema Editor

  • Add Field:
    F

Log Viewer

  • Run Query:
    Enter,
    Enter
  • Start Search:
    /

Configuration Variables

  • Add Value:
    V

Command Palette

The command palette is a tool for quick navigation around Gadget, targeted at power users. It behaves similarly to VSCode's quick navigation bar. Within it, you can quickly navigate to any common area of Gadget such as Logs, API Reference, API Playground, Connections, and Global Actions. You can also begin typing the name of a model or file and to jump to it in any view you want (i.e. Data, Schema, Behaviour).

If you want to drill down even further to jump to a specific field, you can preface your search with # which will switch to a field selection mode.