[Feature Request] Option to open HTML viewer in Interact mode by default (Annotate mode off)

Đang mở
#4,023 1 bình luận 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/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
cli, frontend

Hướng nghiên cứu

The request concerns the mode the plannotator annotate viewer starts in for HTML documents, currently Annotate mode toggled by Ctrl+Shift+A or Esc. Start by finding where the initial mode is set and where the CLI flags for annotate and the ~/.plannotator/config.json preference are read. Choose between the config option and the --interact flag, or support both, and confirm the choice with a maintainer first. Done when the viewer opens in Interact mode under the chosen setting and the default stays unchanged.

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

Mô tả

Summary

When opening HTML documents/artifacts in plannotator annotate (v0.29.3), the viewer always starts with Annotate mode armed by default (Ctrl+Shift+A / Esc is required every time to drop into Interact mode).

Use Case

When opening generated HTML reports, dashboards, or previews primarily to read first—and only occasionally annotate—having the interactive annotation affordances (hover highlights, click-to-comment interception) active on launch feels visually noisy and gets in the way of normal reading/browsing.

Requested Behavior

Provide a way to start in Interact mode by default (or persist the user's last mode choice), for example via:

  1. A persistent preference in Options / ~/.plannotator/config.json (e.g., default HTML mode: annotate vs interact, or remembering the last toggled state), and/or
  2. A CLI flag on plannotator annotate (e.g., --interact).
Environment
  • Plannotator: 0.29.3
  • OS: Windows
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 1 phút
Pull request đã merge (30 ngày)
756

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 backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

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.