Pre-MCP UI and architecture cleanup (#19685)

* webui: extract non-MCP changes from mcp-mvp review split

* webui: extract additional pre-MCP UI and architecture cleanup

* chore: update webui build output
This commit is contained in:
Aleksander Grygier 2026-02-17 13:47:45 +01:00 committed by GitHub
parent ae2d3f28a8
commit afa6bfe4f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 108 additions and 56 deletions

View file

@ -44,8 +44,7 @@
<Story
name="Default"
args={{ class: 'max-w-[56rem] w-[calc(100vw-2rem)]' }}
play={async (context) => {
const { canvas, userEvent } = context;
play={async ({ canvas, userEvent }) => {
const textarea = await canvas.findByRole('textbox');
const submitButton = await canvas.findByRole('button', { name: 'Send' });
@ -75,8 +74,7 @@
class: 'max-w-[56rem] w-[calc(100vw-2rem)]',
uploadedFiles: fileAttachments
}}
play={async (context) => {
const { canvas } = context;
play={async ({ canvas }) => {
const jpgAttachment = canvas.getByAltText('1.jpg');
const svgAttachment = canvas.getByAltText('hf-logo.svg');
const pdfFileExtension = canvas.getByText('PDF');