v0.91.0
Added
- The board tab now reaches every page of the host application. A new middleware,
Alle80\Griglia\Http\Middleware\InjectBoardTab, is pushed into thewebgroup and splices the
slide-out tab into every HTML response just before</body>, the way laravel-debugbar injects its bar:
the board is one click away from anywhere in your app, with nothing to add to your layouts. It stays out
of everything that is not a full page (JSON/AJAX, redirects, downloads, streamed and binary responses,
Livewire/livewire/update, Turbo frames, Inertia visits), out of the package pages — whose layout
prints the tab already, so it is never doubled — and out of the pages of a visitor who may not open the
board (same verdict as the route guard, now readable asGrigliaAccess::allows()). - Config key
inject_tab_except: paths where the tab must not be injected, asRequest::isglobs matched
against the path and against the route name (default: an empty list, i.e. inject everywhere). The
show_dashboard_tabswitch in/settingsstill turns the tab off everywhere.
Changed
- The tab is self-contained: its CSS is inline and its behaviour is plain JavaScript, so it works on
host pages that load neithergriglia.cssnor Alpine. Its rules leftresources/css/griglia.css(they
had a single consumer) and the desktop-only rule is a media query instead of the Tailwind utilities
hidden lg:block, which a host app may not have built.
Full changelog: v0.90.1...v0.91.0