mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-30 12:49:58 +00:00
fix: tour page and tags count inside table (#20583)
This commit is contained in:
parent
2d9fbcde17
commit
a1e728ad84
@ -116,7 +116,7 @@ const ActivityFeedListV1New = ({
|
|||||||
return <Loader />;
|
return <Loader />;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isEmpty(entityThread) && !isLoading) {
|
if (isEmpty(entityThread) && isEmpty(feedList) && !isLoading) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="p-x-md no-data-placeholder-container"
|
className="p-x-md no-data-placeholder-container"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import { lowerCase } from 'lodash';
|
import { lowerCase } from 'lodash';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import { TAG_LIST_SIZE } from '../../../constants/constants';
|
||||||
import { EntityField } from '../../../constants/Feeds.constants';
|
import { EntityField } from '../../../constants/Feeds.constants';
|
||||||
import EntityTasks from '../../../pages/TasksPage/EntityTasks/EntityTasks.component';
|
import EntityTasks from '../../../pages/TasksPage/EntityTasks/EntityTasks.component';
|
||||||
import { useGenericContext } from '../../Customization/GenericProvider/GenericProvider';
|
import { useGenericContext } from '../../Customization/GenericProvider/GenericProvider';
|
||||||
@ -52,6 +53,7 @@ const TableTags = <T extends TableUnion>({
|
|||||||
selectedTags={tags}
|
selectedTags={tags}
|
||||||
showHeader={false}
|
showHeader={false}
|
||||||
showInlineEditButton={showInlineEditTagButton}
|
showInlineEditButton={showInlineEditTagButton}
|
||||||
|
sizeCap={TAG_LIST_SIZE}
|
||||||
tagType={type}
|
tagType={type}
|
||||||
onSelectionChange={async (selectedTags) => {
|
onSelectionChange={async (selectedTags) => {
|
||||||
await handleTagSelection(selectedTags, record);
|
await handleTagSelection(selectedTags, record);
|
||||||
|
@ -91,7 +91,7 @@ const TagsViewer: FunctionComponent<TagsViewerProps> = ({
|
|||||||
const popoverRenderElement = useMemo(
|
const popoverRenderElement = useMemo(
|
||||||
() =>
|
() =>
|
||||||
sortedTagsBySource.slice(sizeCap).length > 0 && (
|
sortedTagsBySource.slice(sizeCap).length > 0 && (
|
||||||
<div className="m-t-xs" data-testid="popover-element">
|
<div className="m-t-xss" data-testid="popover-element">
|
||||||
<Popover
|
<Popover
|
||||||
content={
|
content={
|
||||||
<div className="d-flex flex-column flex-wrap gap-2">
|
<div className="d-flex flex-column flex-wrap gap-2">
|
||||||
|
@ -55,6 +55,7 @@ export const PAGE_SIZE_LARGE = 50;
|
|||||||
export const ES_MAX_PAGE_SIZE = 10000;
|
export const ES_MAX_PAGE_SIZE = 10000;
|
||||||
export const API_RES_MAX_SIZE = 100000;
|
export const API_RES_MAX_SIZE = 100000;
|
||||||
export const LIST_SIZE = 5;
|
export const LIST_SIZE = 5;
|
||||||
|
export const TAG_LIST_SIZE = 3;
|
||||||
export const ADD_USER_CONTAINER_HEIGHT = 250;
|
export const ADD_USER_CONTAINER_HEIGHT = 250;
|
||||||
export const INGESTION_PROGRESS_START_VAL = 20;
|
export const INGESTION_PROGRESS_START_VAL = 20;
|
||||||
export const INGESTION_PROGRESS_END_VAL = 80;
|
export const INGESTION_PROGRESS_END_VAL = 80;
|
||||||
|
@ -228,7 +228,7 @@ export const getTourSteps = ({
|
|||||||
i18nKey="message.tour-step-click-on-entity-tab"
|
i18nKey="message.tour-step-click-on-entity-tab"
|
||||||
renderElement={<strong />}
|
renderElement={<strong />}
|
||||||
values={{
|
values={{
|
||||||
text: i18next.t('label.profiler'),
|
text: i18next.t('label.data-obervability'),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user