PhoenixKitProjects.Web.ListRedirectLive (PhoenixKitProjects v0.23.3)

Copy Markdown View Source

Redirects the legacy …/admin/projects/list[/…] addresses to the same path without the list segment.

Until 2026-09 the project list lived at /admin/projects/list (the Projects tab opened the Overview) and every project page was nested under it — list/new, list/:id, list/:id/board, list/:id/assignments/new… The list is the landing page now and the project pages sit directly under /admin/projects. Bookmarks, host apps' redirect_to values and mention links written before the move still carry the segment, so two hidden tabs (projects/list and projects/list/*rest) route here and this view drops it: the rest of the path, the query string and the locale prefix are kept as they were.

A full redirect rather than push_navigate/2: it also works from the disconnected (HTTP) mount, which is what a bookmark hits first.