Compare commits

...

4 Commits

Author SHA1 Message Date
Weves
c02515cd47 Cleanup welcome message 2025-10-09 20:04:09 -07:00
Weves
8f868cb2f8 Improve citation look 2025-10-09 18:01:50 -07:00
Weves
61427a51f3 Fix color of bullet points in main text chat 2025-10-09 17:58:02 -07:00
Weves
b45b74c084 Make profile icon a bit larger 2025-10-09 17:39:30 -07:00
5 changed files with 24 additions and 7 deletions

View File

@@ -31,9 +31,9 @@ export default function WelcomeMessage() {
{isDefaultAgent ? (
<div
data-testid="onyx-logo"
className="flex flex-col items-center gap-spacing-paragraph"
className="flex flex-row items-center gap-spacing-paragraph"
>
<Logo size="large" />
<Logo size="default" />
<Text headingH2>{greeting}</Text>
</div>
) : (

View File

@@ -79,6 +79,15 @@ export const useMarkdownComponents = (
b: ({ node, className, children }: any) => {
return <span className={className}>{children}</span>;
},
ul: ({ node, className, children }: any) => {
return <ul className={`text-text-05 ${className}`}>{children}</ul>;
},
ol: ({ node, className, children }: any) => {
return <ol className={`text-text-05 ${className}`}>{children}</ol>;
},
li: ({ node, className, children }: any) => {
return <li className={className}>{children}</li>;
},
code: ({ node, className, children }: any) => {
const codeText = extractCodeText(node, processedContent, children);

View File

@@ -93,7 +93,7 @@ export function Citation({
? question_info.openQuestion(question_info.question)
: null;
}}
className="inline-flex items-center cursor-pointer transition-all duration-200 ease-in-out mr-1"
className="inline-flex items-center cursor-pointer transition-all duration-200 ease-in-out ml-1"
>
<span
className="flex items-center justify-center p-spacing-inline h-4

View File

@@ -79,6 +79,7 @@ export interface NavigationTabProps {
popover?: React.ReactNode;
onPopoverChange?: (open: boolean) => void;
className?: string;
iconClassName?: string;
icon: React.FunctionComponent<SvgProps>;
renaming?: boolean;
setRenaming?: Dispatch<SetStateAction<boolean>>;
@@ -100,6 +101,7 @@ export default function NavigationTab({
popover,
onPopoverChange,
className,
iconClassName,
icon: Icon,
renaming,
setRenaming,
@@ -162,9 +164,14 @@ export default function NavigationTab({
folded ? "justify-center" : "justify-start"
)}
>
<div className="w-[1rem] h-[1rem]">
<div className={cn("w-[1rem]", "h-[1rem]", iconClassName)}>
<Icon
className={cn("h-[1rem] w-[1rem]", iconClasses(active)[variant])}
className={cn(
"h-[1rem]",
"w-[1rem]",
iconClasses(active)[variant],
iconClassName
)}
/>
</div>
{!folded &&

View File

@@ -198,11 +198,12 @@ export default function Settings({
<div className="flex flex-col w-full h-full" id="onyx-user-dropdown">
<NavigationTab
className="!w-full"
iconClassName="w-5 h-5"
icon={({ className }) => (
<Avatar
className={cn(
"flex items-center justify-center bg-background-neutral-inverted-00",
className
className,
"flex items-center justify-center bg-background-neutral-inverted-00"
)}
>
<Text inverted secondaryBody>