Skip to content

Add icons to navigation items in Settings module - #27

Merged
roble merged 1 commit into
mainfrom
dev
Mar 18, 2026
Merged

Add icons to navigation items in Settings module#27
roble merged 1 commit into
mainfrom
dev

Conversation

@roble

@roble roble commented Mar 18, 2026

Copy link
Copy Markdown
Collaborator

This pull request adds icon support to the navigation system, making it easier to visually identify navigation sections. The main changes include registering new icons in the frontend and updating navigation route definitions to reference these icons.

Icon registration and usage:

  • Registered settings and profile icons using registerIcon in resources/js/app.ts, and imported the relevant icon components (IconSettings, IconUserCircle). [1] [2]

Navigation route updates:

  • Added the icon attribute with value settings to multiple navigation sections in routes/navigation.php to display the settings icon. [1] [2] [3]
  • Added the icon attribute with value profile to the profile navigation section in routes/navigation.php to display the profile icon.

Copilot AI review requested due to automatic review settings March 18, 2026 19:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds icon support for Settings module navigation entries by wiring backend navigation attributes to frontend icon registration, enabling UI navigation items to display section icons.

Changes:

  • Added icon attributes to Settings-related navigation sections in routes/navigation.php.
  • Registered settings and profile icons in the module frontend setup (resources/js/app.ts).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
routes/navigation.php Adds icon metadata to navigation sections so the UI can render icons for Settings/Profile items.
resources/js/app.ts Registers the settings and profile icon components under matching icon keys used by navigation attributes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread resources/js/app.ts
Comment on lines 8 to 12
* Settings module setup
* Called during app initialization before mounting
*
* NOTE: Navigation registration has been moved to backend SettingsServiceProvider.
*/
@roble
roble merged commit 52799d5 into main Mar 18, 2026
9 of 12 checks passed
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.

2 participants