From f3ee0b9f7701944294f3908e5c1c0154dcbcd76c Mon Sep 17 00:00:00 2001 From: upsiflu Date: Fri, 13 Dec 2024 10:01:44 +0100 Subject: [PATCH] feat(ui): [WIP] activate UIv2 (new designs, new routes) --- front/src/App.vue | 9 ++++- front/src/router/index.ts | 7 +++- front/src/ui/components/Sidebar.vue | 60 +++++++++++++++-------------- 3 files changed, 46 insertions(+), 30 deletions(-) diff --git a/front/src/App.vue b/front/src/App.vue index 54cd5643b..72d6929a3 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -78,7 +78,12 @@ onKeyboardShortcut('h', () => toggleShortcutsModal()) // because we want to learn if we are authenticated at all store.dispatch('auth/fetchUser') -const isUIv2 = useLocalStorage('ui-v2', false) +// TODO: +// Research... +// - "What is the use case for this toggle?" +// - "Is Local Storage (persistence on a specific browser +// on a specific machine) the right place?" +const isUIv2 = useLocalStorage('ui-v2', true)