docs(member-live): document the overview and use English throughout its internals

This commit is contained in:
Simon 2026-07-06 10:58:39 +02:00
parent 77fc11a0b0
commit 1c67527c56
4 changed files with 48 additions and 32 deletions

View file

@ -76,7 +76,7 @@ defmodule MvWeb.MemberLive.Index.FieldVisibility do
defp apply_name_default(set, true = _compact, true = _include_email), do: set
# Compact Member cell without folded email: the composite plus a separate
# default-visible E-Mail column.
# default-visible email column.
defp apply_name_default(set, true = _compact, false = _include_email),
do: MapSet.put(set, :email)
@ -111,7 +111,7 @@ defmodule MvWeb.MemberLive.Index.FieldVisibility do
3. the address group the composite `:address` when compact, otherwise its
constituents `:street`, `:house_number`, `:postal_code`, `:city`.
Everything else follows in the configured Datenfelder order. This keeps the
Everything else follows in the configured data-fields order. This keeps the
name group ahead of the address group even when the name group is expanded
into `:first_name`/`:last_name` while the address stays compact.
"""
@ -145,7 +145,7 @@ defmodule MvWeb.MemberLive.Index.FieldVisibility do
address_variant_hidden?(field, compact_address)
end
# Compact hides Vorname/Nachname (folded into the composite). The email is
# Compact hides first-name/last-name (folded into the composite). The email is
# hidden only when it is folded into the cell (compact + include_email); with
# include_email off it stays offered as a separate column. Non-compact hides the
# composite in favour of the constituents.