NotePlan / NotePlan/plugins

Smarter share sheet to avoid breaking triggers

Abierto
#415 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@EduardMe ya está trabajando en esto.

Desde el 4/3/2023.

bug
Lenguaje dominante
JavaScript
Estrellas
204
Forks
82
Merge medio
22 h 27 min
PR fusionados (30 d)
3

Descripción

There are existing Canny requests with ideas about making more of the share sheet extension.
But I'm coming at it here from the plugin perspective, as another knock-on from the introduction of triggers, which necessitate more use of frontmatter, even in daily notes. (#411 is another recent example.)

Currently: the only option from the share sheet extension is to prepend text to a daily note.
Issue: this then stops frontmatter from being frontmatter, stopping triggers from working. Hence this is now closer to a Bug than a Feature Request.

Ideal solution: be smarter at where to insert the text. For nearly 2 years now my plugins, calculate a smart insertion point that comes after any H1 title and initial preamble, and now after any frontmatter too. If you want to see the logic, it's in helpers/paragraph.js::calcSmartPrependPoint.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.