joplin-plugin-explorer 1.1.4 → 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 +63 -66
- package/package.json +25 -26
- package/publish/index.js +1 -708
- package/publish/manifest.json +13 -18
- package/publish/plugin.jpl +0 -0
- package/publish/webview/panel.css +182 -8
- package/publish/webview/panel.js +1 -485
package/README.md
CHANGED
|
@@ -1,66 +1,63 @@
|
|
|
1
|
-
# Joplin Explorer
|
|
2
|
-
|
|
3
|
-
A unified sidebar plugin for [Joplin](https://joplinapp.org/) that displays notebooks and notes together in a single tree view — like a file explorer.
|
|
4
|
-
|
|
5
|
-
[中文说明](README-CN.md)
|
|
6
|
-
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
- **
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- **
|
|
42
|
-
- **
|
|
43
|
-
- **
|
|
44
|
-
- **
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
#
|
|
53
|
-
npm
|
|
54
|
-
|
|
55
|
-
#
|
|
56
|
-
npm run
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## License
|
|
65
|
-
|
|
66
|
-
MIT
|
|
1
|
+
# Joplin Explorer
|
|
2
|
+
|
|
3
|
+
A unified sidebar plugin for [Joplin](https://joplinapp.org/) that displays notebooks and notes together in a single tree view — like a file explorer.
|
|
4
|
+
|
|
5
|
+
[中文说明](README-CN.md)
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Unified Tree View** — Notebooks and notes displayed in one collapsible panel
|
|
10
|
+
- **Custom Icons** — Shows emoji icons set in notebook settings
|
|
11
|
+
- **Favorites (Pin)** — Pin notes and notebooks to a collapsible section at the top of the tree; drag items to the pinned section to pin, drag within to reorder; persists across restarts
|
|
12
|
+
- **Enhanced Search** — Search notes, notebooks, and tags simultaneously with keyword highlighting; results grouped in collapsible sections; local title substring matching for partial queries (e.g. "8121R" finds "KY8121R")
|
|
13
|
+
- **Sort** — Toggle between sorting by update time or title (ascending/descending)
|
|
14
|
+
- **Context Menus**
|
|
15
|
+
- Notebooks: pin/unpin, new note, new to-do, new sub-notebook, rename, export, delete
|
|
16
|
+
- Notes: pin/unpin, open, open in new window, copy Markdown link, duplicate, switch note/to-do type, toggle completed, rename, view properties, delete
|
|
17
|
+
- **Drag & Drop** — Move notes between notebooks, reorganize folder hierarchy; drag to empty area to create a new notebook; drag to pinned section to pin
|
|
18
|
+
- **Sync Button** — Trigger synchronization with status feedback (syncing → done)
|
|
19
|
+
- **Auto Expand** — Automatically expands to the currently selected note on startup
|
|
20
|
+
- **Collapse All** — One-click collapse all notebooks
|
|
21
|
+
- **Scroll Position** — Preserved when navigating between notes
|
|
22
|
+
- **i18n** — Supports Simplified Chinese, Traditional Chinese, English, and Japanese (follows Joplin's locale setting)
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
### From File
|
|
27
|
+
|
|
28
|
+
1. Download `joplin-explorer.jpl` from the [latest release](https://github.com/lim0513/joplin-explorer/releases/latest)
|
|
29
|
+
2. In Joplin, go to **Tools → Options → Plugins**
|
|
30
|
+
3. Click the gear icon and select **Install from file**
|
|
31
|
+
4. Choose the downloaded `.jpl` file
|
|
32
|
+
5. Restart Joplin
|
|
33
|
+
|
|
34
|
+
## Usage
|
|
35
|
+
|
|
36
|
+
After installation, the Explorer panel appears on the side of the editor. You can:
|
|
37
|
+
|
|
38
|
+
- **Click** a notebook to expand/collapse it
|
|
39
|
+
- **Click** a note to open it
|
|
40
|
+
- **Right-click** for context menu actions (including pin/unpin)
|
|
41
|
+
- **Drag** notes or notebooks to reorganize; drag to the bottom zone to create a new notebook; drag to the pinned section to pin
|
|
42
|
+
- Use the **toolbar** at the top for quick actions (new notebook/note/to-do, sort, collapse all)
|
|
43
|
+
- Use the **search bar** to search notes, notebooks, and tags
|
|
44
|
+
- Click **Sync** at the bottom to trigger synchronization
|
|
45
|
+
|
|
46
|
+
## Development
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Install dependencies
|
|
50
|
+
npm install
|
|
51
|
+
|
|
52
|
+
# Build
|
|
53
|
+
npm run dist
|
|
54
|
+
|
|
55
|
+
# Watch mode
|
|
56
|
+
npm run dev
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The built plugin is output to the `publish/` directory. To test locally, set `plugins.devPluginPaths` in Joplin's settings to point to the `publish/` directory.
|
|
60
|
+
|
|
61
|
+
## License
|
|
62
|
+
|
|
63
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "joplin-plugin-explorer",
|
|
3
|
-
"version": "1.1
|
|
4
|
-
"description": "A unified sidebar that displays notebooks and notes together in a single tree view",
|
|
5
|
-
"author": "lim0513",
|
|
6
|
-
"homepage": "https://github.com/lim0513/joplin-explorer",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "https://github.com/lim0513/joplin-explorer.git"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"dist": "webpack --env production",
|
|
13
|
-
"dev": "webpack --watch"
|
|
14
|
-
},
|
|
15
|
-
"keywords": ["joplin-plugin", "joplin", "sidebar", "explorer", "tree-view", "notebooks"],
|
|
16
|
-
"license": "MIT",
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"webpack": "^5.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "joplin-plugin-explorer",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "A unified sidebar that displays notebooks and notes together in a single tree view",
|
|
5
|
+
"author": "lim0513",
|
|
6
|
+
"homepage": "https://github.com/lim0513/joplin-explorer",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/lim0513/joplin-explorer.git"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dist": "webpack --env production",
|
|
13
|
+
"dev": "webpack --watch"
|
|
14
|
+
},
|
|
15
|
+
"keywords": ["joplin-plugin", "joplin", "sidebar", "explorer", "tree-view", "notebooks"],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
19
|
+
"ts-loader": "^9.5.1",
|
|
20
|
+
"typescript": "^5.3.3",
|
|
21
|
+
"webpack": "^5.89.0",
|
|
22
|
+
"webpack-cli": "^5.1.4"
|
|
23
|
+
},
|
|
24
|
+
"files": ["publish"]
|
|
25
|
+
}
|