From cf136132e35a85891577bf249db1ce7c7a627f94 Mon Sep 17 00:00:00 2001 From: konrad Date: Tue, 16 Jun 2020 22:20:37 +0000 Subject: [PATCH] Namespaces & Lists Page (#160) Center list backgrounds Better alignment of new namespace and filter button Make creating new namespace button clear Hide archived lists unless the user wants it Make all cards responsive Cleanup Show it if a namespace is archived Show if a list is archived Fix not updating the list in store after updating the background Make task cards smaller Display list backgrounds in cards and look good while doing it lighter shadow Change background to stripes Set list backgrounds as card backgrounds Add background color check to color appropriatly Move color check to mixin Use background color from tasks Change list card color Make create new namespace button stick to the right Shadow all the things Don't keep list backgrounds set when navigating back Make links to list clickable Add seperate page for namespaces Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/160 --- src/App.vue | 21 +-- src/components/lists/EditList.vue | 2 +- src/components/lists/settings/background.vue | 2 + src/components/namespaces/ListNamespaces.vue | 95 ++++++++++++++ src/components/tasks/gantt-component.vue | 7 +- src/helpers/colorIsDark.js | 15 +++ src/main.js | 2 + src/models/label.js | 24 +--- src/models/task.js | 19 --- src/router/index.js | 6 + src/styles/components/_all.scss | 1 + src/styles/components/namespaces.scss | 131 +++++++++++++++++++ src/styles/theme/navigation.scss | 21 --- 13 files changed, 269 insertions(+), 77 deletions(-) create mode 100644 src/components/namespaces/ListNamespaces.vue create mode 100644 src/helpers/colorIsDark.js create mode 100644 src/styles/components/namespaces.scss diff --git a/src/App.vue b/src/App.vue index 771160866..11027ab74 100644 --- a/src/App.vue +++ b/src/App.vue @@ -108,11 +108,11 @@
  • - + - New Namespace + Namespaces & Lists
  • @@ -126,9 +126,6 @@