From 5e5e82c23356cf8aa1efe10a42b1f370014761da Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 18 Sep 2024 23:20:52 +0000 Subject: [PATCH] Fit and Finish UX Fixes Pt 2. (#270) * add default pill to encryption method Signed-off-by: Joanne Wang * make table filters separate Signed-off-by: Joanne Wang * run yarn test:jest-u Signed-off-by: Joanne Wang --------- Signed-off-by: Joanne Wang (cherry picked from commit 13d80a5e09213129f34d4b0495064e5ee9faac27) Signed-off-by: github-actions[bot] --- .../__snapshots__/ChannelControls.test.tsx.snap | 8 ++++++++ .../__tests__/__snapshots__/Channels.test.tsx.snap | 8 ++++++++ public/pages/Channels/components/ChannelControls.tsx | 4 ++++ .../__tests__/__snapshots__/SendersTable.test.tsx.snap | 10 ++++++++-- .../__snapshots__/SendersTableControls.test.tsx.snap | 10 ++++++++-- .../Emails/components/tables/SendersTableControls.tsx | 3 +++ .../Main/__tests__/__snapshots__/Main.test.tsx.snap | 8 ++++++++ 7 files changed, 47 insertions(+), 4 deletions(-) diff --git a/public/pages/Channels/__tests__/__snapshots__/ChannelControls.test.tsx.snap b/public/pages/Channels/__tests__/__snapshots__/ChannelControls.test.tsx.snap index 4af9ef5d..dcd33374 100644 --- a/public/pages/Channels/__tests__/__snapshots__/ChannelControls.test.tsx.snap +++ b/public/pages/Channels/__tests__/__snapshots__/ChannelControls.test.tsx.snap @@ -91,6 +91,14 @@ exports[` spec renders the component 1`] = ` + + +
+
diff --git a/public/pages/Channels/__tests__/__snapshots__/Channels.test.tsx.snap b/public/pages/Channels/__tests__/__snapshots__/Channels.test.tsx.snap index 75b32f3c..9bebd4d1 100644 --- a/public/pages/Channels/__tests__/__snapshots__/Channels.test.tsx.snap +++ b/public/pages/Channels/__tests__/__snapshots__/Channels.test.tsx.snap @@ -195,6 +195,14 @@ exports[` spec renders the empty component 1`] = `
+
+ +
+
diff --git a/public/pages/Channels/components/ChannelControls.tsx b/public/pages/Channels/components/ChannelControls.tsx index 2de239f2..9c5f37e6 100644 --- a/public/pages/Channels/components/ChannelControls.tsx +++ b/public/pages/Channels/components/ChannelControls.tsx @@ -136,6 +136,10 @@ export const ChannelControls = (props: ChannelControlsProps) => { ); })} + + + + spec renders empty state 1`] = ` class="euiPopover__anchor" > diff --git a/public/pages/Emails/__tests__/__snapshots__/SendersTableControls.test.tsx.snap b/public/pages/Emails/__tests__/__snapshots__/SendersTableControls.test.tsx.snap index ce5ff41c..dfb6f8df 100644 --- a/public/pages/Emails/__tests__/__snapshots__/SendersTableControls.test.tsx.snap +++ b/public/pages/Emails/__tests__/__snapshots__/SendersTableControls.test.tsx.snap @@ -57,7 +57,7 @@ exports[` spec renders the component 1`] = ` class="euiPopover__anchor" > diff --git a/public/pages/Emails/components/tables/SendersTableControls.tsx b/public/pages/Emails/components/tables/SendersTableControls.tsx index e6cea6f1..8b7c19a5 100644 --- a/public/pages/Emails/components/tables/SendersTableControls.tsx +++ b/public/pages/Emails/components/tables/SendersTableControls.tsx @@ -78,6 +78,9 @@ export const SendersTableControls = (props: SendersTableControlsProps) => { item.checked === 'on').length + } iconType="arrowDown" grow={false} onClick={() => diff --git a/public/pages/Main/__tests__/__snapshots__/Main.test.tsx.snap b/public/pages/Main/__tests__/__snapshots__/Main.test.tsx.snap index 65eef144..9efd0ad0 100644 --- a/public/pages/Main/__tests__/__snapshots__/Main.test.tsx.snap +++ b/public/pages/Main/__tests__/__snapshots__/Main.test.tsx.snap @@ -300,6 +300,14 @@ exports[`
spec renders the component 1`] = `
+
+ +
+