From 297eb1bda601fd5cec5212a39bf2c0b53a1c790a Mon Sep 17 00:00:00 2001 From: cstns Date: Fri, 12 Jul 2024 11:29:26 +0300 Subject: [PATCH 01/15] carry the search query through the applications component and pass it to the applicationDevices & applicationInstances routes --- .../Applications/components/Application.vue | 10 ++--- .../components/compact/DevicesWrapper.vue | 30 ++++++------- .../components/compact/HasMoreTile.vue | 43 +++++++++++++++++++ .../components/compact/InstancesWrapper.vue | 31 ++++++------- .../src/pages/team/Applications/index.vue | 2 +- 5 files changed, 80 insertions(+), 36 deletions(-) create mode 100644 frontend/src/pages/team/Applications/components/compact/HasMoreTile.vue diff --git a/frontend/src/pages/team/Applications/components/Application.vue b/frontend/src/pages/team/Applications/components/Application.vue index 16a63be1f8..1a71109cb9 100644 --- a/frontend/src/pages/team/Applications/components/Application.vue +++ b/frontend/src/pages/team/Applications/components/Application.vue @@ -1,9 +1,9 @@ @@ -29,10 +29,10 @@ export default { type: Object, required: true }, - isSearching: { - type: Boolean, + searchQuery: { + type: String, required: false, - default: false + default: '' } }, emits: ['instance-deleted', 'device-deleted'], diff --git a/frontend/src/pages/team/Applications/components/compact/DevicesWrapper.vue b/frontend/src/pages/team/Applications/components/compact/DevicesWrapper.vue index 742d2f7e7a..faade7332b 100644 --- a/frontend/src/pages/team/Applications/components/compact/DevicesWrapper.vue +++ b/frontend/src/pages/team/Applications/components/compact/DevicesWrapper.vue @@ -27,15 +27,13 @@ > -
- - - {{ remainingDevices }} - More... - - - -
+ + + diff --git a/frontend/src/pages/team/Applications/components/compact/InstancesWrapper.vue b/frontend/src/pages/team/Applications/components/compact/InstancesWrapper.vue index 430b75b68c..4a3046ae6e 100644 --- a/frontend/src/pages/team/Applications/components/compact/InstancesWrapper.vue +++ b/frontend/src/pages/team/Applications/components/compact/InstancesWrapper.vue @@ -27,39 +27,37 @@ > -
- - - {{ remainingInstances }} - More... - - - -
+