joplin-plugin-tag-navigator 2.9.1 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@ For video tutorials, see the [Demos](#demos) section or the [full playlist](http
29
29
  This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://joplinapp.org) in six ways:
30
30
 
31
31
  1. It adds a panel for searching and viewing tagged paragraphs across all your notes. ([video](https://www.youtube.com/watch?v=im0zjQFoXb0))
32
- - **Search queries**: Search tags using logical operators (AND, OR, NOT), and using free text in the note, title, or notebook name / path.
32
+ - **Search queries**: Search tags using logical operators (AND, OR, NOT), and using free text in the note, title, or notebook name / path. Right-click in the query area to toggle between AND-of-ORs (default) and OR-of-ANDs modes.
33
33
  - **Save search queries** in notes and sync them across device. ([video](https://www.youtube.com/watch?v=GuzCwYxyYZ0), [tips](#saved-queries))
34
34
  - **Sort results by tags** such as priorities, dates, colors, or any other tag. Right-click a tag to sort by it or add it to a multi-key sort. ([video](https://www.youtube.com/watch?v=HvunHOc2zlM), [tips](#saved-queries))
35
35
  - **Tag-by-notes:** Search for links or [[wikilinks]] to notes (including backlinks to the current note).
@@ -51,7 +51,7 @@ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://jo
51
51
  - In a table / database. ([video](https://www.youtube.com/watch?v=L3zHletRk54), [tips](#table-views))
52
52
  - In a kanban board. ([video](https://www.youtube.com/watch?v=e7HhQJjpEJg), [tips](#kanban-views))
53
53
  3. It adds a panel for quickly navigating between inline tags that appear in the current note, or in all notes ([video](https://www.youtube.com/watch?v=h-HdX7npbIw)).
54
- - Click a global tag to search for it, or Cmd/Ctrl+click to add it to the current query.
54
+ - Click a global tag to search for it, Cmd/Ctrl+click to add it to the current query, or Shift+click to insert it into the editor.
55
55
  4. It can convert your existing inline tags to native Joplin tags, so that they are accessible using Joplin's built-in tag search.
56
56
  5. It can convert your existing native Joplin tags to inline tags, so that they are accessible using inline tag search (this plugin). ([tips](#converting-joplin-tags))
57
57
  6. It renders inline tags and front matter in the Markdown preview, and front matter in the Markdown editor. ([tips](#styling-inline-tags))
@@ -190,6 +190,7 @@ Date tags provide flexible ways to work with dates in your notes, supporting bot
190
190
  ### Tag insertion
191
191
 
192
192
  - You may insert a tag into the note editor by:
193
+ - Shift+clicking on a tag in the navigation panel.
193
194
  - Starting to type a tag in the search panel, and pressing `Shift+Enter`.
194
195
  - Right-clicking on a tag in the search panel, and selecting `Insert tag`.
195
196
 
@@ -294,8 +295,8 @@ Saved queries allow you to store search configurations in notes and reuse them a
294
295
  #### Core properties
295
296
 
296
297
  - **`query`**: Array of search terms (tags, notes, ranges)
297
- - Outer array represents OR groups
298
- - Inner arrays represent AND groups within each OR group
298
+ - In CNF mode (default): outer array represents AND groups, inner arrays represent OR groups
299
+ - In DNF mode: outer array represents OR groups, inner arrays represent AND groups
299
300
  - Each tag term has:
300
301
  - `tag`: The search term (tag, note link, or text)
301
302
  - `negated`: Boolean indicating whether to exclude this term
@@ -306,6 +307,9 @@ Saved queries allow you to store search configurations in notes and reuse them a
306
307
  - Each range term has:
307
308
  - `minValue`
308
309
  - `maxValue`
310
+ - **`mode`**: Query interpretation mode (optional, saved queries without mode default to `"dnf"` for backward compatibility)
311
+ - `"cnf"`: AND-of-ORs — results match all groups, where each group requires any of its tags (default for new queries)
312
+ - `"dnf"`: OR-of-ANDs — results match any group, where each group requires all its tags
309
313
  - **`filter`**: String for additional text filtering within results
310
314
  - **`displayInNote`**: Display mode when viewing in notes
311
315
  - `"false"`: Do not show results
@@ -375,7 +379,7 @@ Saved queries allow you to store search configurations in notes and reuse them a
375
379
  }
376
380
  ```
377
381
 
378
- This example searches for paragraphs that have both `#artist` AND `#album` tags, OR paragraphs with `#single` tag, then filters results containing "rock" anywhere in the text, and displays them in a table sorted by year (ascending) then by artist (descending). The `country` column header is renamed to "Country of Origin".
382
+ This example uses DNF mode (no `mode` field, so saved queries default to `"dnf"`) to search for paragraphs that have both `#artist` AND `#album` tags, OR paragraphs with `#single` tag, then filters results containing "rock" anywhere in the text, and displays them in a table sorted by year (ascending) then by artist (descending). The `country` column header is renamed to "Country of Origin".
379
383
 
380
384
  </details>
381
385
 
@@ -521,6 +525,7 @@ For the Markdown editor see Rich Markdown in the [Companion plugins](#companion-
521
525
  | Ctrl + Shift + I | Focus on search panel (search tag / insert tag) |
522
526
  | Ctrl + Shift + R | Refresh the current note view |
523
527
  | Ctrl + Shift + D | Update tag database |
528
+ | Ctrl + Alt + T | Search tag at cursor |
524
529
  | Ctrl + Alt + D | Replace date tags in current lines |
525
530
  | Ctrl + Shift + L | Load search query from current note |
526
531
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-tag-navigator",
3
- "version": "2.9.1",
3
+ "version": "2.10.0",
4
4
  "scripts": {
5
5
  "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
6
6
  "prepare": "npm run dist",
@@ -6,7 +6,7 @@
6
6
  "desktop",
7
7
  "mobile"
8
8
  ],
9
- "version": "2.9.1",
9
+ "version": "2.10.0",
10
10
  "name": "Inline Tag Navigator",
11
11
  "description": "Type inline tags or frontmatter in the note editor. View your tagged paragraphs and tasks / TODOs in a search panel, or in a generated note / kanban. Build a table view / database from notes and tags. Convert between Obsidian tags and Joplin tags.",
12
12
  "author": "Alon Diament",
@@ -24,6 +24,6 @@
24
24
  ],
25
25
  "screenshots": [],
26
26
  "icons": {},
27
- "_publish_hash": "sha256:33280af54037f9eaf98751da2f3d4d97369977185f4dd4401e26341ee24825cb",
28
- "_publish_commit": "main:620fdae6b028762d55c191d12ae5580769118144"
27
+ "_publish_hash": "sha256:057903f9984ed0909156754aac87c47f88da5e04b95bd6b68d9cee47aa313f0a",
28
+ "_publish_commit": "main:1853e59aaea2e999133b59a84794aa5b6eceef8a"
29
29
  }