joplin-plugin-tag-navigator 1.1.0 → 1.2.1

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
@@ -27,7 +27,7 @@ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://jo
27
27
  - Search tags by **today's date**. Examples: #today, #today+1 (tomorrow), #today-10 (ten days ago)
28
28
  2. It can generate a note with all tagged paragaraphs that match a saved query (dynamically updated).
29
29
  - Save a query in a note, and switch note view on: `Tools --> Tag Navigator --> Toggle search results display in note`
30
- 3. It adds a panel for quickly navigating between inline tags that appear in the current note.
30
+ 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)).
31
31
  4. It can convert your existing inline tags to native Joplin tags, so that they are accessible using Joplin's built-in tag search.
32
32
  5. It can convert your existing native Joplin tags to inline tags, so that they are accessible using inline tag search (this plugin).
33
33
 
@@ -41,16 +41,24 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
41
41
 
42
42
  - Watch the navigation panel demo:
43
43
 
44
- <img src="img/tag-navigator.gif" width="80%" title="navigation panel demo">
44
+ <img src="img/tag-navigator-panel.gif" width="80%" title="navigation panel demo">
45
+
46
+ - Watch the tag insertion demo:
47
+
48
+ <img src="img/tag-navigator-insert.gif" width="80%" title="insert tag demo">
45
49
 
46
50
  ## Tips
47
51
 
48
52
  - If any of the actions on note results does not work (toggling checkboxes, editing tags), this is usually resolved by a database update (Ctrl+Shift+D).
49
53
  - The definition of a "tag" can be adjusted with user-defined regular expressions.
50
- - For example, every word in the text may be defined as a tag using a custom regex such as `[A-Za-z0-9]+[\w]*`.
54
+ - Example: Every word in the text may be defined as a tag using a custom regex such as `[A-Za-z0-9]+[\w]*`.
55
+ - You may also define an exclusion rule to ignore certain tags.
56
+ - Example: Numeric (`#123`) or hexanumeric (`#C0FF1E`) tags can be filtered using an exclusion regex such as `#(\d+|[a-fA-F0-9]{6})$`.
51
57
  - Inline TODOs:
52
58
  - Filter results by pending tasks (`"- [ ]"`) or ones done (`"- [x]"`).
53
59
  - Add support for [additional tags](https://github.com/CalebJohn/joplin-inline-todo?tab=readme-ov-file#confluence-style) for @mentions, +projects and //due-dates using a custom tag regex such as `(?<=^|\s)([#@+]|\/\/)([^\s#@'\"]*\w)`.
60
+ - Furthermore, every checkbox in the text (even ones that are not tagged by any inline #tag) may be defined as a tag using a custom regex such as `(?<=^|\s)([#]|\-\s\[[x\s@\?!~]\])([^\s#'\"]*\w)?`.
61
+ - You may then use queries to search for tag-tasks based on their state (`- [ ]`, `- [x]`, `- [@]`, ...).
54
62
  - Supported additional checkbox styles
55
63
 
56
64
  ![custom checkboxes](img/checkboxes.png)
@@ -60,10 +68,11 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
60
68
 
61
69
  | Key | Action |
62
70
  | --- | ------ |
63
- | Enter | Add tag(s) / note to query |
71
+ | Enter | Add tag(s) / note to query / note |
64
72
  | 2nd Enter | Search notes based on current query |
65
73
  | Delete | Remove last added tag / note from query |
66
74
  | Esc | Clear the filter (display all tags / notes) |
75
+ | 2nd Esc | Return to note editor |
67
76
  | Arrow-Down | Toggle negation of last tag / note in query |
68
77
  | Arrow-Up | Toggle last operator AND <--> OR |
69
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-tag-navigator",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
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": "1.1.0",
9
+ "version": "1.2.1",
10
10
  "name": "Inline Tag Navigator",
11
11
  "description": "Type inline #tags in the note editor. View your tagged paragraphs and tasks / TODOs in an advanced search panel, or in a generated note. Convert inline and Obsidian tags into Joplin tags, and vice versa.",
12
12
  "author": "Alon Diament",
@@ -24,6 +24,6 @@
24
24
  ],
25
25
  "screenshots": [],
26
26
  "icons": {},
27
- "_publish_hash": "sha256:18da22eabc040ca268fa272028b7af02cd7d13c8f8797555a082b56c0f226ec1",
28
- "_publish_commit": "main:c5a7b5c9df471f58d58a5765f7ac2eaad921a396"
27
+ "_publish_hash": "sha256:7549157198d41ad2bb503981f35e3a4bbabe31a53e96dcbf0e02a9bfdc7195c4",
28
+ "_publish_commit": "main:c21b2bccb7a29a5f7f0e7995ba146f41ea864076"
29
29
  }