chore: revert search order and minor styles changes (#21395)

This commit is contained in:
Pranita Fulsundar 2025-05-27 10:59:05 +05:30 committed by GitHub
parent 269ab3ae47
commit 0d4a7db0d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 17 deletions

View File

@ -150,7 +150,9 @@ const DataProductsContainer = ({
<PlusIconButton
data-testid="add-data-product"
size="small"
title={t('label.add-data-product')}
title={t('label.add-entity', {
entity: t('label.data-product-plural'),
})}
onClick={handleAddClick}
/>
)}

View File

@ -298,14 +298,14 @@ const ExploreV1: React.FC<ExploreProps> = ({
className="content-height-with-resizable-panel"
firstPanel={{
className: 'content-resizable-panel-container',
flex: 0.13,
flex: 0.2,
minWidth: 280,
title: t('label.data-asset-plural'),
children: <div className="p-x-sm">{exploreLeftPanel}</div>,
}}
secondPanel={{
className: 'content-height-with-resizable-panel',
flex: 0.87,
flex: 0.8,
minWidth: 800,
children: (
<div className="explore-main-container">

View File

@ -357,20 +357,6 @@ class SearchClassBase {
public getTabsInfo(): Record<ExploreSearchIndex, TabsInfoData> {
return {
[SearchIndex.DATABASE]: {
label: i18n.t('label.database-plural'),
sortingFields: entitySortingFields,
sortField: INITIAL_SORT_FIELD,
path: ExplorePageTabs.DATABASE,
icon: DatabaseIcon,
},
[SearchIndex.DATABASE_SCHEMA]: {
label: i18n.t('label.database-schema-plural'),
sortingFields: entitySortingFields,
sortField: INITIAL_SORT_FIELD,
path: ExplorePageTabs.DATABASE_SCHEMA,
icon: SchemaIcon,
},
[SearchIndex.TABLE]: {
label: i18n.t('label.table-plural'),
sortingFields: tableSortingFields,
@ -385,6 +371,20 @@ class SearchClassBase {
path: ExplorePageTabs.STORED_PROCEDURE,
icon: IconStoredProcedure,
},
[SearchIndex.DATABASE]: {
label: i18n.t('label.database-plural'),
sortingFields: entitySortingFields,
sortField: INITIAL_SORT_FIELD,
path: ExplorePageTabs.DATABASE,
icon: DatabaseIcon,
},
[SearchIndex.DATABASE_SCHEMA]: {
label: i18n.t('label.database-schema-plural'),
sortingFields: entitySortingFields,
sortField: INITIAL_SORT_FIELD,
path: ExplorePageTabs.DATABASE_SCHEMA,
icon: SchemaIcon,
},
[SearchIndex.DASHBOARD]: {
label: i18n.t('label.dashboard-plural'),
sortingFields: entitySortingFields,