Skip to content

Commit

Permalink
Replacing stroke icons by solid icons (#9663)
Browse files Browse the repository at this point in the history
* Stroke to Solid

* replacing stroke icon by solid icon
  • Loading branch information
pinotalexandre authored Dec 31, 2024
1 parent 41757ed commit afea818
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 24 deletions.
4 changes: 2 additions & 2 deletions extension/app/src/components/conversation/AgentMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
removeNulls,
} from "@dust-tt/client";
import type { ConversationMessageSizeType } from "@dust-tt/sparkle";
import { DocumentTextStrokeIcon } from "@dust-tt/sparkle";
import { DocumentTextIcon } from "@dust-tt/sparkle";
import {
Citation,
CitationIcons,
Expand Down Expand Up @@ -107,7 +107,7 @@ export function makeWebsearchResultsCitation(
description: result.snippet,
href: result.link,
title: result.title,
icon: <DocumentTextStrokeIcon />,
icon: <DocumentTextIcon />,
};
}

Expand Down
8 changes: 4 additions & 4 deletions extension/app/src/components/markdown/MarkdownCitation.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
ConfluenceLogo,
DocumentTextStrokeIcon,
DocumentTextIcon,
DriveLogo,
GithubLogo,
ImageStrokeIcon,
ImageIcon,
IntercomLogo,
MicrosoftLogo,
NotionLogo,
Expand Down Expand Up @@ -31,15 +31,15 @@ export const citationIconMap: Record<
(props: SVGProps<SVGSVGElement>) => React.JSX.Element
> = {
confluence: ConfluenceLogo,
document: DocumentTextStrokeIcon,
document: DocumentTextIcon,
github: GithubLogo,
google_drive: DriveLogo,
intercom: IntercomLogo,
microsoft: MicrosoftLogo,
zendesk: ZendeskLogo,
notion: NotionLogo,
slack: SlackLogo,
image: ImageStrokeIcon,
image: ImageIcon,
snowflake: SnowflakeLogo,
};

Expand Down
4 changes: 2 additions & 2 deletions front/components/actions/websearch/utils.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DocumentTextStrokeIcon } from "@dust-tt/sparkle";
import { DocumentTextIcon } from "@dust-tt/sparkle";
import type { WebsearchActionType, WebsearchResultType } from "@dust-tt/types";

import type { MarkdownCitation } from "@app/components/markdown/MarkdownCitation";
Expand All @@ -10,7 +10,7 @@ export function makeWebsearchResultsCitation(
description: result.snippet,
href: result.link,
title: result.title,
icon: <DocumentTextStrokeIcon />,
icon: <DocumentTextIcon />,
};
}

Expand Down
4 changes: 2 additions & 2 deletions front/components/app/blocks/Block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
ChevronDownIcon,
ChevronUpIcon,
Spinner,
Square3Stack3DStrokeIcon,
Square3Stack3DIcon,
Tooltip,
TrashIcon,
} from "@dust-tt/sparkle";
Expand Down Expand Up @@ -142,7 +142,7 @@ export default function Block({
handleUseCacheChange(false);
}}
>
<Square3Stack3DStrokeIcon className="h-4 w-4" />
<Square3Stack3DIcon className="h-4 w-4" />
</div>
}
/>
Expand Down
6 changes: 2 additions & 4 deletions front/components/assistant/conversation/ConversationTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ClipboardCheckIcon,
Dialog,
IconButton,
LinkStrokeIcon,
LinkIcon,
PencilSquareIcon,
Popover,
TrashIcon,
Expand Down Expand Up @@ -224,9 +224,7 @@ export function ConversationTitle({
variant="primary"
size="sm"
label={copyLinkSuccess ? "Copied!" : "Copy the link"}
icon={
copyLinkSuccess ? ClipboardCheckIcon : LinkStrokeIcon
}
icon={copyLinkSuccess ? ClipboardCheckIcon : LinkIcon}
onClick={handleClick}
/>
</div>
Expand Down
8 changes: 4 additions & 4 deletions front/components/markdown/MarkdownCitation.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
ConfluenceLogo,
DocumentTextStrokeIcon,
DocumentTextIcon,
DriveLogo,
GithubLogo,
ImageStrokeIcon,
ImageIcon,
IntercomLogo,
MicrosoftLogo,
NotionLogo,
Expand Down Expand Up @@ -34,15 +34,15 @@ export const citationIconMap: Record<
(props: SVGProps<SVGSVGElement>) => React.JSX.Element
> = {
confluence: ConfluenceLogo,
document: DocumentTextStrokeIcon,
document: DocumentTextIcon,
github: GithubLogo,
google_drive: DriveLogo,
intercom: IntercomLogo,
microsoft: MicrosoftLogo,
zendesk: ZendeskLogo,
notion: NotionLogo,
slack: SlackLogo,
image: ImageStrokeIcon,
image: ImageIcon,
snowflake: SnowflakeLogo,
};

Expand Down
4 changes: 2 additions & 2 deletions front/components/spaces/CreateOrEditSpaceModal.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
Button,
DataTable,
ExclamationCircleStrokeIcon,
ExclamationCircleIcon,
Icon,
Input,
Modal,
Expand Down Expand Up @@ -219,7 +219,7 @@ export function CreateOrEditSpaceModal({
/>
{!space && (
<div className="flex gap-1 text-xs text-element-700">
<Icon visual={ExclamationCircleStrokeIcon} size="xs" />
<Icon visual={ExclamationCircleIcon} size="xs" />
<span>Space name must be unique</span>
</div>
)}
Expand Down
4 changes: 2 additions & 2 deletions front/components/spaces/SpaceCreateAppModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
ExclamationCircleStrokeIcon,
ExclamationCircleIcon,
Input,
Modal,
Page,
Expand Down Expand Up @@ -135,7 +135,7 @@ export const SpaceCreateAppModal = ({
messageStatus="error"
/>
<p className="mt-1 flex items-center gap-1 text-sm text-gray-500">
<ExclamationCircleStrokeIcon /> Must be unique and only use
<ExclamationCircleIcon /> Must be unique and only use
alphanumeric, - or _ characters.
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions front/components/spaces/SpaceWebsiteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
DropdownMenuRadioGroup,
DropdownMenuRadioItem,
DropdownMenuTrigger,
ExclamationCircleStrokeIcon,
ExclamationCircleIcon,
InformationCircleIcon,
Input,
Label,
Expand Down Expand Up @@ -567,7 +567,7 @@ export default function SpaceWebsiteModal({
</Label>
) : (
<p className="mt-1 flex items-center gap-1 text-sm text-gray-500">
<ExclamationCircleStrokeIcon />
<ExclamationCircleIcon />
Website name cannot be changed.
</p>
)}
Expand Down

0 comments on commit afea818

Please sign in to comment.