PhoenixKit 1.7.70: Admin page generator registers its own routes
PhoenixKit 1.7.70 changes mix phoenix_kit.gen.admin_page so the page it creates is reachable at once. It writes a parent tab for the category and a child tab for the page into admin_dashboard_tabs.
The route comes from the tab’s live_view field. A --permission option sets the parent tab’s permission.
The old admin_dashboard_categories format still works but logs a deprecation warning, and its LiveView modules are guessed from the URL.
On the admin comments page, replies show a Reply marker with the start of the comment they answer. The V82 migration adds a metadata field to comments. The comments block on a post’s details page no longer crashes, and the image and video dimension forms no longer clear one field when you change another.
Upgrading
Run mix phoenix_kit.update for V82. If your config still uses admin_dashboard_categories, plan to move it to admin_dashboard_tabs.
Full release notes: PhoenixKit 1.7.70
1.7.70 · 12 March 2026
Added
- Add PhoenixKitGlobals component for JavaScript globals injection
- Add metadata JSONB field to comments schema (V82 migration)
- Add reply indicators to admin comments page
- Add test comments seed script for visual verification
- Add admin page generator category index pages with automatic route registration
- Add duplicate validation (ID, URL, label) to admin page generator
- Add compile-time warning for unresolved legacy admin LiveView modules
- Add
phoenix_kit_app_base/0helper to Routes utility
Fixed
- Fix dimension form inputs clearing each other on change
- Fix MarkdownEditor toolbar not working on LiveView navigation
- Fix CommentsComponent crash on post details page (
resource_id→resource_uuid) - Fix credo alias ordering in integration module
- Fix WebP transparency loss in center-crop image processing
- Fix 304 Not Modified support in FileController
Changed
- Update admin page generator to use flat
admin_dashboard_tabsconfig withlive_viewfield - Deprecate legacy
admin_dashboard_categoriesconfig format (warning on use) - Auto-infer LiveView modules from URL paths for legacy admin categories
- Add
attr :rest, :globaltophoenix_kit_globalscomponent
PhoenixKit 1.7.70. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.