joplin-plugin-tag-navigator 1.4.2 → 1.5.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
@@ -19,7 +19,6 @@ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://jo
19
19
 
20
20
  1. It adds a panel for searching and viewing tagged paragraphs across all your notes ([video](https://www.youtube.com/watch?v=im0zjQFoXb0)).
21
21
  - **Save search queries** in notes and sync them across devices ([video](https://www.youtube.com/watch?v=GuzCwYxyYZ0)).
22
- - **Display results in a table** or a list ([video](https://www.youtube.com/watch?v=L3zHletRk54)).
23
22
  - **Tag-by-notes:** Search for links or [[wikilinks]] to notes (including backlinks to the current note).
24
23
  - **Tag in front matter:** All Markdown front matter fields can be treated as tags ([video](https://www.youtube.com/watch?v=L3zHletRk54)).
25
24
  - **Edit tags:** Add, replace and remove inline tags via the panel context menu (right-click on a tag).
@@ -30,6 +29,7 @@ This plugin adds inline tag support (such as #inline-tag) to [Joplin](https://jo
30
29
  - Search tags by **today's date**. Examples: #today, #today+1 (tomorrow), #today-10 (ten days ago)
31
30
  2. It can generate a note with all tagged paragaraphs that match a saved query (dynamically updated) ([video](https://www.youtube.com/watch?v=GuzCwYxyYZ0)).
32
31
  - Save a query in a note, and switch note view on: `Tools --> Tag Navigator --> Toggle search results display in note`
32
+ - Display results in a table / database ([video](https://www.youtube.com/watch?v=L3zHletRk54), [tips](#table-views))
33
33
  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)).
34
34
  4. It can convert your existing inline tags to native Joplin tags, so that they are accessible using Joplin's built-in tag search.
35
35
  5. It can convert your existing native Joplin tags to inline tags, so that they are accessible using inline tag search (this plugin). See also [tips](#converting-joplin-tags).
@@ -69,6 +69,7 @@ After installing the plugin, check the commands listed under `Tag Navigator` in
69
69
  - [Troubleshooting](#troubleshooting)
70
70
  - [Custom tag definitions](#custom-tag-definitions)
71
71
  - [Front matter tags](#front-matter-tags)
72
+ - [Table views](#table-views)
72
73
  - [Inline TODOs](#inline-todos)
73
74
  - [Keyboard shortcuts](#keyboard-shortcuts)
74
75
  - [Converting Joplin tags](#converting-joplin-tags)
@@ -112,6 +113,47 @@ will be converted to the following inline tags:
112
113
 
113
114
  These tags will be accessible in the search panel / notes / tables like standard inline tags. The last tag is `#frontmatter` and is used to indicate that the tags were extracted from the front matter section of the note.
114
115
 
116
+ ### Table views
117
+
118
+ - Quickly add new entries to the table by clicking on `New table entre note` in the context menu, toolbar, or Tag Navigator menu.
119
+ - The new note will contain a front matter template with properties for each column.
120
+ - Tables can be customised using the following settings:
121
+ - `Note view: Table view columns`: Set the default number of columns (most common ones) to display in the table view.
122
+ - `Note view: Table view notebook path`: Set to true to display the notebook path in the table view.
123
+ - `Note view: Note view: Tag case in table view`: Set to "Title Case" / "lowercase".
124
+ - Tables can be customised per note using the saved query, by adding an `options` field with the following properties:
125
+ - `includeCols`
126
+ - a comma-separated list of columns (tags / properties) to display in the table view
127
+ - can be used to slice the table columns, sort them, or add "modified" / "created" timestamps
128
+ - `excludeCols`
129
+ - a comma-separated list of columns to remove from the table view (even though these properties exist in the listed notes)
130
+ - `sortBy`
131
+ - a comma-separated list of columns to sort the table by
132
+ - `sortOrder`
133
+ - a comma-separated list of the words "ascending" / "descending" (or "desc", "descend", etc.) corresponding to the columns in the `sortBy` field
134
+ - example:
135
+
136
+ ```json
137
+ {
138
+ "query": [
139
+ [
140
+ {
141
+ "tag": "#artist",
142
+ "negated": false
143
+ }
144
+ ]
145
+ ],
146
+ "filter": "",
147
+ "displayInNote": "table",
148
+ "options": {
149
+ "includeCols": "title, artist, country, year, modified",
150
+ "excludeCols": "notebook, line",
151
+ "sortBy": "year",
152
+ "sortOrder": "asc"
153
+ }
154
+ }
155
+ ```
156
+
115
157
  ### Inline TODOs
116
158
 
117
159
  - Filter results by pending tasks (`"- [ ]"`) or ones done (`"- [x]"`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-tag-navigator",
3
- "version": "1.4.2",
3
+ "version": "1.5.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",
@@ -30,6 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "date-fns": "^3.6.0",
33
+ "js-yaml": "^4.1.0",
33
34
  "lodash.debounce": "^4.0.8",
34
35
  "markdown-it": "^14.0.0",
35
36
  "markdown-it-task-lists": "^2.1.1"
@@ -6,7 +6,7 @@
6
6
  "desktop",
7
7
  "mobile"
8
8
  ],
9
- "version": "1.4.2",
9
+ "version": "1.5.0",
10
10
  "name": "Inline Tag Navigator",
11
11
  "description": "Type inline #tags or front matter in the note editor. View your tagged paragraphs and tasks / TODOs in a search panel, or in a generated note. 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:cec84a31407721e552fe6cd86a2c94d37522a08f0d951856ac955f77e3322a2e",
28
- "_publish_commit": "main:b92d161073b2e546c246048db7700c5a3fb3fd53"
27
+ "_publish_hash": "sha256:0f91be0641c6be259031e70e13d5adc979e5544a1de73adcb725cb5f9eff66bb",
28
+ "_publish_commit": "main:d0fd741bc73006d3e46e6f1803becc9848acaad9"
29
29
  }