Make Project Management a native feature

- Move the storage and model of the plugin into src/lib/features/pm/ as pure TypeScript, so the skill can still bundle them.
- Move the DOM interface onto the host menus, the shared tooltip, and the host icons.
- A ribbon button opens Project Management. Board tabs keep the owner runestone.pm and the board-<hex> view IDs through view patterns.
- Read only .runestone/pm/. Offer the plugin migration, with backups, for legacy notes.
- A save, move, or delete reads only that card again. Watcher paths reach the feature.
- Add Settings → Project Management and the projectManagement section. View states move to localStorage.
- Background reads the boards from workspace.json. Remove api.backgrounds and the boards service.
- Add yaml 2.9.1. Use the host markdown-it.
- Move 18 plugin test files to tests/unit/features/pm/ and add native tests.
This commit is contained in:
Knotty Wyvern
2026-10-29 20:54:29 -07:00
parent e6deecc092
commit e66f089176
100 changed files with 14412 additions and 290 deletions
+73 -101
View File
@@ -1,9 +1,7 @@
{
"date": "2026-10-15",
"date": "2026-10-29",
"scope": [
"RuneStone",
"RuneStone_Project_Management",
"RuneStone_Background_Slideshow",
"RuneStone_Local_Autocomplete",
"RuneStone_CSV_Viewer"
],
@@ -172,97 +170,6 @@
"design": "Shared action menu",
"check": "tests/smoke/menus/consistency.smoke.mjs"
},
"RuneStone_Project_Management/src/choices-ui.ts": {
"counts": {
"action": 1
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Project_Management/src/details-ui.ts": {
"counts": {
"picker": 1,
"localPopup": 4
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Project_Management/src/labels-ui.ts": {
"counts": {
"picker": 1,
"localPopup": 3
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Project_Management/src/preferences.ts": {
"counts": {
"action": 1,
"nativeChoice": 1
},
"design": "Shared choice adapter; native selects hidden on current host, older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Project_Management/src/priority-ui.ts": {
"counts": {
"action": 1,
"picker": 1,
"localPopup": 3
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Project_Management/src/relations-ui.ts": {
"counts": {
"nativeChoice": 1,
"picker": 1,
"localPopup": 5
},
"design": "Shared relationship choice and direct searchable picker rows; older-host choice fallback retained",
"check": "RuneStone_Project_Management/tests/relations-menu.spec.ts; tests/menu-audit.spec.ts; tests/related-cards.spec.ts"
},
"RuneStone_Project_Management/src/tags.ts": {
"counts": {
"picker": 2,
"localPopup": 2
},
"design": "Shared action menus and searchable picker classes; older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts"
},
"RuneStone_Project_Management/src/ui.ts": {
"counts": {
"action": 4,
"nativeChoice": 13,
"picker": 1,
"localPopup": 1
},
"design": "Shared choice adapter; native selects hidden on current host, older-host fallback retained",
"check": "RuneStone_Project_Management/tests/menu-audit.spec.ts; tests/shared-menu.spec.ts; tests/relations-menu.spec.ts; tests/list-limits.spec.ts; tests/all-tasks.spec.ts; tests/card-board-details.spec.ts"
},
"RuneStone_Background_Slideshow/src/contracts.ts": {
"counts": {
"action": 1
},
"design": "API type declaration, no renderer",
"check": "pnpm check"
},
"RuneStone_Background_Slideshow/src/image-settings-ui.ts": {
"counts": {
"action": 1,
"nativeChoice": 1,
"picker": 2,
"localPopup": 3
},
"design": "Host action menus and shared searchable image picker; native image select only on older hosts",
"check": "RuneStone_Background_Slideshow/tests/settings.smoke.mjs"
},
"RuneStone_Background_Slideshow/src/settings.ts": {
"counts": {
"action": 1
},
"design": "Host action menus and shared searchable image picker; native image select only on older hosts",
"check": "RuneStone_Background_Slideshow/tests/settings.smoke.mjs"
},
"RuneStone_Local_Autocomplete/src/main.mjs": {
"counts": {
"action": 1,
@@ -288,13 +195,6 @@
"design": "Shared action menu for interface language; settings retain ordinary controls",
"check": "tests/smoke/settings/displayLanguage.smoke.mjs; tests/smoke/menus/consistency.smoke.mjs"
},
"RuneStone_Project_Management/src/workspace-default.ts": {
"counts": {
"nativeChoice": 1
},
"design": "Uses the host menu. Keeps a native selector for older hosts.",
"check": "RuneStone_Project_Management/tests/october-cards.spec.ts with PM_HOST_URL; both themes, narrow layout, keyboard focus"
},
"RuneStone/src/lib/features/background/BackgroundSettings.svelte": {
"counts": {
"action": 1,
@@ -334,6 +234,78 @@
},
"design": "Shared action menu for the default profile in Settings → Terminal",
"check": "tests/smoke/features/terminal.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/host.ts": {
"counts": {
"action": 2
},
"design": "The host layer of Project Management: showActionMenu of managedActionMenu.ts and the shared tooltip",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/choices-ui.ts": {
"counts": {
"action": 1
},
"design": "Shared choice adapter: the native selects stay hidden for their values, and the host action menu shows the choices",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/priority-ui.ts": {
"counts": {
"action": 1
},
"design": "Shared action menu for the card priority",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/details-ui.ts": {
"counts": {
"picker": 1,
"localPopup": 4
},
"design": "Shared searchable picker classes (rs-picker) for the optional card details",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/labels-ui.ts": {
"counts": {
"picker": 1,
"localPopup": 3
},
"design": "Shared searchable picker classes (rs-picker) for labels",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/relations-ui.ts": {
"counts": {
"nativeChoice": 1,
"picker": 1,
"localPopup": 5
},
"design": "Shared relationship choice through the choice adapter and direct searchable picker rows",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/tags.ts": {
"counts": {
"picker": 2,
"localPopup": 2
},
"design": "Shared searchable picker classes (rs-picker) for tag suggestions",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/pm/ui/ui.ts": {
"counts": {
"action": 3,
"nativeChoice": 12,
"picker": 1,
"localPopup": 1
},
"design": "Board, list, card, scope, and background menus use the host action menu. Native selects stay hidden behind the shared choice adapter",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
},
"RuneStone/src/lib/features/ProjectManagementSettings.svelte": {
"counts": {
"action": 1,
"localPopup": 2
},
"design": "Shared action menu for the priority levels and the default board in Settings → Project Management",
"check": "tests/smoke/features/pm.smoke.mjs; tests/smoke/find/pluginViews.smoke.mjs"
}
}
}