feat(member-live): default the overview to comfortable density with folded-in email

This commit is contained in:
Simon 2026-07-16 09:38:57 +02:00
parent 0a23d03d9d
commit 4d100aef22
10 changed files with 58 additions and 44 deletions

View file

@ -8,11 +8,11 @@ defmodule MvWeb.MemberLive.Index.ViewSettingsTest do
alias MvWeb.MemberLive.Index.ViewSettings
test "defaults are all-compact with the email line off" do
test "defaults are comfortable density with the compact cells and email line on" do
assert ViewSettings.defaults() == %{
density: :compact,
density: :comfortable,
compact_member: true,
member_include_email: false,
member_include_email: true,
compact_address: true
}
end
@ -90,7 +90,7 @@ defmodule MvWeb.MemberLive.Index.ViewSettingsTest do
# from cookie
compact_address: false,
# default
member_include_email: false
member_include_email: true
}
end
end