The options tool knows ::mindmap (path form with role). Release 0.8.0. #5

Closed
oliver.maklott wants to merge 0 commits from oliver.maklott/pathform-role into main AGit

The pack's embed-options handler declared no path form, so the editor's options tool did not recognise ::mindmap: on a mind map embed it showed "no directive here" and the pack's options dialog was never reached. The metadata tool did not see the directive in the browser either.

  • The handler declares pathForm: { role: 'mindmap.embed', title }; the title comes from the pack's locales.
  • The pack registers the role with its data type (diagram.mindmap) and MIME type, so the file picker offers mind map files only. Without a registered role the picker was unfiltered.
  • findAtCursor / editOptions stay for apps before 0.79.

Tests: test:mindelixir 73 passed (5 new) in plaintext and encrypted mode. Client bundles rebuilt with plugin:build.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2

The pack's embed-options handler declared no path form, so the editor's options tool did not recognise `::mindmap`: on a mind map embed it showed "no directive here" and the pack's options dialog was never reached. The metadata tool did not see the directive in the browser either. - The handler declares `pathForm: { role: 'mindmap.embed', title }`; the title comes from the pack's locales. - The pack registers the role with its data type (`diagram.mindmap`) and MIME type, so the file picker offers mind map files only. Without a registered role the picker was unfiltered. - `findAtCursor` / `editOptions` stay for apps before 0.79. Tests: `test:mindelixir` 73 passed (5 new) in plaintext and encrypted mode. Client bundles rebuilt with `plugin:build`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
The editor's options tool knows ::mindmap: the pack declares its path form with the role mindmap.embed (data type and MIME registered), so the options dialog opens on a mind map embed and the picker offers mind map files only. Release 0.8.0.
All checks were successful
Publish / dev-image (pull_request) Successful in 1s
Publish / test (pull_request) Successful in 1m29s
Publish / pack-and-publish (pull_request) Has been skipped
33990127a0
Before, the handler declared no path form: the options tool answered
"no directive here" on a mind map embed and the pack's dialog was never
reached.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
oliver.maklott closed this pull request 2026-11-22 16:02:48 +01:00
All checks were successful
Publish / dev-image (pull_request) Successful in 1s
Publish / test (pull_request) Successful in 1m29s
Publish / pack-and-publish (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
limedoc-plugins/mindelixir!5
No description provided.