From fd1e90a244b963a33f7aa33a33c9d53f0966cc69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Thu, 30 Apr 2020 10:42:20 +0200 Subject: [PATCH] Allow sharing with circles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- css/src/style.scss | 2 + img/circle.svg | 1 + package.json | 1 + .../AppNavigation/CalendarShare.vue | 161 +++++++++++++++--- src/store/calendars.js | 19 ++- 5 files changed, 152 insertions(+), 32 deletions(-) create mode 100644 img/circle.svg diff --git a/css/src/style.scss b/css/src/style.scss index d46650279..2f1720360 100644 --- a/css/src/style.scss +++ b/css/src/style.scss @@ -1,3 +1,5 @@ +@include icon-black-white('circle', 'tasks', 1); + /** * rules for app-navigation */ diff --git a/img/circle.svg b/img/circle.svg new file mode 100644 index 000000000..0ebe00d47 --- /dev/null +++ b/img/circle.svg @@ -0,0 +1 @@ + diff --git a/package.json b/package.json index 77b58be74..a2e4b2372 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "@vue/test-utils": "^1.0.0-beta.33", "cdav-library": "github:nextcloud/cdav-library", "color-convert": "^2.0.1", + "debounce": "^1.2.0", "ical.js": "~1.4.0", "jstimezonedetect": "", "linkify-it": "~2.2.0", diff --git a/src/components/AppNavigation/CalendarShare.vue b/src/components/AppNavigation/CalendarShare.vue index b3cf6fd81..c77dfb68c 100644 --- a/src/components/AppNavigation/CalendarShare.vue +++ b/src/components/AppNavigation/CalendarShare.vue @@ -1,7 +1,12 @@ .