From 70a350fdac8e44cfd4f10e2e261a635a2834387a Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Thu, 27 May 2021 23:22:17 -0400 Subject: [PATCH] Initial Collection State System implementation Co-authored-by: Liyas Thomas --- components/collections/ImportExport.vue | 51 +- components/collections/SaveRequest.vue | 42 +- components/collections/graphql/Add.vue | 37 +- components/collections/graphql/AddFolder.vue | 25 +- components/collections/graphql/Collection.vue | 39 +- components/collections/graphql/Edit.vue | 37 +- components/collections/graphql/EditFolder.vue | 33 +- .../collections/graphql/EditRequest.vue | 38 +- components/collections/graphql/Folder.vue | 41 +- .../collections/graphql/ImportExport.vue | 39 +- components/collections/graphql/Request.vue | 42 +- components/collections/graphql/index.vue | 57 +- components/collections/index.vue | 113 ++-- components/collections/my/Collection.vue | 11 +- components/collections/my/Folder.vue | 36 +- components/collections/my/Request.vue | 2 + components/collections/teams/Folder.vue | 7 +- helpers/fb.js | 71 ++- newstore/collections.ts | 579 ++++++++++++++++++ newstore/localpersistence.ts | 44 ++ pages/settings.vue | 1 + store/postwoman.js | 14 - 22 files changed, 872 insertions(+), 487 deletions(-) create mode 100644 newstore/collections.ts diff --git a/components/collections/ImportExport.vue b/components/collections/ImportExport.vue index f10a22eff..57cab3c3e 100644 --- a/components/collections/ImportExport.vue +++ b/components/collections/ImportExport.vue @@ -74,6 +74,7 @@ : $t('replace_current'), }" > +