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

オープン
#4,023 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
cli, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 1分
マージ済み PR(30日)
756

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。