Skip to content

🐛 fixed issue with icon text display#2

Merged
SimonBarrettACT merged 1 commit into
mainfrom
1-dashboard-icon-appears-instead-of-house-icon-in-breadcrumbs
Sep 30, 2025
Merged

🐛 fixed issue with icon text display#2
SimonBarrettACT merged 1 commit into
mainfrom
1-dashboard-icon-appears-instead-of-house-icon-in-breadcrumbs

Conversation

@SimonBarrettACT

Copy link
Copy Markdown
Member

This pull request adds configurable support for customizing the appearance and behavior of the "home" breadcrumb (typically "Dashboard" or "Home") in the breadcrumbs component. It introduces new configuration options, updates the Blade view logic to respect these settings, improves documentation, and adds comprehensive tests to verify the new functionality.

Home breadcrumb customization:

  • Added new configuration options in config/breadcrumbs.php for home_route, home_display, and home_icon, allowing developers to control which route is considered "home," how it is displayed (icon, text, or both), and which icon is used.
  • Updated resources/views/breadcrumbs.blade.php to use the new config options when rendering the home breadcrumb, conditionally showing the icon, text, or both, and applying special styling only to the configured home route. [1] [2]

Documentation improvements:

  • Expanded the README.md to document the new configuration options, explain how to customize the home breadcrumb, and clarify display options. [1] [2] [3] [4]

Testing:

  • Added new feature tests in tests/Feature/BreadcrumbsComponentTest.php to verify that the home breadcrumb respects the new configuration for route, display style, and icon, and does not apply home styling to non-home routes. [1] [2]

Miscellaneous:

  • Added a local settings file .claude/settings.local.json to allow Pest test execution.

@SimonBarrettACT SimonBarrettACT self-assigned this Sep 30, 2025
@SimonBarrettACT SimonBarrettACT added the bug Something isn't working label Sep 30, 2025
@SimonBarrettACT SimonBarrettACT linked an issue Sep 30, 2025 that may be closed by this pull request
@SimonBarrettACT SimonBarrettACT added the enhancement New feature or request label Sep 30, 2025
@SimonBarrettACT SimonBarrettACT merged commit 18d2642 into main Sep 30, 2025
4 checks passed
@SimonBarrettACT SimonBarrettACT deleted the 1-dashboard-icon-appears-instead-of-house-icon-in-breadcrumbs branch September 30, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard icon appears instead of house icon in breadcrumbs

1 participant