From b9bf0821e1f6130c18c25977fd813121f9b54748 Mon Sep 17 00:00:00 2001 From: Viktor Egorov Date: Mon, 25 Nov 2024 16:44:09 +0100 Subject: [PATCH] improve user overview Pushed-by: k8s-git-ops Pushed-by: Viktor Egorov Co-authored-by: Viktor Co-authored-by: Thomas Zerr --- gradle/changelog/improve_user_filter.yaml | 2 ++ .../ui-components/src/OverviewPageActions.tsx | 12 +++++------ .../ui-components/src/forms/FilterInput.tsx | 10 +++++++--- scm-ui/ui-components/src/layout/Page.tsx | 2 +- .../src/users/components/table/UserRow.tsx | 20 ++++++++++++------- .../src/users/components/table/UserTable.tsx | 4 ++-- 6 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 gradle/changelog/improve_user_filter.yaml diff --git a/gradle/changelog/improve_user_filter.yaml b/gradle/changelog/improve_user_filter.yaml new file mode 100644 index 0000000000..fb9618e79a --- /dev/null +++ b/gradle/changelog/improve_user_filter.yaml @@ -0,0 +1,2 @@ +- type: changed + description: Placeholder is now a label and breakpoint is different diff --git a/scm-ui/ui-components/src/OverviewPageActions.tsx b/scm-ui/ui-components/src/OverviewPageActions.tsx index 0f9ddec09e..00ff774430 100644 --- a/scm-ui/ui-components/src/OverviewPageActions.tsx +++ b/scm-ui/ui-components/src/OverviewPageActions.tsx @@ -47,7 +47,7 @@ const OverviewPageActions: FC = ({ label, testId, searchPlaceholder, - groupAriaLabelledby + groupAriaLabelledby, }) => { const history = useHistory(); const location = useLocation(); @@ -55,11 +55,11 @@ const OverviewPageActions: FC = ({ const link = createAbsoluteLink(inputLink); const groupSelector = groups && ( -
+