From 7a307bbcf0160ca9dd2202ccfe123d086de4c141 Mon Sep 17 00:00:00 2001 From: Lukas Boersma Date: Sat, 13 Jun 2020 12:45:01 +0200 Subject: [PATCH] feat: add a setting for the default calendar url Co-authored-by: Lukas Boersma Co-authored-by: szaimen Signed-off-by: Richard Steinmetz --- css/app-settings.scss | 5 +- src/components/AppNavigation/Settings.vue | 74 ++++++++++++++++++- src/components/Shared/CalendarPicker.vue | 13 +++- src/models/principal.js | 4 + src/store/calendarObjects.js | 9 ++- src/store/calendars.js | 8 ++ src/store/principals.js | 35 +++++++++ .../javascript/unit/models/principal.test.js | 2 + 8 files changed, 143 insertions(+), 7 deletions(-) diff --git a/css/app-settings.scss b/css/app-settings.scss index 5e96ae0e64..0a07c66902 100644 --- a/css/app-settings.scss +++ b/css/app-settings.scss @@ -73,8 +73,9 @@ display: block; } } - - &--timezone { + + &--timezone, + &--default-calendar { width: 100%; .multiselect { diff --git a/src/components/AppNavigation/Settings.vue b/src/components/AppNavigation/Settings.vue index 1485934b6d..7194f62c99 100644 --- a/src/components/AppNavigation/Settings.vue +++ b/src/components/AppNavigation/Settings.vue @@ -20,7 +20,7 @@ -->