From 754109e168d7bc82b6e60d7b5e7cd5e6e387baac Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Mon, 1 Nov 2021 18:59:18 -0600 Subject: [PATCH] Gh 1451 mobile sidebar (#1675) * temporary checkin * hide sidebar by default < 768 * update to use function * remove unused snapshot * unhide sidebar on expansion * update to handle manual close in personal server --- .../__snapshots__/sidebar.test.tsx.snap | 558 ++++++++++++++++++ .../sidebarBoardItem.test.tsx.snap | 120 ++++ .../src/components/sidebar/sidebar.test.tsx | 81 +++ webapp/src/components/sidebar/sidebar.tsx | 54 +- .../sidebar/sidebarBoardItem.test.tsx | 47 ++ .../components/sidebar/sidebarBoardItem.tsx | 3 + 6 files changed, 859 insertions(+), 4 deletions(-) create mode 100644 webapp/src/components/sidebar/__snapshots__/sidebarBoardItem.test.tsx.snap create mode 100644 webapp/src/components/sidebar/sidebarBoardItem.test.tsx diff --git a/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap b/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap index e30d0a482..d6332a181 100644 --- a/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap +++ b/webapp/src/components/sidebar/__snapshots__/sidebar.test.tsx.snap @@ -1,5 +1,563 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`components/sidebarSidebar global templates 1`] = ` +
+