Skip to content

feat: add description and shortcuts to header menu registration#25

Open
roncodes wants to merge 1 commit intomainfrom
feature/header-menu-shortcuts
Open

feat: add description and shortcuts to header menu registration#25
roncodes wants to merge 1 commit intomainfrom
feature/header-menu-shortcuts

Conversation

@roncodes
Copy link
Member

Summary

Adds a description and shortcuts array to the registerHeaderMenuItem call in addon/extension.js, following the pattern established in the Ledger engine.

Each shortcut entry provides:

  • title — human-readable section name
  • description — one-line summary of what the section does
  • icon — FontAwesome icon name
  • route — the Ember route to transition to on click

Shortcuts added: Users, Drivers, Customers, Groups, Roles, Policies

Changes

  • addon/extension.js — expanded the options object passed to registerHeaderMenuItem with description and shortcuts

Testing

No logic changes. The shortcuts are purely declarative data consumed by the header menu component in @fleetbase/ember-ui.

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