tour/dev: key chords, double-click and drag

Đang mở
#13 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/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ệ
shell
Lĩnh vực
cli, devtools

Hướng nghiên cứu

Start by reading the tour command parser and the dev subcommand dispatch to find where pressed (wtype -k), click and move are implemented, and check whether tour already has a drag so both paths can share one implementation. Each addition has to send events to the session's socket only, so read how the existing commands reach the headless backend before adding chord parsing, dblclick and drag. Mirror the existing stub-style tests for the new commands and update recording-tours.md; done means a Fugue tour can build a group with Ctrl+Shift+E, open node search with a double-click and rubber-band select with a drag in the headless session.

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

Mô tả

enhancement

Found while recording Fugue's README clips with the devkit (headless backend, app mode). tour can only press one key with pressed (wtype -k), and has no double-click. Fugue's Ctrl+Shift+E (make group), Ctrl+Enter (run) and double-click (node search) cannot be sent, so the tours go through menus.

Wanted

  • pressed ctrl+shift+e (modifiers + key chords) in tours and dev key ctrl+shift+e, sent via the virtual keyboard to the session's socket only.
  • dblclick X Y (two clicks in the double-click time) in tours and dev dblclick X Y.
  • dev drag X1 Y1 X2 Y2 (press, move in steps, release) for dragging links, nodes and rubber-band selection; dev has click and move but no drag (the tour has drag? check) so make both consistent.
  • Tests (stub style) and docs (recording-tours.md).

Done when

A Fugue tour can make a group with the shortcut, open node search with a double-click and rubber-band select with a drag, all in the headless session.

Ngôn ngữ chính
Shell
Star
0
Fork
0
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
3

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 bmaltais/omarchy-plugin-devkit

Tất cả issue của bmaltais/omarchy-plugin-devkit

Issue tương tự

Thêm issue về Shell/Bash

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.