feat(member-live): default the overview to comfortable density with folded-in email
This commit is contained in:
parent
0a23d03d9d
commit
4d100aef22
10 changed files with 58 additions and 44 deletions
|
|
@ -255,7 +255,9 @@ defmodule MvWeb.MemberLive.IndexFieldVisibilityTest do
|
|||
|
||||
describe "URL parameter persistence" do
|
||||
test "field selection is persisted in URL", %{conn: conn} do
|
||||
conn = conn_with_oidc_user(conn)
|
||||
# Email is offered as a togglable column only when it is not folded into the
|
||||
# Member cell; unfold it so the dropdown lists it.
|
||||
conn = conn |> conn_with_oidc_user() |> non_compact()
|
||||
{:ok, view, _html} = live(conn, "/members")
|
||||
|
||||
# Open dropdown and hide email
|
||||
|
|
@ -374,7 +376,7 @@ defmodule MvWeb.MemberLive.IndexFieldVisibilityTest do
|
|||
end
|
||||
|
||||
test "handles rapid toggling", %{conn: conn} do
|
||||
conn = conn_with_oidc_user(conn)
|
||||
conn = conn |> conn_with_oidc_user() |> non_compact()
|
||||
{:ok, view, _html} = live(conn, "/members")
|
||||
|
||||
# Open dropdown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue