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

Aperta
#4,023 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli, frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.