Skip to content

User Connections 0.1.2: Mobile-friendly connection pages and faster tabs

User Connections 0.1.2 makes both of the module’s pages work on a phone and makes switching tabs on My Connections quicker.

On the admin Connections page, the title and subtitle move into the admin top bar, like PhoenixKit’s own pages. The statistics boxes and the Enable Connections Module switch no longer push the page wider than the screen on mobile.

On My Connections, the tab strip scrolls sideways on a narrow screen, and long email addresses are shortened so the buttons in each row stay visible. Switching tabs now updates the page in place instead of reloading it, so the five counts are not queried again on every switch. The page keeps its own heading, since the user dashboard has no top-bar title.

Full release notes: User Connections 0.1.2

0.1.2 · 17 June 2026

Changed

  • Moved each admin page’s title/subtitle into the top navbar (via the @page_subtitle assign forwarded by core’s admin layout) and removed the in-page admin_page_header, matching the new PhoenixKit admin header pattern used across core’s pages.
  • Mobile optimization of both pages. The “My Connections” tab bar now scrolls horizontally and each list row truncates long emails so the action buttons stay on-screen (min-w-0/truncate/shrink-0). The admin “Connections” page no longer overflows horizontally on mobile: the daisyUI .stat and .label components (which don’t shrink under min-w-0) were replaced with plain blocks that wrap.
  • “My Connections” tabs now use LiveView patch navigation instead of navigate, and the redundant initial tab-data query was dropped from mount/3 (handle_params/3 already loads it). Switching tabs no longer re-mounts the LiveView or re-runs the five per-tab count queries.

Fixed

  • Restored the in-page heading on the user-facing “My Connections” page. Moving the title into the navbar (above) is correct for the admin “Connections” page, which renders in core’s admin layout, but the authenticated user dashboard layout does not surface @page_title/@page_subtitle in its navbar — so the user page was left with no visible heading. It now renders its own header from the same assigns.
  • Corrected the css_sources/0 test to assert the atom form the callback returns ([:phoenix_kit_user_connections]); it had asserted the string form and was failing under mix test.
  • Synced the version/0 callback to 0.1.2 (it was stale at 0.1.0).

User Connections 0.1.2. Install or update: {:phoenix_kit_user_connections, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.