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

Abierto
#4,023 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
cli, frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
649
Merge medio
16 h 1 min
PR fusionados (30 d)
756

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de backnotprop/plannotator

Todos los issues de backnotprop/plannotator

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.