super-productivity/packages/plugin-dev/document-mode
Johannes Millan d0e098dde1 feat(plugins): add selectTask API and document-mode detail-panel button
New PluginAPI.selectTask(taskId): the host validates the task exists,
then calls TaskService.setSelectedId, opening the task's detail panel in
the right-hand panel — which is independent of the work-view body, so it
works while a plugin embed occupies it.

Document Mode adds a third block-gutter button, shown only when hovering
a task chip, that calls selectTask for that chip's task. The gutter now
self-measures its width so the 2- and 3-button layouts both align.

Wired across all three packages: the PluginAPI interface, the per-plugin
API wrapper, the iframe API forwarder, and the host bridge.
2026-05-22 15:11:51 +02:00
..
scripts refactor(document-mode): add pure doc-transform module and test runner 2026-05-22 13:42:21 +02:00
src feat(plugins): add selectTask API and document-mode detail-panel button 2026-05-22 15:11:51 +02:00
.gitignore refactor(document-mode): add pure doc-transform module and test runner 2026-05-22 13:42:21 +02:00
package-lock.json feat(document-mode): Notion-style UX (gutter, bubble menu, block menu) 2026-05-21 17:34:13 +02:00
package.json refactor(document-mode): add pure doc-transform module and test runner 2026-05-22 13:42:21 +02:00
tsconfig.json feat(document-mode): add TipTap-based document-mode plugin (POC) 2026-05-21 17:22:31 +02:00