Retool's Command Palette (opened with Ctrl k) includes a host of commands you can use to quickly execute common actions like opening app settings, creating new queries, or editing component properties. You can also use it to search for components and queries in your app, and jump directly to other apps, shared queries, or resources within your organization.
Retool's commands are organized by contexts. These can be an app, query, or component context. App contexts filter commands to ones that modify your app, such as opening app settings or creating new components.
Query and component contexts filter commands to those that affect that query or component directly. For example, running a query or editing a property of a component. When you are not in a particular context, the Command Palette shows you a global search, letting you search for other apps or resources.
Global search is available when you are not in any particular context. You can search for any app, resource, or shared query within your organization.
App commands are available in both edit and preview mode. In preview mode, commands available include editing and sharing the app, as well as various help dialogs and links. In edit mode, commands include the same sharing and help actions, as well as common workflows used while editing an app. For example, you can open app settings, toggle Debug Tools, toggle editor panels, or even export the app to JSON.
Commands are available for individual components as well. These include selecting the component in your editor, jumping to properties of that component, and other actions like viewing its state in Debug Tools or viewing its documentation.
The Command Palette also shows your most recently used items. For example, in global search, this includes recently opened apps, queries, and resources, as well as folders or static pages like Settings. In an app context, it shows your most recently selected components and queries.
Updated about 2 months ago