From 120b7b0b96a1145be6b2367a7a359da55a6bb293 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Tue, 9 Nov 2021 13:30:57 -0700 Subject: [PATCH] updated icons --- config.json | 3 +- webapp/src/components/viewMenu.tsx | 1 + webapp/src/widgets/icons/board.tsx | 57 +++++++++++------- webapp/src/widgets/icons/calendar.tsx | 84 ++++++++++++++++++++++----- webapp/src/widgets/icons/table.tsx | 58 ++++++++++++++---- 5 files changed, 156 insertions(+), 47 deletions(-) diff --git a/config.json b/config.json index 0b806822f..12e8e5620 100644 --- a/config.json +++ b/config.json @@ -21,5 +21,6 @@ "authMode": "native", "logging_cfg_file": "", "audit_cfg_file": "", - "enablepublicsharedboards": false + "enablepublicsharedboards": false, + "featureflags": [{"CalendarView": "true"}] } diff --git a/webapp/src/components/viewMenu.tsx b/webapp/src/components/viewMenu.tsx index 6cb433be5..f9cbd7343 100644 --- a/webapp/src/components/viewMenu.tsx +++ b/webapp/src/components/viewMenu.tsx @@ -235,6 +235,7 @@ const ViewMenu = React.memo((props: Props) => { case 'board': return case 'table': return case 'gallery': return + case 'calendar': return default: return
} } diff --git a/webapp/src/widgets/icons/board.tsx b/webapp/src/widgets/icons/board.tsx index d01409227..4011beb39 100644 --- a/webapp/src/widgets/icons/board.tsx +++ b/webapp/src/widgets/icons/board.tsx @@ -10,28 +10,43 @@ export default function BoardIcon(): JSX.Element { - - - - + + + + + + ) } diff --git a/webapp/src/widgets/icons/calendar.tsx b/webapp/src/widgets/icons/calendar.tsx index aeb79a627..cf922ff77 100644 --- a/webapp/src/widgets/icons/calendar.tsx +++ b/webapp/src/widgets/icons/calendar.tsx @@ -8,21 +8,79 @@ import './calendar.scss' export default function CalendarIcon(): JSX.Element { return ( - - - - + + + + + + + + + + ) } diff --git a/webapp/src/widgets/icons/table.tsx b/webapp/src/widgets/icons/table.tsx index 006bc31be..351eabf65 100644 --- a/webapp/src/widgets/icons/table.tsx +++ b/webapp/src/widgets/icons/table.tsx @@ -8,21 +8,55 @@ import './table.scss' export default function TableIcon(): JSX.Element { return ( - - - - + + + + + + + ) }