Create new header bar partials for easier customization #4222

Closed
opened 2026-02-05 08:17:07 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ssddanbrown on GitHub (Sep 19, 2023).

Seems common to tweak the header bar (header.blade.php).
Probably worth splitting this down to extra components, with at least:

  • View for existing links/buttons.
  • Empty view at the start of existing links/button specifically for customization.
    • This would need test to cover like existing customization-only views.
  • Could maybe split out logo and search. Not sure there's much desire, but would allow easier moving/removal within header.blade.php overrides.

Already exacted profile menu in b90033a730, might be worth thinking through organisation though, rather than bloating common.

Originally created by @ssddanbrown on GitHub (Sep 19, 2023). Seems common to tweak the header bar (`header.blade.php`). Probably worth splitting this down to extra components, with at least: - View for existing links/buttons. - Empty view at the start of existing links/button specifically for customization. - This would need test to cover like existing customization-only views. - Could maybe split out logo and search. Not sure there's much desire, but would allow easier moving/removal within `header.blade.php` overrides. Already exacted profile menu in b90033a73032da8657f1bd3ec3687aa4426d8cc1, might be worth thinking through organisation though, rather than bloating common.
OVERLORD added the 📖 Docs Update🖌️ View Customization labels 2026-02-05 08:17:07 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 24, 2023):

Changes made in d5a3bdb7aa.

New header link extension view at layouts/parts/header-links-start.blade.php.

While not a change to our official supported API, might be polite to warn about changes to the common/header.blade.php (Moved and changed) in update notes since this may have been a common customization.

@ssddanbrown commented on GitHub (Sep 24, 2023): Changes made in d5a3bdb7aa7876f667256fb3e0d36ef46940adf9. New header link extension view at `layouts/parts/header-links-start.blade.php`. While not a change to our official supported API, might be polite to warn about changes to the `common/header.blade.php` (Moved and changed) in update notes since this may have been a common customization.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4222