feat: Keyboard shortcuts via Commands API

Đang mở
#21 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Start by reading manifest.json and trace how the extension opens its popup and starts a speed test. The issue provides manifest command entries for opening the popup and starting a test, but does not specify how the side panel shortcut should be implemented. Done means the shortcuts work and are configurable in the browser’s extension shortcut settings.

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

Mô tả

accessibility enhancement good first issue

Summary

Add configurable keyboard shortcuts using Chrome's Commands API for power users and accessibility.

Proposed shortcuts
Shortcut Action
Ctrl+Shift+M (default) Open MeterX popup
Alt+Shift+S Start speed test immediately
Alt+Shift+H Open side panel
Implementation

Add to manifest.json:

"commands": {
  "_execute_action": {
    "suggested_key": {
      "default": "Ctrl+Shift+M",
      "mac": "Command+Shift+M"
    },
    "description": "Open MeterX"
  },
  "run-test": {
    "suggested_key": { "default": "Alt+Shift+S" },
    "description": "Start Speed Test"
  }
}
Why
  • Essential for keyboard-only navigation users
  • Power users love keyboard shortcuts
  • Improves accessibility for users who can't use a mouse
  • Zero UI impact — fully opt-in
Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
15 ngày 20 giờ
Pull request đã merge (30 ngày)
3

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

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 ajithakdev/meterx

Tất cả issue của ajithakdev/meterx

Issue tương tự

Thêm issue về TypeScript

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.