From bf4c34b61bd522c66558ce93719a17b3d14e71dd Mon Sep 17 00:00:00 2001 From: John Cowen Date: Mon, 25 Nov 2024 18:08:00 +0000 Subject: [PATCH] refactor(meshes): refactor meshes to use our newer patterns Signed-off-by: John Cowen --- .../features/application/Loading.feature | 4 +- .../app-collection/AppCollection.vue | 16 +- .../components/data-source/DataLoader.vue | 16 +- .../src/app/meshes/views/MeshDetailView.vue | 108 +++++++------ .../src/app/meshes/views/MeshListView.vue | 152 +++++++++--------- .../src/app/x/components/x-layout/XLayout.vue | 16 +- 6 files changed, 183 insertions(+), 129 deletions(-) diff --git a/packages/kuma-gui/features/application/Loading.feature b/packages/kuma-gui/features/application/Loading.feature index 76fdaabe5b..81db1a6c0d 100644 --- a/packages/kuma-gui/features/application/Loading.feature +++ b/packages/kuma-gui/features/application/Loading.feature @@ -2,8 +2,8 @@ Feature: application / loading Background: Given the CSS selectors - | Alias | Selector | - | collection-loading | [data-testid$='-collection'] [data-testid='table-skeleton'] | + | Alias | Selector | + | collection-loading | [data-testid='list-skeleton'] | Scenario: Collections show a loading view Given the environment diff --git a/packages/kuma-gui/src/app/application/components/app-collection/AppCollection.vue b/packages/kuma-gui/src/app/application/components/app-collection/AppCollection.vue index 38e497c1d9..ae418654a3 100644 --- a/packages/kuma-gui/src/app/application/components/app-collection/AppCollection.vue +++ b/packages/kuma-gui/src/app/application/components/app-collection/AppCollection.vue @@ -43,8 +43,9 @@