Add icons to panel navigation - #779
Merged
Merged
Conversation
giuscris
force-pushed
the
feature/panel-navigation-icons
branch
from
November 9, 2025 01:16
2ffb281 to
65d9694
Compare
giuscris
force-pushed
the
feature/panel-navigation-icons
branch
from
November 15, 2025 10:02
65d9694 to
20bd37e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces icon support for navigation items in the panel, enhancing both the configuration and visual presentation of the sidebar and headers. Navigation items can now specify an icon, which is rendered in the sidebar and in the headers of key views. Minor style adjustments are also included to improve icon alignment.
Navigation icon support and rendering:
iconproperty to navigation items inpanel/config/navigation.php, specifying icons for each main navigation section.NavigationItemclass to provide anicon()method for retrieving the icon value.panel/views/partials/sidebar.php) to render the icon for each navigation item if present.Header icon enhancements:
header-icondiv with the relevant icon. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Styling adjustments:
_sidebar.scss. [1] [2]