docs(member-live): document the overview and use English throughout its internals
This commit is contained in:
parent
77fc11a0b0
commit
1c67527c56
4 changed files with 48 additions and 32 deletions
|
|
@ -1,6 +1,6 @@
|
|||
defmodule MvWeb.Components.BulkActionsDropdown do
|
||||
@moduledoc """
|
||||
Single "Aktionen" dropdown bundling the four member bulk actions, flattened to
|
||||
Single "Actions" dropdown bundling the four member bulk actions, flattened to
|
||||
one level: open in email program (mailto), copy email addresses, export to CSV,
|
||||
export to PDF.
|
||||
|
||||
|
|
@ -10,10 +10,10 @@ defmodule MvWeb.Components.BulkActionsDropdown do
|
|||
|
||||
## Scope and trigger badge
|
||||
|
||||
The trigger reads `Aktionen` followed by a scope badge: an emphasized
|
||||
The trigger reads the `Actions` label followed by a scope badge: an emphasized
|
||||
(`primary`) count `N` when `N` members are selected, and a muted (`neutral`)
|
||||
badge otherwise — `gefiltert` when a search term or filter narrows the list,
|
||||
`alle` when nothing is selected and no search/filter is active. Only an actual
|
||||
badge otherwise — `filtered` when a search term or filter narrows the list,
|
||||
`all` when nothing is selected and no search/filter is active. Only an actual
|
||||
selection is emphasized. The badge sits inside the shared `dropdown_menu/1`
|
||||
trigger via its `trigger_badge` slot, matching the member-filter dropdown's
|
||||
count badge. The `scope`, `selected_count`, `mailto_bcc`, `recipient_count`
|
||||
|
|
@ -216,7 +216,7 @@ defmodule MvWeb.Components.BulkActionsDropdown do
|
|||
gettext("Too many recipients for this function. Copy the addresses or export the list.")
|
||||
end
|
||||
|
||||
# The trigger scope is shown as a badge after the "Aktionen" label. Only an
|
||||
# The trigger scope is shown as a badge after the "Actions" label. Only an
|
||||
# actual selection is emphasized (primary); both the "filtered" and "all"
|
||||
# scopes are muted (neutral), since neither means members are selected.
|
||||
defp scope_label(assigns) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue