feature: add new playground ui (#4193)
* create newmodal.tsx * Add new icons to styleUtils.ts * Refactor import path for IOModal in chatComponent/index.tsx * Refactor import path for IOModal in chatComponent/index.tsx * Refactor session selector UI in IOFieldView component * Refactor NodeToolbarComponent to add a minimum width to SelectContent * Refactor IOModal to use newChatView component for ChatView * improve html structure to ensure aligment of texts * Refactor IOModal to improve sidebar behavior and alignment * add new input * Add Image icon to nodeIconsLucide in styleUtils.ts * Refactor uploadFileButton to use Image icon instead of PaperclipIcon * Refactor chat input layout for improved alignment and behavior * Refactor buttonSendWrapper component to show a "Stop" button with loading indicator * add a new TextAreaWrapper component * add icons and update colors * Add CornerDownLeft icon to nodeIconsLucide in styleUtils.ts * Refactor buttonSendWrapper component to use default button state * create newFilePreview * Refactor file preview component and update button styling * Refactor file preview component and update button styling * fix overflow bug * Refactor ChatView component to include a lockChat feature and display a flow running message * [autofix.ci] apply automated fixes * Refactor ChatView component to fix padding issue * [autofix.ci] apply automated fixes * Refactor dependencies in uv.lock to use a more specific version specifier for astra-assistants package * Refactor ChatView component to import newChatMessage instead of chatMessage * Refactor IOModal newModal component to conditionally display the session name * Refactor TextAreaWrapper component to update placeholder text and fix padding issue * Refactor TextAreaWrapper component to update placeholder text and fix padding issue * Refactor ChatView component to update lockChat UI and display flow running message * Refactor ChatView component to update lockChat UI and display flow running message * Refactor ChatMessage component to update sender name UI and fix message width issue * Refactor EditMessageButton component to update button UI and add tooltips * Refactor EditMessageButton component to update button UI and add tooltips * Refactor EditMessageField component to update UI and add functionality * update edit message field * fix group reference * Refactor CodeTabsComponent to update UI, add functionality, and improve code structure * Refactor CodeTabsComponent to update UI and improve code structure * Refactor CodeTabsComponent to simplify and improve UI * [autofix.ci] apply automated fixes * Refactor ChatView component to fix UI layout issue * fix overflow code boundaries problems * Refactor CSS to update background color variables * Refactor ChatCodeTabComponent to update UI and improve code structure * fix broken rebase changes * [autofix.ci] apply automated fixes * Refactor EditMessageButton component to remove delete functionality * Refactor SessionSelector component to update UI and improve code structure * Refactor SessionSelector component to update UI and improve code structure * [autofix.ci] apply automated fixes * refactor session selector to use old code and keep updates on newSessionSelector * create new button send wrapper * restore old button send wrapper and update imports * restore upload file button and create new UploadFileButton * [autofix.ci] apply automated fixes * Add feature flag for new IO modal * Refactor IOModal imports to support feature flag * update package-lock.json * [autofix.ci] apply automated fixes * remove console.log * Refactor session selector event handlers * Refactor file deletion in ChatInput component * [autofix.ci] apply automated fixes * Refactor file handling in ChatInput component * [autofix.ci] apply automated fixes * add user icon to messages * feat: Add "Run Flow" button to ChatInput component This commit adds a new button labeled "Run Flow" to the ChatInput component. When clicked, it triggers the sendMessage function with a repeat value of 1. Additionally, if there is no input in the chat, a message is displayed prompting the user to add a Chat Input component to their flow. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
21bdad0ffb
commit
4bb4f02e5b
28 changed files with 2226 additions and 12 deletions
1
src/frontend/package-lock.json
generated
1
src/frontend/package-lock.json
generated
|
|
@ -923,6 +923,7 @@
|
|||
},
|
||||
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
|
||||
"version": "1.3.0",
|
||||
"extraneous": true,
|
||||
"inBundle": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue