NotePlan / NotePlan/plugins

Search Extensions: support custom note title

Open
#502 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
204
Forks
82
Avg merge
22h 27m
Merged PRs (30d)
3

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /flexiSearch UI and trace how search results notes are created and later refreshed. Check whether the plugin command path is separate, then verify that an optional custom title is preserved so refreshing updates the existing note instead of creating a new one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.