Skip to content

feat(top-bar): @accountLinks for extra account menu entries - #196

Merged
roncodes merged 1 commit into
feature/map-canvasfrom
feat/top-bar-account-links
Nov 28, 2026
Merged

roncodes merged 1 commit into
feature/map-canvasfrom
feat/top-bar-account-links

Conversation

@roncodes

Copy link
Copy Markdown
Member

Adds @accountLinks to Layout::TopBar: [{ id, label, action, params? }], rendered above Sign out. Choosing one closes the menu and calls @onAction(action, ...params).

The console uses it for the canvas/classic layout switch (fleetbase/fleetbase console wiring PR, into feature/map-canvas). menuAction now forwards optional params; existing links are unchanged.

Test: integration test in tests/integration/components/layout/top-bar-test.js covers order, label, menu close and the forwarded params.

The console needs a layout switch (canvas/classic) in the canvas account menu.
Links render above Sign out and run through @onaction(action, ...params).
@roncodes
roncodes merged commit 4cd9af0 into feature/map-canvas Nov 28, 2026
4 of 5 checks passed
@roncodes
roncodes deleted the feat/top-bar-account-links branch November 28, 2026 07:35
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