Customer Support 0.1.2: Translated menu labels and assignments in the history
Customer Support 0.1.2 translates the module’s menu entries and records every ticket assignment in the ticket’s history.
The admin and dashboard menu labels, Customer Support, Tickets and My Tickets, now follow the visitor’s language, with translations for English, Russian and Estonian.
Assigning a ticket now always adds a line to its Status History, even when the status stays the same. The note names the assignee by email (“Assigned to …”). Before, an assignment was logged only when it also changed the status, and without saying who got the ticket.
Full release notes: Customer Support 0.1.2
0.1.2 · 9 May 2026
Added
- Per-module Gettext backend (#3) —
PhoenixKitCustomerSupport.Gettextowns the translation catalogues for the four admin/user sidebar tab labels registered by this module. Locale is set per-request by the parent app; this module handles msgid lookup against the active locale. - Translations for all sidebar tab msgids in
en/ru/et(priv/gettext/<locale>/LC_MESSAGES/default.po). lib/phoenix_kit_customer_support.ex—gettext_backend: PhoenixKitCustomerSupport.Gettexton everyTab.new!call (admin_tabs/0,settings_tabs/0,user_dashboard_tabs/0).test/phoenix_kit_customer_support/i18n_test.exs— smoke test for backend wiring across all three tab callbacks and locale resolution; conditionally excluded via:requires_phoenix_kit_i18n_apiwhen the resolvedphoenix_kitpredatesTab.localized_label/1.
Changed
- Ticket assignment status history —
assign_ticket/3now always records a status-history row on assignment, even when the ticket status doesn’t change (encoded asfrom == to); note text now includes the assignee’s email viadescribe_user/1. mix.exs—:gettextadded toextra_applicationsanddeps;priv/gettextadded to packagefiles:so catalogues ship to Hex consumers.
Fixed
mix.exs— packagefiles:narrowed fromprivtopriv/gettextso futurepriv/content doesn’t ship to Hex unintentionally.describe_user/1— dropped catch-allrescuethat masked real DB faults insiderepo().transaction/1(Repo.get/2already returnsnilfor missing rows).test_helper.exs—psqlinvocation wrapped intry/rescueso the helper degrades gracefully whenpsqlisn’t on PATH.
Customer Support 0.1.2. Install or update: {:phoenix_kit_customer_support, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.