PhoenixKit 2.62.2: Module tabs in the avatar menu, no dead dashboard links
PhoenixKit 2.62.2 lets a module’s user page, such as My Orders, appear in the avatar dropdown on every page, and removes two links that led nowhere.
On sites with the user dashboard turned off, a module’s own user tab, such as Billing’s My Orders, showed a sidebar with Dashboard and Settings links whose routes did not exist, so they failed with an error. Those two default tabs are now registered only while user_dashboard_enabled: true.
A user-level tab marked user_menu: true is now also listed in the avatar dropdown, after Settings, both on the site and in the admin top bar. A tab registered with a relative path is left out of the dropdown instead of breaking every page that shows it.
No migration (still V217).
Full release notes: PhoenixKit 2.62.2
2.62.2 · 13 October 2026
No migration (still V217). Ships PR #931 (avatar-menu module tabs, no more dead dashboard links), plus one crash fix from Claude’s review of it.
Added
user_menu:Tab option. A user-level tab flaggeduser_menu: true(orfn scope -> boolean, evaluated at render time) is also listed in the avatar dropdown — the user one and the admin top bar’s — after Settings, so a signed-in visitor reaches “My Orders” or “My Cart” from every page.Registry.get_user_menu_tabs/1,Tab.user_menu?/2,UserDashboardNav.user_menu_tab_links/1; a host opts out of the user dropdown withauthenticated_linksminus:user_menu_tabs.
Fixed
- The default “Dashboard” and “Settings” user tabs are registered only while
user_dashboard_enabled: true. Their routes are compiled out otherwise, so a module’s own user tab (billing’s “My Orders”) rendered a sidebar with two links into aNoRouteError(#914). - A user-menu tab with a relative path no longer crashes the avatar dropdown.
Routes.path/2raises on a path that does not start with/, so one badly registered tab took down every page carrying the dropdown; such tabs are now left out of it.
PhoenixKit 2.62.2. Install or update: {:phoenix_kit, "~> 2.62"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.