joplin-plugin-cockpit 2.3.0 → 2.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
|
@@ -98,6 +98,8 @@ With several to-dos selected the picker offers "Keep each to-do's own schedule"
|
|
|
98
98
|
|
|
99
99
|
Right-click a to-do's circle, or long-press it on touch, to open the picker for that to-do, or for the whole selection if it is part of one. Right-click a group heading — "Today", "No Due Date", a week-planner day — to select everything under it and open the picker for the lot.
|
|
100
100
|
|
|
101
|
+
On desktop the same picker can be put on the alarm bell in Joplin's own note title bar, so a to-do open in the editor gets it without going through the panel — see [Settings](#settings).
|
|
102
|
+
|
|
101
103
|
## The circle on every row
|
|
102
104
|
|
|
103
105
|
The circle on each row doubles as a ring showing how many of the checkboxes inside that note are ticked, with a "3/7 checkboxes done" tooltip. It is display-only in both directions: filling the ring does not complete the to-do, and completing the to-do does not fill the ring. A note with no checkboxes inside shows a plain disc instead.
|
|
@@ -174,6 +176,12 @@ New note and New to-do create in the notebook the panel is filtered to and open
|
|
|
174
176
|
|
|
175
177
|
Move, tag and duplicate run Joplin's own dialogs on desktop — the native tag dialog with its autocomplete and common-tags behaviour, Joplin's move dialog, Joplin's duplicateNote. On mobile Cockpit does each itself: a notebook picker it draws, a comma-separated tag field prefilled with the note's current tags (attaching and detaching exactly the difference), and a field-by-field copy into a fresh note in the same notebook.
|
|
176
178
|
|
|
179
|
+
## Works with Whereabouts
|
|
180
|
+
|
|
181
|
+
[Whereabouts](https://github.com/pmslava/joplin-plugin-whereabouts) puts a small notebook chip under the note title. With Cockpit installed the chip also drives the panel: a **left click** points the panel at that notebook, a **double click** reveals the note in the panel — filtering to its notebook if it is not already listed, and pinning it below the list as a read-only row when the active profile cannot show it at all (a plain note in a to-dos-only profile, say). The revealed row is scrolled into view and flashes briefly. Neither plugin needs the other: without Cockpit the chip is silent, without Whereabouts nothing here changes.
|
|
182
|
+
|
|
183
|
+
Both plugins reach into Joplin's note title bar, and they do not collide: Whereabouts mounts its chip below the title, while Cockpit's two title-bar settings touch only the alarm bell inside Joplin's own button row (`.note-title-info-group`) — matched by the bell's own icon, so the other buttons in that row keep their appearance and their clicks — and the chip never enters that row. Run both with everything switched on and each does its own thing.
|
|
184
|
+
|
|
177
185
|
## Overview notes
|
|
178
186
|
|
|
179
187
|
Give a profile the id of a note and Cockpit keeps that note filled with the profile's list as Markdown — a heading per group, each to-do a checkbox linked back to itself — so the plan is readable in any Joplin client, including ones that cannot show the panel.
|
|
@@ -227,6 +235,8 @@ Cockpit's settings live in Joplin's own Settings › Plugins › Cockpit.
|
|
|
227
235
|
- **Excluded notebooks** — see [Search and filtering](#search-and-filtering).
|
|
228
236
|
- **Theme, completed-to-do style, font size, circle size and the six custom colours** — see [Appearance](#appearance).
|
|
229
237
|
- **Show the Cockpit button in the note toolbar** — a gauge button in the note toolbar toggles the panel, and the same command sits in Tools › Cockpit alongside this switch and Set Panel CSS. Joplin cannot add or remove a toolbar button while running, so turning it on or off applies after a restart, and Cockpit says so.
|
|
238
|
+
- **Hide the due date next to the bell in the note title bar and show it on hover** — when a to-do has an alarm, Joplin prints the due date as text beside the bell in the note title bar, and that text eats the space the title has. With this on, the text is hidden and appears as a small bubble under the bell while the pointer is over it. Desktop only. Off by default. Joplin cannot unload a stylesheet it has already loaded, so this applies after a restart.
|
|
239
|
+
- **Open Cockpit's date picker instead of Joplin's when the alarm bell is clicked** — clicking the bell opens Cockpit's picker (calendar, time columns and quick buttons) rather than Joplin's bare datetime prompt. Desktop and the **Markdown editor** only: with the Rich Text editor no plugin code runs in that window, so the bell keeps Joplin's prompt there. The Note menu's *Set alarm* item and its keyboard shortcut always keep Joplin's picker, so the original is never out of reach. Off by default; applies after a restart, since Joplin cannot register an editor content script while running.
|
|
230
240
|
|
|
231
241
|
## On Android
|
|
232
242
|
|
|
@@ -240,6 +250,15 @@ Android can restart the panel's webview under load, so Cockpit keeps the scroll
|
|
|
240
250
|
|
|
241
251
|
Desktop-only: Ctrl/Shift multi-select and the batch actions that follow from it, double-click to open in a new window, custom panel CSS, and the note-toolbar button.
|
|
242
252
|
|
|
253
|
+
## Commands for other plugins
|
|
254
|
+
|
|
255
|
+
Cockpit registers two commands with no menu item of their own, for other plugins (or the command palette) to call. Both take a plain id string, ignore an id that no longer resolves, and never throw back at the caller.
|
|
256
|
+
|
|
257
|
+
| Command | Argument | What it does |
|
|
258
|
+
| --- | --- | --- |
|
|
259
|
+
| `cockpit.filterByNotebook` | a notebook id; `""` or no argument | Points the panel at that notebook, exactly as picking it in the notebook dropdown does. `""` (or no argument) clears the filter back to all notebooks. An unknown id is ignored rather than treated as a clear. The saved profile is not changed. Works on desktop and mobile. |
|
|
260
|
+
| `cockpit.revealNote` | a note id | Shows that note in the panel: a hidden panel is shown first, then the note is shown where it already is, or the filter switches to its notebook and the typed search is cleared, or — when the active profile cannot list it at all — it is pinned below the list as a read-only "Revealed" row. The revealed row is scrolled into view and flashed. The pin goes when you switch profile, change the notebook, commit a search, reveal something else or open the row. **Desktop only**: on mobile the panel is a tab in Joplin's own plugin-panel screen, which is yours to open and close, so a reveal there does nothing. |
|
|
261
|
+
|
|
243
262
|
## Build from source
|
|
244
263
|
|
|
245
264
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-cockpit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "A tasks-and-notes command center panel: due dates with drag and drop and a calendar picker, checkbox progress rings, notebook and search filters, view profiles, and notebook management - on desktop and mobile.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
Binary file
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"desktop",
|
|
8
8
|
"mobile"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.5.0",
|
|
11
11
|
"name": "Cockpit",
|
|
12
12
|
"description": "A tasks-and-notes command center panel: due dates with drag and drop and a calendar picker, checkbox progress rings, notebook and search filters, view profiles, and notebook management - on desktop and mobile.",
|
|
13
13
|
"author": "pmslava",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"label": "The alarm picker: ISO date, 24-hour time, a Monday-first calendar, and quick shortcuts"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"_publish_hash": "sha256:
|
|
47
|
-
"_publish_commit": "master:
|
|
46
|
+
"_publish_hash": "sha256:ec1a9378f5cc8ee9840696c7df1180d7831f43d9a23b326ac1fba5f6792a7c74",
|
|
47
|
+
"_publish_commit": "master:1dd088aad06e67b8b9e3eef89cb648ae843866e9"
|
|
48
48
|
}
|