Skip to content

Commit dc3d77c

Browse files
committed
article details icon change
1 parent 4a14634 commit dc3d77c

1 file changed

Lines changed: 31 additions & 31 deletions

File tree

openmetadata-ui/src/main/resources/ui/src/components/ContextCenter/ArticleDetailHeader/ArticleDetailHeader.component.tsx

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
*/
1313

1414
import {
15-
Badge,
16-
Box,
17-
Button,
18-
ButtonUtility,
19-
Card,
20-
Dot,
21-
Dropdown,
22-
Skeleton,
23-
Tabs,
24-
Tooltip,
25-
TooltipTrigger,
26-
Typography,
15+
Badge,
16+
Box,
17+
Button,
18+
ButtonUtility,
19+
Card,
20+
Dot,
21+
Dropdown,
22+
Skeleton,
23+
Tabs,
24+
Tooltip,
25+
TooltipTrigger,
26+
Typography,
2727
} from '@openmetadata/ui-core-components';
2828
import {
29-
UploadCloud01,
29+
UploadCloud01,
3030
} from '@untitledui/icons';
3131
import { AxiosError } from 'axios';
3232
import classNames from 'classnames';
@@ -65,8 +65,8 @@ import { useApplicationStore } from '../../../hooks/useApplicationStore';
6565
import { useEntityRules } from '../../../hooks/useEntityRules';
6666
import { useFqn } from '../../../hooks/useFqn';
6767
import {
68-
ContentChangeState,
69-
RecentlyViewedQuickLinks,
68+
ContentChangeState,
69+
RecentlyViewedQuickLinks,
7070
} from '../../../interface/knowledge-center.interface';
7171
import { deleteKnowledgePage } from '../../../rest/knowledgeCenterAPI';
7272
import contextCenterClassBase from '../../../utils/ContextCenterClassBase';
@@ -397,9 +397,9 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
397397
onUpdate={handleDomainSave}>
398398
<ButtonUtility
399399
className="tw:p-1"
400-
color="secondary"
400+
color="tertiary"
401401
data-testid="edit-domain-btn"
402-
icon={<EditIcon height={11} width={11} className="tw:text-gray-500 tw:hover:text-gray-600" />}
402+
icon={<EditIcon height={14} width={14} />}
403403
tooltip={t('label.edit-entity', {
404404
entity: t('label.domain'),
405405
})}
@@ -454,9 +454,9 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
454454
onUpdate={handleOwnerSave}>
455455
<ButtonUtility
456456
className="tw:p-1"
457-
color="secondary"
457+
color="tertiary"
458458
data-testid="edit-owner-btn"
459-
icon={<EditIcon height={11} width={11} className="tw:text-gray-500 tw:hover:text-gray-600" />}
459+
icon={<EditIcon height={14} width={14} />}
460460
tooltip={t('label.edit-entity', {
461461
entity: t('label.owner-plural'),
462462
})}
@@ -534,12 +534,12 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
534534
disabled={knowledgePage?.deleted || voteLoading !== null}
535535
icon={
536536
voteStatus === QueryVoteType.votedUp ? <ThumbsUpActiveIcon
537-
height={18}
538-
width={18}
537+
height={20}
538+
width={20}
539539
/> :
540540
<ThumbsUpIcon
541-
height={18}
542-
width={18}
541+
height={20}
542+
width={20}
543543
/>
544544
}
545545
tooltip={t('label.up-vote')}
@@ -558,12 +558,12 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
558558
disabled={knowledgePage?.deleted || voteLoading !== null}
559559
icon={
560560
voteStatus === QueryVoteType.votedDown ? <ThumbsDownActiveIcon
561-
height={18}
562-
width={18}
561+
height={20}
562+
width={20}
563563
/> :
564564
<ThumbsDownIcon
565-
height={18}
566-
width={18}
565+
height={20}
566+
width={20}
567567
/>
568568
}
569569
tooltip={t('label.down-vote')}
@@ -574,7 +574,7 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
574574
<ButtonUtility
575575
color="tertiary"
576576
data-testid="conversation"
577-
icon={<ChatIcon height={18} width={18} />}
577+
icon={<ChatIcon height={20} width={20} />}
578578
tooltip={t('label.conversation')}
579579
onClick={handleOpenConversation}
580580
/>
@@ -584,7 +584,7 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
584584
color="tertiary"
585585
data-testid="follow-btn"
586586
disabled={isFollowLoading || knowledgePage?.deleted}
587-
icon={isFollowing ? <FollowActiveIcon height={18} width={18} /> : <FollowIcon height={18} width={18} /> }
587+
icon={isFollowing ? <FollowActiveIcon height={20} width={20} /> : <FollowIcon height={20} width={20} /> }
588588
tooltip={isFollowing ? t('label.un-follow') : t('label.follow')}
589589
onClick={handleFollowClick}
590590
/>
@@ -593,15 +593,15 @@ const ArticleDetailHeader: FC<ArticleDetailHeaderProps> = ({
593593
color="tertiary"
594594
testId="copy-btn"
595595
url={window.location.href}>
596-
<CopyIcon height={18} width={18} />
596+
<CopyIcon height={20} width={20} />
597597
</CopyLinkButton>
598598

599599
{permissions?.Delete && (
600600
<Dropdown.Root>
601601
<ButtonUtility
602602
color="tertiary"
603603
data-testid="edit-memory-btn"
604-
icon={ <DotsVerticalIcon height={18} width={18} />}
604+
icon={ <DotsVerticalIcon height={20} width={20} />}
605605
size="sm"
606606
tooltip={t('label.manage-entity', {
607607
entity: t('label.article'),

0 commit comments

Comments
 (0)