From 8469acbf07d920b968a0fa8c38d2fae336e6d1f7 Mon Sep 17 00:00:00 2001 From: Noley Holland Date: Fri, 31 Jul 2026 11:41:05 -0700 Subject: [PATCH] Centralize team applications in a data-farm store, migrate the list + mutations --- frontend/src/components/SkeletonBlock.vue | 29 ++++ .../device/MultiStepDeviceForm.vue | 7 +- .../MultiStepApplicationsInstanceForm.vue | 7 +- frontend/src/mixins/Application.js | 4 +- .../pages/application/Settings/General.vue | 9 +- .../components/ApplicationsListSkeleton.vue | 77 ++++++++ .../src/pages/team/Applications/index.vue | 59 +++---- frontend/src/stores/account-auth.js | 2 + frontend/src/stores/account.js | 2 + frontend/src/stores/data-farm-applications.ts | 96 ++++++++++ .../stores/data-farm-applications.spec.js | 164 ++++++++++++++++++ 11 files changed, 409 insertions(+), 47 deletions(-) create mode 100644 frontend/src/components/SkeletonBlock.vue create mode 100644 frontend/src/pages/team/Applications/components/ApplicationsListSkeleton.vue create mode 100644 frontend/src/stores/data-farm-applications.ts create mode 100644 test/unit/frontend/stores/data-farm-applications.spec.js diff --git a/frontend/src/components/SkeletonBlock.vue b/frontend/src/components/SkeletonBlock.vue new file mode 100644 index 0000000000..89ab8d7c04 --- /dev/null +++ b/frontend/src/components/SkeletonBlock.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/frontend/src/components/multi-step-forms/device/MultiStepDeviceForm.vue b/frontend/src/components/multi-step-forms/device/MultiStepDeviceForm.vue index 949822c8f3..89d694b62a 100644 --- a/frontend/src/components/multi-step-forms/device/MultiStepDeviceForm.vue +++ b/frontend/src/components/multi-step-forms/device/MultiStepDeviceForm.vue @@ -17,9 +17,8 @@ + + diff --git a/frontend/src/pages/team/Applications/index.vue b/frontend/src/pages/team/Applications/index.vue index d98e84c02c..61e1dba3a9 100644 --- a/frontend/src/pages/team/Applications/index.vue +++ b/frontend/src/pages/team/Applications/index.vue @@ -33,9 +33,9 @@
- + -