From ee2056a1598bba8f3ae57f68cdd6657fdd572403 Mon Sep 17 00:00:00 2001 From: seb Date: Wed, 7 Oct 2026 14:01:34 +0200 Subject: [PATCH] u --- src/components/chat/ChatDrawer.jsx | 58 ++++++++++++++-------------- src/components/tiles/ArticleTile.jsx | 58 ++++++++++++++++++---------- 2 files changed, 65 insertions(+), 51 deletions(-) diff --git a/src/components/chat/ChatDrawer.jsx b/src/components/chat/ChatDrawer.jsx index bda050e..3e5ba77 100644 --- a/src/components/chat/ChatDrawer.jsx +++ b/src/components/chat/ChatDrawer.jsx @@ -893,27 +893,25 @@ export default class ChatDrawer extends PureComponent { )} - - vfsAutomat.actions.toggleVfs()} - aria-label="Dateien" - sx={{ - p: 0.5, - color: isVfsOpen ? 'primary.main' : 'text.secondary', - bgcolor: isVfsOpen ? 'action.selected' : 'transparent', - borderRadius: 1.5, - border: '1px solid', - borderColor: isVfsOpen ? 'primary.main' : 'transparent', - '&:hover': { - color: 'primary.main', - bgcolor: 'action.hover', - }, - }} - > - - - + vfsAutomat.actions.toggleVfs()} + aria-label="Dateien" + sx={{ + p: 0.5, + color: isVfsOpen ? 'primary.main' : 'text.secondary', + bgcolor: isVfsOpen ? 'action.selected' : 'transparent', + borderRadius: 1.5, + border: '1px solid', + borderColor: isVfsOpen ? 'primary.main' : 'transparent', + '&:hover': { + color: 'primary.main', + bgcolor: 'action.hover', + }, + }} + > + + @@ -1070,15 +1068,15 @@ export default class ChatDrawer extends PureComponent { messages={ streamingText && (!this.state.activeTurns || this.state.activeTurns.length === 0) ? [ - ...messages, - { - id: 'streaming', - conversation_id: selectedConversationId, - role: 'assistant', - message: streamingText, - streaming: true, - }, - ] + ...messages, + { + id: 'streaming', + conversation_id: selectedConversationId, + role: 'assistant', + message: streamingText, + streaming: true, + }, + ] : messages } activeTurns={this.state.activeTurns} diff --git a/src/components/tiles/ArticleTile.jsx b/src/components/tiles/ArticleTile.jsx index cdea611..f887983 100644 --- a/src/components/tiles/ArticleTile.jsx +++ b/src/components/tiles/ArticleTile.jsx @@ -17,11 +17,12 @@ import { BrandLabel } from '../brand'; import { thumb } from '../../api'; import { GREEN_BRIGHT, + ICE, INK_STRONG, SCRIM_LABEL, SCRIM_TILE, TEXT_GLOW_DARK, - TEXT_GLOW_LIGHT, + VEIL_MUTED, WHITE, } from '../../colors'; @@ -410,7 +411,6 @@ export class ArticleTile extends Tile { {/* Row 1: Brand */} ) : null} - {/* Rows 2 & 3: Name */} - - {label || article?.name?.trim() || '\u00A0'} - + + {label || article?.name?.trim() || '\u00A0'} + + {/* Row 4: SKU */}