Skip to content

Command palette could use some love #15281

Description

@robdekort

Bug description

The command palette is great in theory for quickly navigating items within the CP. But in practice I find it unreliable and it often takes more time than it would've by just clicking around in the CP.

If it's ok, I'll list some stuff I've noticed:

  • Sometimes you can't keyboard navigate the results by going down, you have to go up and then it jumps to the last result.
  • Results often load in slow and then active items lose focus.
  • Search seems to broad. When I type in something like "Issue 1", I get all collection items called Issue (2, 3, 4, 5).
  • I have a collection with similar entry titles. So when I search for Issue $collectionTitle I would've hoped the results filter. Instead doing exactly this gives me the search results from the $collectionTitle I haven't included. Which seems odd.
  • Recent items often don't seem to populate with recent items
  • You can't cmd+enter to open items in a new tab
  • Appropriate results aren't always the first ones listed

How to reproduce

Play with the thing, especially when you've got multiple collections and entries.

Environment

Environment
Laravel Version: 13.29.0
PHP Version: 8.5.8
Composer Version: 2.10.1
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 5
License Key: Set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.29.0 PRO

Statamic Addons
rias/statamic-color-swatches: 3.1.1
statamic-rad-pack/shopify: 7.8.3
studio1902/statamic-peak-commands: 11.1.0
studio1902/statamic-peak-seo: 11.9.2
studio1902/statamic-peak-tools: 9.2.0

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions