|
1
|
import { getOsShortcut, Kbd, InlineIcon } from "docs-ui" |
|
2
|
import { ChevronRight } from "@medusajs/icons" |
|
3
|
|
|
4
|
export const metadata = { |
|
5
|
title: `Command Palette`, |
|
6
|
} |
|
7
|
|
|
8
|
# {metadata.title} |
|
9
|
|
|
10
|
In this guide, you'll learn how to use the command palette in Cloud to quickly perform actions and navigate to pages. |
|
11
|
|
|
12
|
## Open the Command Palette |
|
13
|
|
|
14
|
Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> to open the command palette from anywhere in the Cloud dashboard. |
|
15
|
|
|
16
|
To close the palette, press <Kbd>Esc</Kbd> or click anywhere outside it. |
|
17
|
|
|
18
|
--- |
|
19
|
|
|
20
|
## Navigate the Palette |
|
21
|
|
|
22
|
Aside from clicking items with your mouse, you can navigate the command palette using your keyboard: |
|
23
|
|
|
24
|
- <Kbd>↑</Kbd> / <Kbd>↓</Kbd>: Move between items. |
|
25
|
- <Kbd>↵</Kbd> (Enter): Select the highlighted item. |
|
26
|
- <Kbd>Esc</Kbd>: Close the palette. |
|
27
|
|
|
28
|
--- |
|
29
|
|
|
30
|
## Available Commands |
|
31
|
|
|
32
|
The command palette organizes its commands into three types: **Actions**, **Navigation**, and **Settings**. |
|
33
|
|
|
34
|
### Actions |
|
35
|
|
|
36
|
Actions let you perform tasks directly without navigating to a specific page first: |
|
37
|
|
|
38
|
- [Upgrade Plan](../billing/plans/page.mdx#change-plan): Open the upgrade plan page to change your Cloud subscription. |
|
39
|
- [Create Project](../projects/page.mdx): Open the project creation flow. |
|
40
|
- [Add Sender Domain](../emails/page.mdx#add-email-sender-domain-to-cloud): Add a sender domain for outbound emails. |
|
41
|
- [Add Backend Custom Domain](../environments/custom-domains/page.mdx#backend-custom-domains): Add a custom domain for a project's backend. |
|
42
|
- [Add Storefront Custom Domain](../environments/custom-domains/page.mdx#storefront-custom-domains): Add a custom domain for a project's storefront. |
|
43
|
- [Edit Variables](../environments/environment-variables/page.mdx): Edit environment variables for a project. |
|
44
|
- [View Logs](../logs/page.mdx): View runtime logs for a project's environment. |
|
45
|
- [Create Environment](../environments/long-lived/page.mdx#create-a-long-lived-environment-on-cloud): Create a new environment for a project. |
|
46
|
- **Log Out**: Sign out of your Cloud account. |
|
47
|
|
|
48
|
For the commands that perform actions on a specific project, such as **Edit Variables** or **View Logs**, you'll need to [select a project](#select-a-specific-project) after choosing the command. |
|
49
|
|
|
50
|
### Navigation |
|
51
|
|
|
52
|
Navigation items take you directly to a specific page in the Cloud dashboard: |
|
53
|
|
|
54
|
- [Projects](../projects/page.mdx): Go to your organization's projects list. |
|
55
|
- [Project Overview](../projects/page.mdx): Go to a specific project's dashboard. |
|
56
|
- [Logs](../logs/page.mdx): Go to the runtime logs page for a specific project. |
|
57
|
- [Deployments](../deployments/page.mdx): Go to the deployments page for a specific project. |
|
58
|
- [Environment Overview](../environments/page.mdx): Go to the environment overview for a specific project. |
|
59
|
- [Custom Domains](../environments/custom-domains/page.mdx): Go to the custom domains settings for a specific project. |
|
60
|
- [Environment Variables](../environments/environment-variables/page.mdx): Go to the environment variables settings for a specific project. |
|
61
|
- [Storage](../s3/page.mdx): Go to [database](../database/page.mdx) and storage settings for a specific project. |
|
62
|
- [Project Settings](../projects/page.mdx): Go to the settings page for a specific project. |
|
63
|
- [Log drains](../projects/log-drains/page.mdx): Go to the log drains settings for a specific project. |
|
64
|
- [Environment Settings](../environments/long-lived/page.mdx): Go to the settings page of a specific environment. |
|
65
|
|
|
66
|
For the commands that navigate to a specific project, such as **Project Overview** or **Logs**, you'll need to [select a project](#select-a-specific-project) after choosing the command. |
|
67
|
|
|
68
|
### Settings |
|
69
|
|
|
70
|
Settings items take you to specific settings pages in the Cloud dashboard: |
|
71
|
|
|
72
|
- [Organization Settings](../organizations/page.mdx): Go to your organization's settings page. |
|
73
|
- [Team Members](../organizations/page.mdx#invite-members-to-organization): Go to the team members settings of your organization. |
|
74
|
- [Organization Access Keys](../access-keys/page.mdx#manage-organization-access-keys): Go to the organization access keys settings. |
|
75
|
- [Personal Access Keys](../access-keys/page.mdx#manage-personal-access-keys): Go to the personal access keys settings. |
|
76
|
- [Usage](../usage/page.mdx): Go to the usage page for your organization to view your current usage and limits. |
|
77
|
- [Email Activity](../emails/page.mdx#monitor-email-sending-activity-on-cloud): Go to the email activity page to monitor your outbound email sending activity. |
|
78
|
- [Sender Domains](../emails/page.mdx#add-email-sender-domain-to-cloud): Go to the sender domains settings to manage your email sender domains. |
|
79
|
|
|
80
|
--- |
|
81
|
|
|
82
|
## Select a Specific Project |
|
83
|
|
|
84
|
Some commands require you to choose a project before continuing. These commands display a <InlineIcon Icon={ChevronRight} alt="arrow" /> icon on the right side. |
|
85
|
|
|
86
|
When you select one of these commands, the palette switches to a project-picker view: |
|
87
|
|
|
88
|
1. Open the command palette with <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd>. |
|
89
|
2. Select a command that shows a <InlineIcon Icon={ChevronRight} alt="arrow" /> icon, such as **Project Overview**. |
|
90
|
3. The palette displays a **"Select a project..."** search field and a list of your projects. |
|
91
|
4. Select a project from the list. You can search for a project by typing its name, and use <Kbd>↑</Kbd> / <Kbd>↓</Kbd> to move between projects. |
|
92
|
|
|
93
|
The selected project's page opens immediately. |
|
94
|
|
|
95
|
To go back to the main command list without selecting a project, click the badge (for example, the **Project Overview** badge) at the top of the palette. |
|
96
|
|
|
97
|
--- |
|
98
|
|
|
99
|
## Search for a Project |
|
100
|
|
|
101
|
You can type in the command palette's search bar to filter both commands and project names. |
|
102
|
|
|
103
|
To search for a project and navigate to its dashboard: |
|
104
|
|
|
105
|
1. Open the command palette with <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd>. |
|
106
|
2. Type the name of the project in the search bar. |
|
107
|
3. Select the matching project from the results. |
|
108
|
|
|
109
|
This takes you directly to that project's dashboard. |