Feature request: add separators and key shortcuts to dropdown menu

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

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
22/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
desktop

Hướng nghiên cứu

The payload names no files or entry points. Start by locating where the extension builds its template dropdown menu and where template names and shortcuts are stored. The issue asks for two things: visual separators for templates whose names begin with special characters, and showing each item's keyboard shortcut in the menu. Settle the separator naming rule with a maintainer before coding. Done means both behaviours appear in the menu and existing templates still work.

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

Mô tả

With lots of dropdown menus I've recently implemented a few upgrades to my templates, first being the group separators within a group:

Image

This leads to a suggestion that some templates could be treated as separators for visual clarity: eg. the ones starting with double hyphen or some other special character/combination - looking cleaner, not enabled for click.

Also, I've added keyboard shortcuts to a few items but then I realized I do not even remember previously added ones. To remember those, I've had to look them up in settings.

It would be a huge upgrade to have the keyboard shortcut added to menu items that have keyboard shortcuts.

Thing with templates is some are used everyday, some are used depending on the situational context for a while and then they are left just sitting there for a long time. Keyboard shortcuts would be easier to memorize with just being there in the menu for when you don't remember them.
I'd add them in a template name but, besides the risk of making a mistake, forgetting to edit the name while editing the shortcut, I'd rather not use [] chars in templates' names, as [[]] are special chars for QuickText.

Ngôn ngữ chính
JavaScript
Star
283
Fork
62
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

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 jobisoft/quicktext

Tất cả issue của jobisoft/quicktext

Issue tương tự

Thêm issue về JavaScript

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.