mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-28 07:58:31 +00:00
chore: revert search order and minor styles changes (#21395)
This commit is contained in:
parent
269ab3ae47
commit
0d4a7db0d9
@ -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}
|
||||
/>
|
||||
)}
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user