Files
music_library/backlog/completed/ml-71 - page_title-2-public-in-two-LiveViews.md
2026-05-04 21:22:27 +01:00

932 B

id, title, status, assignee, created_date, labels, dependencies, references, priority
id title status assignee created_date labels dependencies references priority
ML-71 page_title/2 public in two LiveViews Done
2026-04-20 08:55
https://github.com/cloud8421/music_library/issues/104
low

Description

GitHub: created 2026-03-12 · updated 2026-03-12 · closed 2026-03-12

Description

Per project conventions, page_title/2 should be a pattern-matched private function. Two LiveViews expose it as def (public):

  • lib/music_library_web/live/collection_live/show.ex:477
  • lib/music_library_web/live/wishlist_live/show.ex:421

While artist_live/show.ex:705 and record_set_live/show.ex:259 correctly use defp. No external callers exist for the public versions.

Expected behavior

Change def page_title to defp page_title in both files.

Source

From technical debt audit (2026-03-12).