Command Palette
The Command Palette is a powerful keyboard-first interface that provides quick access to common actions and navigation throughout Toggly.
Overview
The Command Palette (⌘K on macOS, Ctrl+K on Windows/Linux) enables you to:
- Navigate quickly between different sections
- Execute feature flag operations without clicking
- Access admin functions
- Copy SDK integration snippets
- Search for commands by keyword
Opening the Command Palette
Press the keyboard shortcut to open the command palette:
- macOS:
⌘ + K(Command + K) - Windows/Linux:
Ctrl + K
The command palette will appear as an overlay in the center of your screen.
Using the Command Palette
Searching for Commands
- Open the command palette using the keyboard shortcut
- Type to search for commands (fuzzy search supported)
- Use arrow keys (↑/↓) to navigate through results
- Press
Enterto execute the selected command - Press
Escto close without executing
Command Categories
Commands are organized into six categories:
Navigate
Quick navigation to different sections of the application:
- Go to Applications
- Go to Features
- Open Metrics Dashboard
- Open Audit Logs
- Go to SDK Keys
- Open Webhooks
- Go to Settings
- Manage Team Members
Feature
Feature flag operations:
- Enable Feature (in current environment)
- Disable Feature (in current environment)
- Kill Switch: Disable Feature (ALL ENVIRONMENTS) ⚠️
- Copy Feature Key
- Create New Feature
Targeting
Targeting rule management:
- View Targeting Rules
- View Enabled Filters
Experiment
A/B testing operations:
- View Experiments
- Create New Experiment
SDK
Developer utilities:
- Copy SDK Snippet (React)
- Copy SDK Snippet (.NET)
- Copy SDK Snippet (Node.js)
- Show Feature Usage Metrics
- Open SDK Documentation
Admin
Workspace administration:
- Switch Workspace
- Invite Team Member
- Manage Team Members
- Manage Billing
- Manage API Credentials
- Workspace Settings
Recent and Frequent Commands
When you open the command palette without typing, it displays:
- Recent commands you've executed
- Frequently used commands based on execution count
- Commands you have permission to execute
This makes it faster to access commands you use regularly.
Permissions
The command palette respects your workspace and application permissions:
- Commands you don't have permission for are hidden
- Workspace-level permissions (ManageUsers, Billing, etc.) control admin commands
- Application-level permissions (toggle, manage) control feature operations
Context Awareness
Some commands require context (current application, environment, or feature):
- Navigation commands typically don't require context
- Feature commands require application and environment context
- Targeting commands require application and feature context
If the required context isn't available, the command will be filtered out.
Dangerous Actions
Commands that can have significant impact require confirmation:
- Kill Switch (disables feature in ALL environments)
- Shows a confirmation dialog before executing
- Marked with a warning icon (⚠️) in the command list
Keyboard Navigation
| Key | Action |
|---|---|
⌘K / Ctrl+K | Open command palette |
↑ | Move selection up |
↓ | Move selection down |
Enter | Execute selected command |
Esc | Close command palette |
Tips
- Use fuzzy search: Type parts of the command name (e.g., "fea enab" matches "Feature Enable")
- Learn shortcuts: Frequently used commands appear at the top when you open the palette
- Context matters: Make sure you're on the right app/environment for feature commands
- Bookmark favorites: Use the command palette to quickly access your most-used actions
Examples
Enabling a Feature Flag
- Navigate to the application and environment
- Press
⌘K(orCtrl+K) - Type "enable"
- Select "Enable Feature"
- Choose the feature to enable
- Press
Enter
Copying SDK Snippet
- Press
⌘K(orCtrl+K) - Type "sdk react" or "sdk dotnet"
- Select the appropriate SDK snippet command
- Press
Enter - Snippet is copied to clipboard
Emergency Kill Switch
- Press
⌘K(orCtrl+K) - Type "kill"
- Select "Kill Switch: Disable Feature (ALL ENVIRONMENTS)"
- Confirm the action when prompted
- Feature will be disabled in all environments
Troubleshooting
Command palette doesn't open
- Check if another application is intercepting the keyboard shortcut
- Try clicking in the Toggly window first, then press the shortcut
Commands are missing
- Verify you have the necessary permissions
- Some commands require specific context (app/environment)
- Contact your workspace owner if you need additional permissions
Command execution fails
- Check your network connection
- Verify you still have permission to perform the action
- Some actions require specific application or environment to be selected
Enabling the Command Palette
The Command Palette feature is controlled by the CommandPalette feature flag in your Toggly instance. If you don't see the command palette:
- Contact your system administrator or workspace owner
- Ensure the
CommandPalettefeature flag is enabled in your environment - Refresh your browser after the feature flag is enabled
For self-hosted instances, you can enable this feature flag through your Toggly feature management configuration.