NotePlan / NotePlan/plugins

Search Extensions: support custom note title

Aperta
#502 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
204
Fork
82
Merge medio
22h 27m
PR unite (30g)
3

Descrizione

The problem

When a plugin creates a note with search results, it uses search terms as the note title.

Now, if afterwards I rename the note (to be more descriptive) and then click "refresh" link in the note, it creates a new note with fresh search results instead of updating the existing one (obviously, because it is looking for a note with a corresponding name).

Proposed solution

Allow user to optionally specify custom note title when he or she is performing the search (new input in the UI of /flexiSearch would be absolutely enough for me personally, although some other users who use the plugin commands without the UI might want an optional parameter support as well).

This way one still won't be able to change the note title after search results note has been created, but at least one would be able to set the title before creating that note.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Direzione di ricerca

Inizia dalla UI /flexiSearch e segui come vengono create e successivamente aggiornate le note dei risultati di ricerca. Verifica se il percorso del comando del plugin è separato, quindi verifica che un titolo personalizzato opzionale venga preservato, in modo che l'aggiornamento modifichi la nota esistente invece di crearne una nuova.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.