Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Command palette could use some love

Đang mở
#15,281 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
laravel, php
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
4.9k
Fork
647
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
113

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của statamic/cms

Tất cả issue của statamic/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.