From 7851baa6a8721f3cf57542ba46d290e19b118a64 Mon Sep 17 00:00:00 2001 From: Priya_derangula Date: Fri, 31 Jul 2026 12:19:29 +0200 Subject: [PATCH] feat(ui): redesign dataset page search and filter layout --- .../dashboard/dashboard.component.html | 69 ++++++++----- .../datasets/dashboard/dashboard.component.ts | 19 ++++ .../dataset-table.component.html | 2 +- .../datasets-filter.component.html | 98 ++++++++++++------- .../datasets-filter.component.scss | 29 ++++-- 5 files changed, 147 insertions(+), 70 deletions(-) diff --git a/src/app/datasets/dashboard/dashboard.component.html b/src/app/datasets/dashboard/dashboard.component.html index 59246f88cb..3dae8a51c2 100644 --- a/src/app/datasets/dashboard/dashboard.component.html +++ b/src/app/datasets/dashboard/dashboard.component.html @@ -2,8 +2,7 @@
-
-
+
@@ -11,29 +10,51 @@
-
- - - - - - add_circle - Create Dataset - - -
- +
+ +
+
+ + search + + + + + + +
- -
-
+ + +
+ + + + + add_circle + Create Dataset + + +
+ +
+
+
+
+ + +
+ +
+ { + const searchQuery = JSON.parse(queryParams.searchQuery || "{}"); + this.globalTextSearch = searchQuery.text || ""; + }), + ); + this.subscriptions.push( this.store.select(selectCurrentUser).subscribe((user) => { if (user) { diff --git a/src/app/datasets/dataset-table/dataset-table.component.html b/src/app/datasets/dataset-table/dataset-table.component.html index b65f925f98..a574642110 100644 --- a/src/app/datasets/dataset-table/dataset-table.component.html +++ b/src/app/datasets/dataset-table/dataset-table.component.html @@ -8,7 +8,7 @@ [dataSource]="dataSource" [pagination]="pagination" [rowSelectionMode]="rowSelectionMode" - [showGlobalTextSearch]="true" + [showGlobalTextSearch]="false" [globalTextSearch]="globalTextSearch" (globalTextSearchChange)="onTextSearchChange($event)" (globalTextSearchApply)="onTextSearchAction()" diff --git a/src/app/datasets/datasets-filter/datasets-filter.component.html b/src/app/datasets/datasets-filter/datasets-filter.component.html index ee37d0a45d..203995d7f9 100644 --- a/src/app/datasets/datasets-filter/datasets-filter.component.html +++ b/src/app/datasets/datasets-filter/datasets-filter.component.html @@ -1,7 +1,29 @@ - Filters -
+
+ Filters + +
+ + +
+
+
+
- - - +
+ + + - + +
-
+