Skip to content

feat: Vue component buttons/panels and flexible navbar#4

Merged
morehawes merged 1 commit intomasterfrom
merge
Mar 30, 2026
Merged

feat: Vue component buttons/panels and flexible navbar#4
morehawes merged 1 commit intomasterfrom
merge

Conversation

@morehawes
Copy link
Copy Markdown
Contributor

Add Vue component support for custom buttons and panels in the Navigator config API. The navbar now supports start/middle/end positioning for buttons, with custom Vue components rendered directly in the toolbar.

Source changes:

  • top.vue: navbar renders custom component buttons in start/middle/end slots
  • panels.vue: panels render Vue components with props and DOM render fallback
  • index.js: export getEmitter and useUI for plugin authors

Documentation:

  • Rewrite docs/dev/7.features.md with a complete Recordings plugin example demonstrating the plugin system, config-driven UI, and map layer management
  • Add Recordings plugin source files in docs/dev/feature/ for copy-paste reuse
  • Expand docs/dev/8.extending.md with Vue component examples, plugin system details, and programmatic panel control via useUI
  • Update docs/dev/1.config.md with buttons, panels, and plugins config reference
  • Add RTL language support note to docs/dev/5.locale.md

Add Vue component support for custom buttons and panels in the
Navigator config API. The navbar now supports start/middle/end
positioning for buttons, with custom Vue components rendered
directly in the toolbar.

Source changes:
- top.vue: navbar renders custom component buttons in start/middle/end slots
- panels.vue: panels render Vue components with props and DOM render fallback
- index.js: export getEmitter and useUI for plugin authors

Documentation:
- Rewrite docs/dev/7.features.md with a complete Recordings plugin example
  demonstrating the plugin system, config-driven UI, and map layer management
- Add Recordings plugin source files in docs/dev/feature/ for copy-paste reuse
- Expand docs/dev/8.extending.md with Vue component examples, plugin system
  details, and programmatic panel control via useUI
- Update docs/dev/1.config.md with buttons, panels, and plugins config reference
- Add RTL language support note to docs/dev/5.locale.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@morehawes morehawes merged commit fe37b1e into master Mar 30, 2026
1 check passed
@morehawes morehawes deleted the merge branch March 30, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant