From 372049ae64232e8e61a974edc8be5b319c5c0811 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Tue, 3 Aug 2021 15:43:13 +0200 Subject: [PATCH] perf(UI): loading animation on tables and table context menu improvements --- src/renderer/components/TheSettingBar.vue | 2 +- src/renderer/components/Workspace.vue | 12 +--- .../components/WorkspaceExploreBar.vue | 6 +- .../components/WorkspaceExploreBarSchema.vue | 20 +++++- .../WorkspaceExploreBarTableContext.vue | 60 ++++++++++++++--- .../store/modules/workspaces.store.js | 66 +++++++++++++------ 6 files changed, 122 insertions(+), 44 deletions(-) diff --git a/src/renderer/components/TheSettingBar.vue b/src/renderer/components/TheSettingBar.vue index 0cbc51b7..6dc60d21 100644 --- a/src/renderer/components/TheSettingBar.vue +++ b/src/renderer/components/TheSettingBar.vue @@ -117,7 +117,7 @@ export default { }, getStatusBadge (uid) { if (this.getWorkspace(uid)) { - const status = this.getWorkspace(uid).connection_status; + const status = this.getWorkspace(uid).connectionStatus; switch (status) { case 'connected': diff --git a/src/renderer/components/Workspace.vue b/src/renderer/components/Workspace.vue index 26b5db67..b8a066e4 100644 --- a/src/renderer/components/Workspace.vue +++ b/src/renderer/components/Workspace.vue @@ -1,11 +1,11 @@