Commit graph

4 commits

Author SHA1 Message Date
Cole Goldsmith
173df0be99
add biome & format code (#403) 2025-11-14 13:45:32 -06:00
Lucas Oliveira
fcf7a302d0
feat: adds what is openrag prompt, refactors chat design, adds scroll to bottom on chat, adds streaming support (#283)
* Changed prompts to include info about OpenRAG, change status of As Dataframe and As Vector Store to false on OpenSearch component

* added markdown to onboarding step

* added className to markdown renderer

* changed onboarding step to not render span

* Added nudges to onboarding content

* Added onboarding style for nudges

* updated user message and assistant message designs

* updated route.ts to handle streaming messages

* created new useChatStreaming to handle streaming

* changed useChatStreaming to work with the chat page

* changed onboarding content to use default messages instead of onboarding steps, and to use the new hook to send messages

* added span to the markdown renderer on stream

* updated page to use new chat streaming hook

* disable animation on completed steps

* changed markdown renderer margins

* changed css to not display markdown links and texts on white always

* added isCompleted to assistant and user messages

* removed space between elements on onboarding step to ensure smoother animation

* removed opacity 50 on onboarding messages

* changed default api to be langflow on chat streaming

* added fade in and color transition

* added color transition

* Rendered onboarding with use-stick-to-bottom

* Added use stick to bottom on page

* fixed nudges design

* changed chat input design

* fixed nudges design

* made overflow be hidden on main

* Added overflow y auto on other pages

* Put animate on messages

* Add source to types

* Adds animate and delay props to messages
2025-10-22 14:03:23 -03:00
cristhianzl
c2fd140cac (knowledge-actions-dropdown.tsx): Add text-destructive class to improve styling of delete button in dropdown menu
📝 (markdown-renderer.tsx): Update MarkdownRenderer to open links in new tab and add support for code blocks with language specified
⬆️ (package.json): Upgrade react-markdown, rehype-mathjax, rehype-raw, and remark-gfm dependencies to latest versions. Add @types/react-syntax-highlighter dependency.
2025-09-18 15:10:55 -03:00
Lucas Oliveira
6036252976 Added code component and markdown renderer 2025-09-11 16:42:37 -03:00