mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-26 06:53:37 +00:00
MInor: Fixed PR Comments (#20655)
* fixed Memerbs page || table|| bot column * Minor:added cursor pointer * Minor:added cursor pointer * fixed comments * fixed comments * fixed comments
This commit is contained in:
parent
03cc7daa48
commit
69678f59fc
@ -20,7 +20,6 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { ReactComponent as IconDelete } from '../../../../assets/svg/ic-delete.svg';
|
||||
import { LINK_COLOR } from '../../../../constants/constants';
|
||||
import { BOTS_DOCS } from '../../../../constants/docs.constants';
|
||||
import { GlobalSettingsMenuCategory } from '../../../../constants/GlobalSettings.constants';
|
||||
import { PAGE_HEADERS } from '../../../../constants/PageHeaders.constant';
|
||||
@ -52,8 +51,8 @@ import Table from '../../../common/Table/Table';
|
||||
import TitleBreadcrumb from '../../../common/TitleBreadcrumb/TitleBreadcrumb.component';
|
||||
import { TitleBreadcrumbProps } from '../../../common/TitleBreadcrumb/TitleBreadcrumb.interface';
|
||||
import PageHeader from '../../../PageHeader/PageHeader.component';
|
||||
import './bot-list-v1.less';
|
||||
import { BotListV1Props } from './BotListV1.interfaces';
|
||||
|
||||
const BotListV1 = ({
|
||||
showDeleted,
|
||||
handleAddBotClick,
|
||||
@ -130,8 +129,7 @@ const BotListV1 = ({
|
||||
<Link data-testid={`bot-link-${name}`} to={getBotsPath(fqn)}>
|
||||
<Typography.Text
|
||||
className="text-ellipsis bot-link"
|
||||
ellipsis={{ tooltip: true }}
|
||||
style={{ color: LINK_COLOR }}>
|
||||
ellipsis={{ tooltip: true }}>
|
||||
{stringToHTML(highlightSearchText(name, searchTerm))}
|
||||
</Typography.Text>
|
||||
</Link>
|
||||
@ -315,7 +313,7 @@ const BotListV1 = ({
|
||||
onSearch={handleSearch}
|
||||
/>
|
||||
</Col>
|
||||
<Col span={24}>
|
||||
<Col className="bot-list-v1-container" span={24}>
|
||||
<Table
|
||||
columns={columns}
|
||||
customPaginationProps={{
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2025 Collate.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
@import (reference) url('../../../../styles/variables.less');
|
||||
.bot-list-v1-container {
|
||||
.bot-link {
|
||||
color: @blue-17;
|
||||
}
|
||||
}
|
||||
@ -95,14 +95,10 @@ const DomainSelectableList = ({
|
||||
[onUpdate, multiple]
|
||||
);
|
||||
|
||||
const handleCancel = useCallback(
|
||||
(e) => {
|
||||
e.stopPropagation();
|
||||
setPopupVisible(false);
|
||||
onCancel?.();
|
||||
},
|
||||
[onCancel]
|
||||
);
|
||||
const handleCancel = useCallback(() => {
|
||||
setPopupVisible(false);
|
||||
onCancel?.();
|
||||
}, [onCancel]);
|
||||
|
||||
const popoverContent = useMemo(() => {
|
||||
return (
|
||||
|
||||
@ -17,7 +17,7 @@ export interface DomainSelectableTreeProps {
|
||||
value?: string[]; // array of fqn
|
||||
onSubmit: (option: EntityReference[]) => Promise<void>;
|
||||
visible: boolean;
|
||||
onCancel: (event?: React.SyntheticEvent) => void;
|
||||
onCancel: () => void;
|
||||
isMultiple?: boolean;
|
||||
initialDomains?: EntityReference[];
|
||||
dropdownRef?: React.RefObject<HTMLDivElement>;
|
||||
|
||||
@ -35,7 +35,6 @@ export const BORDER_COLOR = '#0000001a';
|
||||
export const BLACK_COLOR = '#000000';
|
||||
export const WHITE_COLOR = '#ffffff';
|
||||
export const LIGHT_GREEN_COLOR = '#4CAF50';
|
||||
export const LINK_COLOR = '#0968da';
|
||||
|
||||
export const DEFAULT_CHART_OPACITY = 1;
|
||||
export const HOVER_CHART_OPACITY = 0.3;
|
||||
|
||||
@ -66,6 +66,10 @@ export interface RESTConnection {
|
||||
* Regex to only fetch api collections with names matching the pattern.
|
||||
*/
|
||||
apiCollectionFilterPattern?: FilterPattern;
|
||||
/**
|
||||
* Documentation URL for the schema.
|
||||
*/
|
||||
docURL?: string;
|
||||
/**
|
||||
* Open API Schema URL.
|
||||
*/
|
||||
|
||||
@ -180,6 +180,10 @@ export interface RESTConnection {
|
||||
* Regex to only fetch api collections with names matching the pattern.
|
||||
*/
|
||||
apiCollectionFilterPattern?: FilterPattern;
|
||||
/**
|
||||
* Documentation URL for the schema.
|
||||
*/
|
||||
docURL?: string;
|
||||
/**
|
||||
* Open API Schema URL.
|
||||
*/
|
||||
|
||||
@ -2598,6 +2598,10 @@ export interface ConfigClass {
|
||||
* Regex to only fetch api collections with names matching the pattern.
|
||||
*/
|
||||
apiCollectionFilterPattern?: FilterPattern;
|
||||
/**
|
||||
* Documentation URL for the schema.
|
||||
*/
|
||||
docURL?: string;
|
||||
/**
|
||||
* Open API Schema URL.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user