Automattic / Automattic/cortext

Command palette (cmd-k) doesn't really work with commands

Open
#316 0 comments 0 reactions 0 assignees View on GitHub
area: shell
Dominant language
JavaScript
Stars
51
Forks
2
Avg merge
3h 12m
Merged PRs (30d)
8

Description

Previously: #138

AFAIK, the command palette (cmd-k) technically does offer some very basic commands, e.g. "Go to Home". That said, it mostly centres around documents. Indeed, as soon as I type something in it, the results only cover documents and not actions.

I suggest that we reach one of the following states:

1. Make it a "search palette" only
- Rename it, avoiding the term "command" everywhere
- Remove any actions
2. Make it a proper "command" palette
- Expand the range of available actions
- Include contextual ones, e.g. "Delete" and "Rename" should be available when the current view is a document
- Fix searching

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the cmd-k command palette implementation and checking how it currently searches documents and exposes actions. Done requires an agreed direction—search-only or a fuller command palette—along with defined actions and working search behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.