From 4579f82cc06a5f0732b55de4920df4c31891fd5d Mon Sep 17 00:00:00 2001 From: maryliag Date: Wed, 30 Nov 2022 14:44:41 -0500 Subject: [PATCH] ui: ux improvements This commit adds UX improvements, such as: - Add spacing on Table Details page - Add spacing on Index Details page and change the sql box size - Rename `Statement Execution and Planning Time` chart on Statement Details page to `Statement Times` Epic: None Release note (ui change): Rename chart on Statement Details page from `Statement Execution and Planning Time` to `Statement Times`. --- .../src/databaseTablePage/databaseTablePage.module.scss | 6 +++++- .../src/databaseTablePage/databaseTablePage.tsx | 2 +- .../src/indexDetailsPage/indexDetailsPage.module.scss | 6 ++++++ .../cluster-ui/src/indexDetailsPage/indexDetailsPage.tsx | 9 ++++++--- .../cluster-ui/src/statementDetails/statementDetails.tsx | 2 +- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.module.scss b/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.module.scss index 4dc11ed1fd6c..ca11a8bea9eb 100644 --- a/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.module.scss +++ b/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.module.scss @@ -76,7 +76,7 @@ padding-right: 9px; padding-left: 9px; margin-right: -9px; - margin-left: -9px; + margin-left: 9px; } &__header { @@ -157,3 +157,7 @@ font-weight: $font-weight--extra-bold; color: $colors--neutral-8; } + +.row-spaced { + margin-top: 20px; +} diff --git a/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx b/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx index 94f8f5b31ffa..d38891cb525f 100644 --- a/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx @@ -621,7 +621,7 @@ export class DatabaseTablePage extends React.Component< - + - + @@ -306,7 +309,7 @@ export class IndexDetailsPage extends React.Component< - + Index recommendations diff --git a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx index 549c981e44fe..d231ed4ecd80 100644 --- a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx @@ -689,7 +689,7 @@ export class StatementDetails extends React.Component<