mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 21:43:06 +00:00
This commit is contained in:
parent
8f681f3f7e
commit
91f9d51df5
41 changed files with 132 additions and 261 deletions
|
|
@ -13,7 +13,7 @@ import AgentContact from '~/components/Agents/AgentContact';
|
|||
import ConvoIcon from '~/components/Endpoints/ConvoIcon';
|
||||
|
||||
const containerClassName =
|
||||
'shadow-stroke relative flex h-full items-center justify-center rounded-full bg-presentation text-text-primary dark:after:shadow-none ';
|
||||
'relative flex h-full items-center justify-center rounded-full bg-presentation text-text-primary';
|
||||
|
||||
/** Stable references: fresh literals re-initialized SplitText's springs and
|
||||
* re-rendered every grapheme span on each Landing render. */
|
||||
|
|
@ -143,22 +143,24 @@ export default function Landing({ centerFormOnLanding }: { centerFormOnLanding:
|
|||
className={`flex ${textHasMultipleLines ? 'flex-col' : 'flex-col md:flex-row'} items-center justify-center gap-2`}
|
||||
>
|
||||
<div className={`relative size-10 justify-center ${textHasMultipleLines ? 'mb-2' : ''}`}>
|
||||
{isTemporary ? (
|
||||
<div className={containerClassName}>
|
||||
<HatGlasses className="text-text-primary h-2/3 w-2/3" aria-hidden="true" />
|
||||
</div>
|
||||
) : (
|
||||
<ConvoIcon
|
||||
agentsMap={agentsMap}
|
||||
assistantMap={assistantMap}
|
||||
conversation={conversation}
|
||||
endpointsConfig={endpointsConfig}
|
||||
containerClassName={containerClassName}
|
||||
context="landing"
|
||||
className="text-text-primary h-2/3 w-2/3"
|
||||
size={41}
|
||||
/>
|
||||
)}
|
||||
<div className="avatar-stroke size-full rounded-full dark:after:shadow-none">
|
||||
{isTemporary ? (
|
||||
<div className={containerClassName}>
|
||||
<HatGlasses className="text-text-primary h-2/3 w-2/3" aria-hidden="true" />
|
||||
</div>
|
||||
) : (
|
||||
<ConvoIcon
|
||||
agentsMap={agentsMap}
|
||||
assistantMap={assistantMap}
|
||||
conversation={conversation}
|
||||
endpointsConfig={endpointsConfig}
|
||||
containerClassName={containerClassName}
|
||||
context="landing"
|
||||
className="text-text-primary h-2/3 w-2/3"
|
||||
size={41}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
{startupConfig?.showBirthdayIcon && (
|
||||
<TooltipAnchor
|
||||
className="absolute right-2 bottom-[1.6875rem]"
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ const AgentHandoff: React.FC<AgentHandoffProps> = ({ name, args: _args = '' }) =
|
|||
<div className="mb-1.5 flex min-h-5 items-center justify-between gap-2">
|
||||
<span
|
||||
id={headingId}
|
||||
className="text-text-secondary text-[11px] font-semibold tracking-wide uppercase"
|
||||
className="text-text-secondary text-2xs font-semibold tracking-wide uppercase"
|
||||
>
|
||||
{localize('com_ui_handoff_instructions')}
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -292,7 +292,8 @@ export default function DialogImage({
|
|||
ref={closeButtonRef}
|
||||
onClick={() => onOpenChange(false)}
|
||||
variant="media"
|
||||
className="h-10 w-10 p-0"
|
||||
size="bare"
|
||||
className="h-10 w-10"
|
||||
aria-label={localize('com_ui_close')}
|
||||
>
|
||||
<X className="size-6" aria-hidden="true" />
|
||||
|
|
@ -313,7 +314,8 @@ export default function DialogImage({
|
|||
<Button
|
||||
onClick={resetZoom}
|
||||
variant="media"
|
||||
className="h-10 w-10 p-0"
|
||||
size="bare"
|
||||
className="h-10 w-10"
|
||||
aria-label={localize('com_ui_reset_zoom')}
|
||||
>
|
||||
<RotateCcw className="size-5" aria-hidden="true" />
|
||||
|
|
@ -328,7 +330,8 @@ export default function DialogImage({
|
|||
<Button
|
||||
onClick={() => downloadImage()}
|
||||
variant="media"
|
||||
className="h-10 w-10 p-0"
|
||||
size="bare"
|
||||
className="h-10 w-10"
|
||||
aria-label={localize('com_ui_download')}
|
||||
>
|
||||
<ArrowDownToLine className="size-5" aria-hidden="true" />
|
||||
|
|
@ -343,7 +346,8 @@ export default function DialogImage({
|
|||
<Button
|
||||
onClick={() => setIsPromptOpen(!isPromptOpen)}
|
||||
variant="media"
|
||||
className="h-10 w-10 p-0"
|
||||
size="bare"
|
||||
className="h-10 w-10"
|
||||
aria-label={imageDetailsLabel}
|
||||
>
|
||||
<MorphIcon
|
||||
|
|
@ -411,7 +415,8 @@ export default function DialogImage({
|
|||
<Button
|
||||
onClick={() => setIsPromptOpen(false)}
|
||||
variant="ghost"
|
||||
className={detailsBeside ? 'hidden' : 'h-10 w-10 p-0'}
|
||||
size="bare"
|
||||
className={detailsBeside ? 'hidden' : 'h-10 w-10'}
|
||||
aria-label={localize('com_ui_hide_image_details')}
|
||||
>
|
||||
<X className="size-5" aria-hidden="true" />
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ export const DisplayMessage = ({ text, isCreatedByUser, message, showCursor }: T
|
|||
<CollapsibleText enabled={isCreatedByUser && collapseLongUserMessages}>
|
||||
<div
|
||||
className={cn(
|
||||
'markdown prose message-content dark:prose-invert light w-full break-words',
|
||||
'markdown prose message-content light w-full break-words',
|
||||
isSubmitting && 'submitting',
|
||||
showCursorState && text.length > 0 && 'result-streaming',
|
||||
isCreatedByUser && !enableUserMsgMarkdown && 'whitespace-pre-wrap',
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ const ArtifactRow = forwardRef<HTMLButtonElement, ArtifactRowProps>(function Art
|
|||
data-artifact-trigger={artifactId}
|
||||
onClick={onOpen}
|
||||
className={cn(
|
||||
'inline-flex h-auto min-w-0 flex-1 items-center justify-start gap-2.5 rounded-none p-0',
|
||||
'min-w-0 flex-1 gap-2.5',
|
||||
'hover:text-text-primary focus-visible:ring-text-primary focus-visible:ring-offset-0',
|
||||
isSelected && 'text-text-primary',
|
||||
)}
|
||||
|
|
@ -107,7 +107,7 @@ const ArtifactRow = forwardRef<HTMLButtonElement, ArtifactRowProps>(function Art
|
|||
the streaming cursor and a call header can trade places without
|
||||
moving what is under them, and a taller child here would push
|
||||
past that box. */}
|
||||
<span className="text-text-tertiary ring-border-light shrink-0 rounded px-1.5 text-[10px] leading-5 font-medium tracking-wide uppercase ring-1 ring-inset">
|
||||
<span className="text-text-tertiary ring-border-light text-3xs shrink-0 rounded px-1.5 leading-5 font-medium tracking-wide uppercase ring-1 ring-inset">
|
||||
{label}
|
||||
</span>
|
||||
{/* The glyph's tint is the visual half of the preview/source split
|
||||
|
|
@ -124,11 +124,11 @@ const ArtifactRow = forwardRef<HTMLButtonElement, ArtifactRowProps>(function Art
|
|||
{onDownload != null && (
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
size="icon"
|
||||
onClick={onDownload}
|
||||
aria-label={`${localize('com_ui_download')} ${title}`}
|
||||
className="text-text-secondary size-5 shrink-0 rounded focus-visible:ring-offset-0"
|
||||
className="size-5 shrink-0 rounded focus-visible:ring-offset-0"
|
||||
>
|
||||
<Download className="size-4" aria-hidden="true" />
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -82,11 +82,11 @@ const PreviewPlaceholderRow = memo(
|
|||
<span className="min-w-0 shrink-[100] truncate text-xs font-normal">{subtitleText}</span>
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
size="icon"
|
||||
onClick={handleDownload}
|
||||
aria-label={`${localize('com_ui_download')} ${visibleFilename}`}
|
||||
className="text-text-secondary size-5 shrink-0 rounded focus-visible:ring-offset-0"
|
||||
className="size-5 shrink-0 rounded focus-visible:ring-offset-0"
|
||||
>
|
||||
<Download className="size-4" aria-hidden="true" />
|
||||
</Button>
|
||||
|
|
@ -132,13 +132,12 @@ const FileAttachment = memo(({ attachment }: { attachment: Partial<TAttachment>
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'transition-all duration-300 ease-out',
|
||||
'subpixel-antialiased transition-all duration-300 ease-out',
|
||||
isVisible ? 'translate-y-0 opacity-100' : 'translate-y-2 opacity-0',
|
||||
)}
|
||||
style={{
|
||||
transformOrigin: 'center top',
|
||||
willChange: 'opacity, transform',
|
||||
WebkitFontSmoothing: 'subpixel-antialiased',
|
||||
}}
|
||||
>
|
||||
<PreviewPlaceholderRow
|
||||
|
|
@ -152,13 +151,12 @@ const FileAttachment = memo(({ attachment }: { attachment: Partial<TAttachment>
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'transition-all duration-300 ease-out',
|
||||
'subpixel-antialiased transition-all duration-300 ease-out',
|
||||
isVisible ? 'translate-y-0 opacity-100' : 'translate-y-2 opacity-0',
|
||||
)}
|
||||
style={{
|
||||
transformOrigin: 'center top',
|
||||
willChange: 'opacity, transform',
|
||||
WebkitFontSmoothing: 'subpixel-antialiased',
|
||||
}}
|
||||
>
|
||||
<FileContainer
|
||||
|
|
@ -332,13 +330,12 @@ const TextAttachment = memo(
|
|||
<div
|
||||
className={cn(
|
||||
'flex w-full flex-col gap-1.5',
|
||||
'transition-all duration-300 ease-out',
|
||||
'subpixel-antialiased transition-all duration-300 ease-out',
|
||||
isVisible ? 'translate-y-0 opacity-100' : 'translate-y-2 opacity-0',
|
||||
)}
|
||||
style={{
|
||||
transformOrigin: 'center top',
|
||||
willChange: 'opacity, transform',
|
||||
WebkitFontSmoothing: 'subpixel-antialiased',
|
||||
}}
|
||||
>
|
||||
{attachment.filepath && showFileChip && (
|
||||
|
|
@ -413,13 +410,12 @@ const ImageAttachment = memo(({ attachment }: { attachment: TAttachment }) => {
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'transition-all duration-500 ease-out',
|
||||
'subpixel-antialiased transition-all duration-500 ease-out',
|
||||
isLoaded ? 'scale-100 opacity-100' : 'scale-[0.98] opacity-0',
|
||||
)}
|
||||
style={{
|
||||
transformOrigin: 'center top',
|
||||
willChange: 'opacity, transform',
|
||||
WebkitFontSmoothing: 'subpixel-antialiased',
|
||||
}}
|
||||
>
|
||||
<Image
|
||||
|
|
|
|||
|
|
@ -113,10 +113,11 @@ const CollapsibleText = memo(function CollapsibleText({
|
|||
<Button
|
||||
type="button"
|
||||
variant="link"
|
||||
size="bare"
|
||||
onClick={() => setExpanded((prev) => !prev)}
|
||||
aria-expanded={expanded}
|
||||
aria-controls={contentId}
|
||||
className="mt-1 h-auto gap-1 p-0 text-xs"
|
||||
className="mt-1 gap-1 text-xs"
|
||||
>
|
||||
{expanded ? (
|
||||
<ChevronUp className="h-3.5 w-3.5" aria-hidden="true" />
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ const DiffRow = memo(function DiffRow({ type, text, num, hasLineNumbers }: DiffR
|
|||
if (!text) {
|
||||
return <div className="border-border-light mx-3 my-1.5 border-t" />;
|
||||
}
|
||||
return <div className="text-text-tertiary px-3 py-0.5 text-[11px] select-none">{text}</div>;
|
||||
return <div className="text-text-tertiary text-2xs px-3 py-0.5 select-none">{text}</div>;
|
||||
}
|
||||
return (
|
||||
<div
|
||||
|
|
@ -185,7 +185,7 @@ const DiffRow = memo(function DiffRow({ type, text, num, hasLineNumbers }: DiffR
|
|||
)}
|
||||
>
|
||||
{hasLineNumbers && (
|
||||
<span className="text-text-tertiary w-9 shrink-0 pr-1 text-right text-[11px] select-none">
|
||||
<span className="text-text-tertiary text-2xs w-9 shrink-0 pr-1 text-right select-none">
|
||||
{num ?? ''}
|
||||
</span>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const EmptyTextPart = memo(({ underHeaderIcon = false }: EmptyTextPartProps) =>
|
|||
data-message-text
|
||||
className="flex min-h-[1.25rem] flex-col items-start gap-3 overflow-visible"
|
||||
>
|
||||
<div className="markdown prose dark:prose-invert light w-full break-words">
|
||||
<div className="markdown prose light w-full break-words">
|
||||
<div className={cn('absolute', underHeaderIcon && 'ps-1.5')}>
|
||||
<p className="submitting relative">
|
||||
<span className="result-thinking" />
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ export default function ExecuteCode({
|
|||
code && 'border-border-inset border-t',
|
||||
)}
|
||||
>
|
||||
<div className="text-text-secondary mb-1.5 text-[10px] font-medium tracking-wide uppercase">
|
||||
<div className="text-text-secondary text-3xs mb-1.5 font-medium tracking-wide uppercase">
|
||||
{localize('com_ui_output')}
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ const LogContent: React.FC<LogContentProps> = ({ output = '', renderImages, atta
|
|||
className="bg-surface-secondary rounded-lg p-3"
|
||||
>
|
||||
{file.filename && (
|
||||
<div className="text-text-secondary mb-1 truncate text-[10px] font-medium tracking-wide uppercase">
|
||||
<div className="text-text-secondary text-3xs mb-1 truncate font-medium tracking-wide uppercase">
|
||||
{file.filepath ? (
|
||||
<LogLink
|
||||
href={file.filepath}
|
||||
|
|
|
|||
|
|
@ -36,10 +36,7 @@ export default function PendingSkillCall({
|
|||
return (
|
||||
<div className={TOOL_ROW_CLASSES}>
|
||||
<div className="progress-text-wrapper text-text-secondary relative -mt-[0.046875rem] h-5 w-full leading-5">
|
||||
<div
|
||||
className="progress-text-content absolute top-0 right-0 left-0 max-w-full overflow-visible whitespace-nowrap"
|
||||
style={{ opacity: 1, transform: 'none' }}
|
||||
>
|
||||
<div className="progress-text-content absolute top-0 right-0 left-0 max-w-full overflow-visible whitespace-nowrap">
|
||||
<div className="inline-flex w-full items-center gap-2">
|
||||
{/** The real `SkillCall` replaces this row in place once the skill
|
||||
* finalizes; sharing its glyph slot keeps that swap still. */}
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ export default function PtcToolTrace({
|
|||
* intended separation under a custom theme. */
|
||||
return (
|
||||
<div className={cn('p-4 text-xs', className)}>
|
||||
<div className="text-text-secondary mb-1.5 text-[10px] font-medium tracking-wide uppercase">
|
||||
<div className="text-text-secondary text-3xs mb-1.5 font-medium tracking-wide uppercase">
|
||||
{localize('com_ui_ptc_trace_title')}
|
||||
</div>
|
||||
<ol
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export default function SkillCall({
|
|||
)}
|
||||
>
|
||||
<div className="p-4 text-xs">
|
||||
<div className="text-text-secondary mb-1.5 text-[10px] font-medium tracking-wide uppercase">
|
||||
<div className="text-text-secondary text-3xs mb-1.5 font-medium tracking-wide uppercase">
|
||||
{localize('com_ui_output')}
|
||||
</div>
|
||||
<div className="text-text-primary max-h-[12.5rem] overflow-auto">
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ const SteerPart = memo(function SteerPart({
|
|||
<CollapsibleText enabled={collapseLongUserMessages}>
|
||||
<div
|
||||
className={cn(
|
||||
'markdown prose message-content dark:prose-invert light w-full break-words',
|
||||
'markdown prose message-content light w-full break-words',
|
||||
!enableUserMsgMarkdown && 'whitespace-pre-wrap',
|
||||
'text-text-primary',
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ const SummaryButton = memo(
|
|||
aria-expanded={isExpanded}
|
||||
aria-controls={contentId}
|
||||
className={cn(
|
||||
'group/button h-auto flex-1 justify-start gap-0 rounded-lg p-0 leading-[18px] font-normal',
|
||||
'group/button flex-1 gap-0 rounded-lg leading-[18px] font-normal',
|
||||
fontSize,
|
||||
)}
|
||||
>
|
||||
|
|
@ -103,19 +103,16 @@ const SummaryButton = memo(
|
|||
</Button>
|
||||
{content && showCopyButton && (
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
variant="message-action"
|
||||
onClick={onCopy}
|
||||
aria-label={
|
||||
isCopied ? localize('com_ui_copied_to_clipboard') : localize('com_ui_copy_summary')
|
||||
}
|
||||
className={cn(
|
||||
'text-text-secondary-alt size-auto p-1.5',
|
||||
isExpanded
|
||||
? 'opacity-0 group-focus-within/summary-container:opacity-100 group-hover/summary-container:opacity-100'
|
||||
: 'opacity-0',
|
||||
'hover:bg-surface-hover hover:text-text-primary',
|
||||
'focus-visible:ring-text-primary focus-visible:opacity-100 focus-visible:ring-2',
|
||||
'focus-visible:opacity-100',
|
||||
)}
|
||||
>
|
||||
<span className="sr-only">
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ const TextPart = memo(function TextPart({ text, isCreatedByUser, showCursor }: T
|
|||
className={cn(
|
||||
isSubmitting ? 'submitting' : '',
|
||||
showCursorState && !!text.length ? 'result-streaming' : '',
|
||||
'markdown prose message-content dark:prose-invert light w-full break-words',
|
||||
'markdown prose message-content light w-full break-words',
|
||||
isCreatedByUser && !enableUserMsgMarkdown && 'whitespace-pre-wrap',
|
||||
'text-text-primary',
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const ToolMermaidArtifact = memo(({ attachment, text }: ToolMermaidArtifactProps
|
|||
<div className="flex items-center justify-between gap-2">
|
||||
{attachment.filename && (
|
||||
<div
|
||||
className="text-text-secondary truncate text-[10px] font-medium tracking-wide uppercase"
|
||||
className="text-text-secondary text-3xs truncate font-medium tracking-wide uppercase"
|
||||
title={visibleFilename}
|
||||
>
|
||||
{visibleFilename}
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ export default function WorkspaceChanges({
|
|||
aria-controls={panelId}
|
||||
aria-label={`${localize('com_ui_workspace_changes')}: ${countLabel}`}
|
||||
onClick={() => setIsExpanded((previous) => !previous)}
|
||||
className="text-text-secondary h-auto max-w-full justify-start py-1 pr-2 pl-0 font-normal"
|
||||
className="text-text-secondary max-w-full py-1 pr-2 font-normal"
|
||||
>
|
||||
<Files className="size-4 shrink-0" aria-hidden="true" />
|
||||
<span className="shrink-0 font-medium">{localize('com_ui_workspace_changes')}</span>
|
||||
|
|
|
|||
|
|
@ -46,9 +46,7 @@ const Wrapper = ({
|
|||
return (
|
||||
<div className={cn(wrapperClass, failed && failedStripeClass)} ref={rootRef}>
|
||||
<Popover.Trigger asChild>
|
||||
<div className={contentClass} style={{ opacity: 1, transform: 'none' }}>
|
||||
{children}
|
||||
</div>
|
||||
<div className={contentClass}>{children}</div>
|
||||
</Popover.Trigger>
|
||||
</div>
|
||||
);
|
||||
|
|
@ -56,9 +54,7 @@ const Wrapper = ({
|
|||
|
||||
return (
|
||||
<div className={cn(wrapperClass, failed && failedStripeClass)} ref={rootRef}>
|
||||
<div className={contentClass} style={{ opacity: 1, transform: 'none' }}>
|
||||
{children}
|
||||
</div>
|
||||
<div className={contentClass}>{children}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ function FileHeader({
|
|||
className="flex cursor-help items-center"
|
||||
>
|
||||
<span
|
||||
className="bg-surface-tertiary text-text-secondary shrink-0 cursor-help rounded px-1.5 py-0.5 text-[11px] leading-none tabular-nums"
|
||||
className="bg-surface-tertiary text-text-secondary text-2xs shrink-0 cursor-help rounded px-1.5 py-0.5 leading-none tabular-nums"
|
||||
aria-label={`${localize('com_ui_relevance')}: ${Math.round(relevance * 100)}%`}
|
||||
>
|
||||
{Math.round(relevance * 100)}%
|
||||
|
|
@ -323,7 +323,7 @@ function FileHeader({
|
|||
)}
|
||||
<span className="flex-1" />
|
||||
{sortedPages && sortedPages.length > 0 && (
|
||||
<span className="text-text-secondary shrink-0 text-[11px]">
|
||||
<span className="text-text-secondary text-2xs shrink-0">
|
||||
{localize('com_file_pages', { pages: sortedPages.join(', ') })}
|
||||
</span>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ const SearchContent = ({
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'markdown prose dark:prose-invert light w-full break-words',
|
||||
'markdown prose light w-full break-words',
|
||||
message.isCreatedByUser && !enableUserMsgMarkdown && 'whitespace-pre-wrap',
|
||||
'text-text-primary',
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -82,10 +82,10 @@ export default function ToolCallLimitNotice({ message }: { message: TMessage })
|
|||
render={
|
||||
<Button
|
||||
type="button"
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
size="icon-xs"
|
||||
aria-label={localize('com_ui_tool_call_limit_dismiss')}
|
||||
className="text-text-secondary absolute top-1.5 right-1.5 focus-visible:ring-offset-0 focus-visible:ring-inset"
|
||||
className="absolute top-1.5 right-1.5 focus-visible:ring-offset-0 focus-visible:ring-inset"
|
||||
onClick={() => setDismissed(true)}
|
||||
>
|
||||
<X className="h-4 w-4" aria-hidden="true" />
|
||||
|
|
|
|||
|
|
@ -219,8 +219,8 @@ export default function OutputRenderer({
|
|||
{error && rawError && rawError !== displayText && (
|
||||
<Button
|
||||
variant="link"
|
||||
size="sm"
|
||||
className="text-text-secondary focus-visible:ring-border-heavy mt-1 block h-auto p-0 text-xs underline"
|
||||
size="bare"
|
||||
className="text-text-secondary focus-visible:ring-border-heavy mt-1 block text-xs underline"
|
||||
onClick={() => setShowErrorDetails((prev) => !prev)}
|
||||
>
|
||||
{localize('com_ui_details')}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { ChevronLeft, ChevronRight } from 'lucide-react';
|
|||
import type { UIResource } from 'librechat-data-provider';
|
||||
import UIResourceRenderer, { isSupportedUIResource } from '~/components/MCPUIResource/Renderer';
|
||||
import { useOptionalMessagesOperations } from '~/Providers';
|
||||
import { handleUIAction } from '~/utils';
|
||||
import { cn, handleUIAction } from '~/utils';
|
||||
import { useLocalize } from '~/hooks';
|
||||
|
||||
interface UIResourceCarouselProps {
|
||||
|
|
@ -91,12 +91,12 @@ const UIResourceCarousel: React.FC<UIResourceCarouselProps> = React.memo(({ uiRe
|
|||
|
||||
{showLeftArrow && (
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
variant="carousel-nav"
|
||||
onClick={() => scroll('left')}
|
||||
className={`bg-surface-fixed text-text-fixed hover:bg-surface-fixed-hover hover:text-text-fixed absolute top-1/2 left-2 z-20 h-auto w-auto -translate-y-1/2 rounded-xl p-2 shadow-lg transition-all duration-200 hover:scale-110 hover:shadow-xl active:scale-95 ${
|
||||
isContainerHovered ? 'opacity-100' : 'pointer-events-none opacity-0'
|
||||
}`}
|
||||
className={cn(
|
||||
'absolute top-1/2 left-2 z-20 -translate-y-1/2 transition-all duration-200 hover:scale-110 active:scale-95',
|
||||
isContainerHovered ? 'opacity-100' : 'pointer-events-none opacity-0',
|
||||
)}
|
||||
aria-label={localize('com_ui_scroll_left')}
|
||||
>
|
||||
<ChevronLeft className="h-5 w-5" />
|
||||
|
|
@ -137,12 +137,12 @@ const UIResourceCarousel: React.FC<UIResourceCarouselProps> = React.memo(({ uiRe
|
|||
|
||||
{showRightArrow && (
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
variant="carousel-nav"
|
||||
onClick={() => scroll('right')}
|
||||
className={`bg-surface-fixed text-text-fixed hover:bg-surface-fixed-hover hover:text-text-fixed absolute top-1/2 right-2 z-20 h-auto w-auto -translate-y-1/2 rounded-xl p-2 shadow-lg transition-all duration-200 hover:scale-110 hover:shadow-xl active:scale-95 ${
|
||||
isContainerHovered ? 'opacity-100' : 'pointer-events-none opacity-0'
|
||||
}`}
|
||||
className={cn(
|
||||
'absolute top-1/2 right-2 z-20 -translate-y-1/2 transition-all duration-200 hover:scale-110 active:scale-95',
|
||||
isContainerHovered ? 'opacity-100' : 'pointer-events-none opacity-0',
|
||||
)}
|
||||
aria-label={localize('com_ui_scroll_right')}
|
||||
>
|
||||
<ChevronRight className="h-5 w-5" />
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ function WakeupTaskCard({
|
|||
)}
|
||||
</div>
|
||||
{hasResult && (
|
||||
<div className="markdown prose prose-sm message-content light dark:prose-invert text-text-primary mt-2 max-h-96 w-full max-w-none overflow-y-auto pr-1 break-words">
|
||||
<div className="markdown prose prose-sm message-content light text-text-primary mt-2 max-h-96 w-full max-w-none overflow-y-auto pr-1 break-words">
|
||||
<MarkdownLite content={task.result} codeExecution={false} />
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ export default function WebSearch({
|
|||
<Button
|
||||
variant="disclosure"
|
||||
className={cn(
|
||||
'tool-status-text group/disclosure text-text-secondary h-5 min-w-0 justify-start rounded-full p-0 font-normal',
|
||||
'tool-status-text group/disclosure text-text-secondary h-5 min-w-0 rounded-full font-normal',
|
||||
/** This row is a status line, not a padded control: the shared
|
||||
* recipe's color transition would turn its hover into a fade,
|
||||
* and the chevron reveal beside it is deliberately instant. */
|
||||
|
|
@ -292,10 +292,10 @@ export default function WebSearch({
|
|||
hover-card reveal and the icon geometry stay local. */}
|
||||
<HoverCardTrigger asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
size="icon"
|
||||
className={cn(
|
||||
'text-text-secondary ml-auto size-auto cursor-help rounded-md p-1 opacity-0',
|
||||
'ml-auto size-auto cursor-help rounded-md p-1 opacity-0',
|
||||
'group-focus-within/websearch:opacity-100 group-hover/websearch:opacity-100',
|
||||
'focus-visible:opacity-100',
|
||||
)}
|
||||
|
|
@ -311,7 +311,7 @@ export default function WebSearch({
|
|||
<div className="max-h-[60vh] space-y-2 overflow-y-auto">
|
||||
{query && (
|
||||
<div>
|
||||
<div className="text-text-secondary text-[10px] font-medium tracking-wide uppercase">
|
||||
<div className="text-text-secondary text-3xs font-medium tracking-wide uppercase">
|
||||
{localize('com_ui_search_query')}
|
||||
</div>
|
||||
<div className="text-text-primary mt-0.5 text-sm">{query}</div>
|
||||
|
|
@ -379,15 +379,15 @@ export default function WebSearch({
|
|||
{source.title || domain}
|
||||
</span>
|
||||
{snippet && (
|
||||
<span className="text-text-secondary mt-0.5 line-clamp-2 block text-[11px] leading-relaxed">
|
||||
<span className="text-text-secondary text-2xs mt-0.5 line-clamp-2 block leading-relaxed">
|
||||
{snippet}
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
<span className="shrink-0 text-right">
|
||||
<span className="text-text-secondary block text-[11px]">{domain}</span>
|
||||
<span className="text-text-secondary text-2xs block">{domain}</span>
|
||||
{source.date && (
|
||||
<span className="text-text-secondary block text-[10px]">
|
||||
<span className="text-text-secondary text-3xs block">
|
||||
{source.date}
|
||||
</span>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ function RatingBadge({ rating, ratingCount }: { rating?: number; ratingCount?: n
|
|||
return null;
|
||||
}
|
||||
return (
|
||||
<span className="text-text-secondary flex items-center gap-1 text-[11px]">
|
||||
<span className="text-text-secondary text-2xs flex items-center gap-1">
|
||||
<Star className="size-3 fill-current" aria-hidden="true" />
|
||||
{rating}
|
||||
{ratingCount != null && <span className="text-text-secondary">({ratingCount})</span>}
|
||||
|
|
@ -173,14 +173,12 @@ function ShoppingStrip({ items, label }: { items: ShoppingResult[]; label: strin
|
|||
{item.title}
|
||||
</span>
|
||||
{(item.price || item.source) && (
|
||||
<span className="text-text-secondary mt-0.5 block truncate text-[11px]">
|
||||
<span className="text-text-secondary text-2xs mt-0.5 block truncate">
|
||||
{[item.price, item.source].filter(Boolean).join(' · ')}
|
||||
</span>
|
||||
)}
|
||||
{item.delivery && (
|
||||
<span className="text-text-secondary block truncate text-[11px]">
|
||||
{item.delivery}
|
||||
</span>
|
||||
<span className="text-text-secondary text-2xs block truncate">{item.delivery}</span>
|
||||
)}
|
||||
<span className="mt-0.5 block">
|
||||
<RatingBadge rating={item.rating} ratingCount={item.ratingCount} />
|
||||
|
|
@ -217,7 +215,7 @@ function PlaceList({ places, label }: { places: PlaceResult[]; label: string })
|
|||
{place.name}
|
||||
</span>
|
||||
{(place.category || place.address) && (
|
||||
<span className="text-text-secondary block truncate text-[11px]">
|
||||
<span className="text-text-secondary text-2xs block truncate">
|
||||
{[place.category, place.address].filter(Boolean).join(' · ')}
|
||||
</span>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ function FeedbackOptionButton({
|
|||
|
||||
return (
|
||||
<Button
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
className={cn(
|
||||
'text-text-secondary hover:bg-surface-hover hover:text-text-primary h-auto w-full justify-start gap-3 rounded-xl p-2 transition-colors duration-200',
|
||||
'h-auto w-full justify-start gap-3 rounded-xl p-2 transition-colors duration-200',
|
||||
active && 'bg-surface-hover text-text-primary font-semibold',
|
||||
)}
|
||||
onClick={onClick}
|
||||
|
|
|
|||
|
|
@ -171,7 +171,8 @@ const CheckboxOption: React.FC<CheckboxOptionProps> = ({
|
|||
/>
|
||||
<Label
|
||||
htmlFor={id}
|
||||
className="text-text-secondary hover:text-text-primary ml-2 w-auto cursor-pointer text-sm break-normal select-none"
|
||||
variant="secondary"
|
||||
className="hover:text-text-primary ml-2 w-auto cursor-pointer text-sm break-normal select-none"
|
||||
>
|
||||
{localize(labelKey)}
|
||||
</Label>
|
||||
|
|
@ -354,12 +355,8 @@ function Fork({
|
|||
<Ariakit.Popover
|
||||
store={popoverStore}
|
||||
gutter={10}
|
||||
className={`popover-animate ${isActive ? 'open' : ''} border-border-medium bg-surface-secondary rounded-theme-popover flex w-[min(15rem,90vw)] flex-col gap-3 overflow-hidden border p-2 px-4 shadow-lg`}
|
||||
style={{
|
||||
outline: 'none',
|
||||
pointerEvents: 'auto',
|
||||
zIndex: 50,
|
||||
}}
|
||||
className={`popover-animate ${isActive ? 'open' : ''} border-border-medium bg-surface-secondary rounded-theme-popover pointer-events-auto flex w-[min(15rem,90vw)] flex-col gap-3 overflow-hidden border p-2 px-4 shadow-lg outline-none`}
|
||||
style={{ zIndex: 50 }}
|
||||
portal={true}
|
||||
unmountOnHide={true}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1651,8 +1651,7 @@ function MessageNav({ scrollableRef }: { scrollableRef: React.RefObject<HTMLDivE
|
|||
onKeyDown={handleColumnKeyDown}
|
||||
onScroll={handleColumnScroll}
|
||||
data-message-nav-column=""
|
||||
className="relative flex min-h-0 w-14 cursor-pointer touch-none flex-col items-stretch gap-1.5 overflow-y-auto select-none [&::-webkit-scrollbar]:hidden"
|
||||
style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }}
|
||||
className="hide-scrollbar relative flex min-h-0 w-14 cursor-pointer touch-none flex-col items-stretch gap-1.5 overflow-y-auto select-none [&::-webkit-scrollbar]:hidden"
|
||||
>
|
||||
{messageEntries.map((entry) => {
|
||||
const label = localize(
|
||||
|
|
@ -1711,13 +1710,12 @@ function MessageNav({ scrollableRef }: { scrollableRef: React.RefObject<HTMLDivE
|
|||
ref={tipElRef}
|
||||
role="tooltip"
|
||||
style={{
|
||||
position: 'fixed',
|
||||
top: tip.top,
|
||||
right: tip.right,
|
||||
transform: 'translateY(-50%)',
|
||||
zIndex: 999,
|
||||
}}
|
||||
className="border-border-light bg-surface-secondary text-text-secondary pointer-events-none max-w-[17.5rem] rounded-xl border px-3 py-2 shadow-lg"
|
||||
className="border-border-light bg-surface-secondary text-text-secondary pointer-events-none fixed max-w-[17.5rem] rounded-xl border px-3 py-2 shadow-lg"
|
||||
>
|
||||
<p className="line-clamp-3 text-xs">{tipText}</p>
|
||||
</div>,
|
||||
|
|
|
|||
|
|
@ -136,12 +136,11 @@ function MessagesViewContent({
|
|||
<div className="relative flex-1 overflow-hidden overflow-y-auto">
|
||||
<div className="relative h-full">
|
||||
<div
|
||||
className="scrollbar-gutter-stable"
|
||||
className="scrollbar-gutter-stable overflow-y-auto"
|
||||
onScroll={debouncedHandleScroll}
|
||||
ref={scrollableRef}
|
||||
style={{
|
||||
height: '100%',
|
||||
overflowY: 'auto',
|
||||
width: '100%',
|
||||
/** The mount hook pins the anchor row itself (document-space
|
||||
* measurement); native scroll anchoring reacting to the same
|
||||
|
|
|
|||
|
|
@ -41,19 +41,13 @@ export default function MinimalHoverButtons({ message, searchResults, variant }:
|
|||
}
|
||||
render={
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
variant="message-action"
|
||||
aria-label={
|
||||
isCopied
|
||||
? localize('com_ui_copied_to_clipboard')
|
||||
: localize('com_ui_copy_to_clipboard')
|
||||
}
|
||||
className={cn(
|
||||
'text-text-secondary-alt ml-0 flex size-auto items-center gap-1.5 p-1.5 text-xs',
|
||||
'hover:bg-surface-hover hover:text-text-primary',
|
||||
'focus-visible:ring-text-primary focus-visible:ring-2',
|
||||
revealOnRowHoverClasses,
|
||||
)}
|
||||
className={cn('ml-0 flex items-center gap-1.5 text-xs', revealOnRowHoverClasses)}
|
||||
disabled={!canCopy}
|
||||
onClick={() => copyToClipboard(setIsCopied)}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@ const MinimalMessages = React.forwardRef(
|
|||
<div className="relative h-full">
|
||||
<div
|
||||
ref={ref}
|
||||
className="overflow-y-auto"
|
||||
style={{
|
||||
height: '100%',
|
||||
overflowY: 'auto',
|
||||
width: '100%',
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ export default function PendingTurn({
|
|||
<Container message={message}>
|
||||
<div
|
||||
className={cn(
|
||||
'markdown prose message-content dark:prose-invert light text-text-primary w-full break-words',
|
||||
'markdown prose message-content light text-text-primary w-full break-words',
|
||||
!enableUserMsgMarkdown && 'whitespace-pre-wrap',
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -31,10 +31,8 @@ export default function SiblingSwitch({
|
|||
};
|
||||
|
||||
const buttonStyle = cn(
|
||||
'hover-button h-auto p-1.5 text-text-secondary-alt',
|
||||
'hover:text-text-primary hover:bg-surface-hover',
|
||||
'hover-button',
|
||||
'group-hover:visible group-focus-visible:visible group-has-[:focus-visible:not(:is(input,textarea,[contenteditable]))]:visible group-[.final-completion]:visible',
|
||||
'focus-visible:ring-2 focus-visible:ring-text-primary',
|
||||
);
|
||||
|
||||
return siblingCount > 1 ? (
|
||||
|
|
@ -46,7 +44,7 @@ export default function SiblingSwitch({
|
|||
aria-label={localize('com_ui_sibling_navigation')}
|
||||
>
|
||||
<Button
|
||||
variant="ghost"
|
||||
variant="message-action"
|
||||
className={buttonStyle}
|
||||
onClick={previous}
|
||||
disabled={siblingIdx == 0}
|
||||
|
|
@ -64,7 +62,7 @@ export default function SiblingSwitch({
|
|||
{siblingIdx + 1} / {siblingCount}
|
||||
</span>
|
||||
<Button
|
||||
variant="ghost"
|
||||
variant="message-action"
|
||||
className={buttonStyle}
|
||||
onClick={next}
|
||||
disabled={siblingIdx == siblingCount - 1}
|
||||
|
|
|
|||
|
|
@ -153,13 +153,13 @@ function EventSubagentRows({
|
|||
data-event-subagent-group={eventChildren[0]?.parentMessageId}
|
||||
>
|
||||
<Button
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
type="button"
|
||||
onClick={() => setExpanded((value) => !value)}
|
||||
aria-expanded={expanded}
|
||||
aria-controls={panelId}
|
||||
aria-label={`${localize('com_ui_subagent_activity')}: ${summary}`}
|
||||
className="text-text-secondary focus-visible:ring-ring-primary flex h-auto min-h-10 w-full items-center justify-start px-3 text-left focus-visible:ring-offset-0 focus-visible:ring-inset"
|
||||
className="focus-visible:ring-ring-primary flex h-auto min-h-10 w-full items-center justify-start px-3 text-left focus-visible:ring-offset-0 focus-visible:ring-inset"
|
||||
>
|
||||
<Bot size={15} className="shrink-0" aria-hidden="true" />
|
||||
<span className="min-w-0 flex-1 truncate text-sm font-medium">{summary}</span>
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ function SubagentPrompt({ prompt }: { prompt: string }) {
|
|||
expanded ? 'overflow-visible' : 'max-h-32 overflow-hidden',
|
||||
)}
|
||||
>
|
||||
<div className="markdown prose prose-sm message-content light dark:prose-invert text-text-primary w-full max-w-none break-words">
|
||||
<div className="markdown prose prose-sm message-content light text-text-primary w-full max-w-none break-words">
|
||||
<MarkdownLite content={prompt} codeExecution={false} />
|
||||
</div>
|
||||
{!expanded && (
|
||||
|
|
|
|||
|
|
@ -1666,11 +1666,11 @@ export default function SubagentThreadPanel({ selection }: { selection: ActiveSu
|
|||
key={action.key}
|
||||
type="button"
|
||||
size="icon"
|
||||
variant="ghost"
|
||||
variant="quiet"
|
||||
aria-label={action.label}
|
||||
disabled={action.disabled}
|
||||
onClick={action.onClick}
|
||||
className="text-text-secondary size-9 rounded-full"
|
||||
className="size-9 rounded-full"
|
||||
>
|
||||
{action.icon}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -1492,12 +1492,10 @@ html {
|
|||
}
|
||||
}
|
||||
|
||||
.avatar-stroke,
|
||||
.shadow-stroke {
|
||||
.avatar-stroke {
|
||||
position: relative;
|
||||
}
|
||||
.avatar-stroke:after,
|
||||
.shadow-stroke:after {
|
||||
.avatar-stroke:after {
|
||||
--tw-shadow: inset 0 0 0 1px rgb(var(--stroke-ink) / var(--stroke-ink-alpha));
|
||||
--tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);
|
||||
border-radius: 9999px;
|
||||
|
|
@ -1509,9 +1507,7 @@ html {
|
|||
top: 0;
|
||||
}
|
||||
.dark .avatar-stroke:after,
|
||||
.dark .shadow-stroke:after,
|
||||
.avatar-stroke:after,
|
||||
.shadow-stroke:after {
|
||||
.avatar-stroke:after {
|
||||
box-shadow:
|
||||
0 0 transparent,
|
||||
0 0 transparent,
|
||||
|
|
@ -1520,8 +1516,7 @@ html {
|
|||
var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent),
|
||||
var(--tw-shadow);
|
||||
}
|
||||
.dark .avatar-stroke:after,
|
||||
.dark .shadow-stroke:after {
|
||||
.dark .avatar-stroke:after {
|
||||
--tw-shadow: inset 0 0 0 1px rgb(var(--stroke-ink) / var(--stroke-ink-alpha));
|
||||
--tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -242,11 +242,8 @@
|
|||
}
|
||||
},
|
||||
"client/src/components/Chat/Landing.tsx": {
|
||||
"shadcn/no-raw-colors": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 16
|
||||
"count": 14
|
||||
},
|
||||
"shadcn/require-static-classes": {
|
||||
"count": 2
|
||||
|
|
@ -306,9 +303,6 @@
|
|||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/AgentHandoff.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
},
|
||||
|
|
@ -332,9 +326,6 @@
|
|||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 5
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/EditContentParts.tsx": {
|
||||
|
|
@ -368,25 +359,19 @@
|
|||
"client/src/components/Chat/Messages/Content/MessageContent.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 2
|
||||
},
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/ArtifactRow.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 10
|
||||
"count": 7
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 9
|
||||
"count": 5
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 3
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx": {
|
||||
|
|
@ -396,23 +381,10 @@
|
|||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/CollapsibleText.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 3
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/DiffView.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/EmptyText.tsx": {
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
|
|
@ -422,26 +394,11 @@
|
|||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/LogContent.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/PendingSkillCall.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/PtcToolTrace.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/ReadFileCall.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
|
|
@ -456,18 +413,10 @@
|
|||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/SteerPart.tsx": {
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/Summary.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
|
|
@ -476,53 +425,30 @@
|
|||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 16
|
||||
"count": 9
|
||||
},
|
||||
"shadcn/require-static-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/Text.tsx": {
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/Thinking.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/ToolMermaidArtifact.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Parts/WorkspaceChanges.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 6
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/ProgressText.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 2
|
||||
"count": 5
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/RetrievalCall.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 2
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/SearchContent.tsx": {
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/ToolApproval.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 26
|
||||
|
|
@ -548,12 +474,12 @@
|
|||
},
|
||||
"client/src/components/Chat/Messages/Content/ToolCallLimitNotice.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 3
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 5
|
||||
"count": 4
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx": {
|
||||
|
|
@ -566,7 +492,7 @@
|
|||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 24
|
||||
"count": 8
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/Wakeup.tsx": {
|
||||
|
|
@ -576,22 +502,16 @@
|
|||
"shadcn/no-restyle": {
|
||||
"count": 2
|
||||
},
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/require-static-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/WebSearch.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 4
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 14
|
||||
"count": 12
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/animate.tsx": {
|
||||
|
|
@ -600,27 +520,21 @@
|
|||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Content/verticals.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 4
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Feedback.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 14
|
||||
"count": 11
|
||||
},
|
||||
"shadcn/require-static-classes": {
|
||||
"count": 3
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/Fork.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 2
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 5
|
||||
"count": 4
|
||||
},
|
||||
"shadcn/require-static-classes": {
|
||||
"count": 1
|
||||
|
|
@ -634,37 +548,24 @@
|
|||
"client/src/components/Chat/Messages/MessageNav.tsx": {
|
||||
"shadcn/no-arbitrary-values": {
|
||||
"count": 1
|
||||
},
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 3
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/MessagesView.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 2
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/MinimalHoverButtons.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 8
|
||||
"count": 2
|
||||
},
|
||||
"shadcn/require-static-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/MinimalMessages.tsx": {
|
||||
"shadcn/no-inline-styles": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/PendingTurn.tsx": {
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/SiblingSwitch.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 14
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Messages/styles.ts": {
|
||||
|
|
@ -697,7 +598,7 @@
|
|||
"count": 1
|
||||
},
|
||||
"shadcn/no-restyle": {
|
||||
"count": 5
|
||||
"count": 4
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Subagents/SharedSubagentActivityDialog.tsx": {
|
||||
|
|
@ -708,9 +609,6 @@
|
|||
"client/src/components/Chat/Subagents/SubagentActivity.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 12
|
||||
},
|
||||
"shadcn/no-unknown-classes": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Subagents/SubagentConversation.tsx": {
|
||||
|
|
@ -723,7 +621,7 @@
|
|||
},
|
||||
"client/src/components/Chat/Subagents/SubagentThreadPanel.tsx": {
|
||||
"shadcn/no-restyle": {
|
||||
"count": 8
|
||||
"count": 7
|
||||
}
|
||||
},
|
||||
"client/src/components/Chat/Trace/Button.tsx": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue