Skip to content

v0.2.0

Choose a tag to compare

@lam0819 lam0819 released this 16 Nov 17:36
· 36 commits to main since this release
a69d85e

Highlights

Modern navigation

  • ->inline() expands an item's children in place (chevron, guide lines, nesting, remembered state); ->drilldown() keeps the signature behaviour; childDisplay(ChildDisplay::Inline) sets the panel default.
  • NavItem::heading(), ->divider(), ->defaultExpanded(), ->activeIcon().
  • Collapsed (icon-only) sidebar, aria-expanded toggles, focus moves to the level title, reduced-motion support.

Multi-panel, Octane, tenants, languages

  • Per-request state (scoped binding): no stale record data or duplicated sidebars on long-lived workers.
  • Panel-scoped hook: several panels with their own trees; panels without the plugin are untouched.
  • Tenant, domain and sub-directory aware Home/Back URLs.
  • Translations: en, zh_CN, zh_TW, zh_HK, ja, ko, es.

Fixed

  • Stale record titles/children across requests on a reused worker.
  • Sidebar rendered twice on a worker's second request.
  • Crash on a panel without the plugin after another panel was served.

Quality

Pest (34), demo feature tests (38), Pint, PHPStan level 9 (no ignores). Worker reuse also checked with a real RoadRunner/Octane worker (by hand, not in CI).

Known limits

Items without an icon show nothing in the collapsed sidebar; RTL is CSS-only and untested; only RoadRunner tried for Octane. Not on Packagist (private repository).