Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Command palette could use some love

未关闭
#15,281 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
laravel, php
领域
frontend

调研方向

Start by reproducing the reported command-palette issues with multiple collections and entries, especially keyboard navigation, slow-loading results, filtering, and recent items. The issue names no files or tests; use the reproductions to locate the relevant entry points and define which reported behaviors are in scope, then verify those behaviors are corrected.

由索引模型根据 Issue 内容生成。

描述

command palette ui
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

主要语言
PHP
星标
4.9k
派生
647
平均合并
1 天 11 小时
30 天内合并 PR
137

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

statamic/cms 的其他 Issue

查看 statamic/cms 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。