Release · v3.7.12
Nav: credit the priority+/GreedyNav origin; keep…
Nav: credit the priority+/GreedyNav origin; keep the custom overflow
Details
Evaluated replacing the hand-written overflow logic with a known package (per request). Verdict, unanimous across a 3-lens research pass: no vendorable vanilla priority+ library fits. The ones you can drop in as a global script (priority-nav, priority-plus) GENERATE their own second hamburger and measure viewport width; the only one that reuses an existing toggle (lukejacksonn/GreedyNav) is unmaintained jQuery with no ARIA and no UMD build. This function already IS the vanilla, accessible port of that exact greedy pattern — so a package would be a regression on markup-fit, a11y, or dependencies. Documented the pattern's origin in the function comment instead. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014c7dbCGbQxtWedKRSx4sJi
Files changed (1)
| frontend/client/ts/core/v3.ts | +13 | −3 |