Commit graph

77 commits

Author SHA1 Message Date
Lucas Oliveira
3d53edeaf7 fixed design of chat 2025-10-27 11:21:09 -03:00
Mike Fortman
64ae8211d3
Merge pull request #303 from langflow-ai/chat-input-files
Update chat input to support file uploads along side a message
2025-10-27 08:53:25 -05:00
Mike Fortman
f4a9a304fc Update branding 2025-10-24 16:27:39 -05:00
Mike Fortman
76993eea68 support file upload w/o a messasge 2025-10-24 15:20:46 -05:00
Mike Fortman
e3e6432d37 response id fix 2025-10-24 15:13:21 -05:00
Mike Fortman
1a084767da Update chat input 2025-10-24 12:43:20 -05:00
phact
5ccd745da1 fix reatc warning 2025-10-24 04:28:40 -04:00
phact
de413c880a don't ingest onboarding doc for now 2025-10-24 04:12:14 -04:00
Sebastián Estévez
3dc0d5d35d
Merge pull request #292 from langflow-ai/fix/chat-input-design
fix: makes chat input design, adds context files the right way
2025-10-24 02:34:57 -04:00
phact
0448618fd5 hide toggles unless explicitly enabled 2025-10-24 02:22:35 -04:00
phact
1d53ce26d2 only hit /nudges after onboarding 2025-10-24 02:14:02 -04:00
Lucas Oliveira
b56cf0deb4 changed design for chat input 2025-10-23 18:31:15 -03:00
Lucas Oliveira
6065037c72 Changed page to add files by regex and hide messages 2025-10-23 18:30:21 -03: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
Mike Fortman
5c747977cc Add dog icon and env ff 2025-10-14 17:38:59 -05:00
Mike Fortman
f51890a90f break up chat and onboarding components 2025-10-14 16:32:40 -05:00
Deon Sanchez
2a363666a0 Merge branch 'main' of https://github.com/langflow-ai/openrag into page-style-alignment 2025-10-06 14:21:14 -06:00
Deon Sanchez
1dc0a370f1 fixed spacing and flex 2025-10-06 12:49:39 -06:00
Deon Sanchez
dc5975cb3a Merge branch 'main' of https://github.com/langflow-ai/openrag into page-style-alignment 2025-10-06 10:57:09 -06:00
Cole Goldsmith
85de6c8026 sweeeeeeeep 2025-10-03 15:56:08 -05:00
Mike Fortman
9c081ed06d Merge branch 'main' of github.com:langflow-ai/openrag into docling-req 2025-10-03 13:19:15 -05:00
Deon Sanchez
5b78cac7cb refactor: update component styles and improve layout
- Adjusted button height in KnowledgeDropdown for better consistency.
- Modified margin and padding in KnowledgeFilterList for improved spacing.
- Refined message handling in ChatPage for cleaner code and better readability.
- Enhanced layout structure in KnowledgeSourcesPage and LayoutWrapper for better responsiveness and alignment.
- Updated various components to use consistent arrow function syntax for state updates.
2025-10-03 10:41:36 -06:00
Lucas Oliveira
d258841ce9
fix: functional changes at the filter menu (#177)
* changed div to popover

* made filter popover appear at @ place

* make at position not reset

* removed unused handler

* refactor handlers

* updated blue circle to check

* update empty message

* changed filter behavior and design

* make button focus

* fixed textarea scrolling
2025-10-02 18:10:44 -03:00
Lucas Oliveira
3347181615
fix: make avatar not selectable, disable file drop on chat (#132)
* Disable drag and drop on chat page

* Disable selection on avatar

* disable draggable on image
2025-10-01 16:49:47 -03:00
Lucas Oliveira
26023ab244
fix: truncate text on @ filter selector on chat (#133)
* Added truncation on name and description for knowledge filters

* fixed selected filter not truncating right
2025-10-01 16:48:57 -03:00
Cole Goldsmith
60cb732ce2 make filter icon required 2025-09-30 13:29:43 -05:00
Cole Goldsmith
ef98a5a826 change color of filter in chat 2025-09-30 12:02:00 -05:00
Mike Fortman
ba22091f31 add banner for docling serve 2025-09-26 16:44:15 -05:00
Lucas Oliveira
ba09e58fde Implemented markdown renderer on chat page 2025-09-11 16:44:41 -03:00
cristhianzl
2714f89c81 (frontend): Add zustand library for managing loading state in the application
🔧 (frontend): Refactor navigation.tsx to improve code readability and maintainability
2025-09-09 21:40:35 -03:00
Lucas Oliveira
d6bf6444e5 Merge remote-tracking branch 'origin/main' into feat/nudges 2025-09-08 16:25:59 -03:00
Edwin Jose
5172cf9069 eslint fix 2025-09-08 10:35:33 -04:00
Lucas Oliveira
01b10d403a Create cancelNudges, to remove the query result when sending a message 2025-09-05 17:00:52 -03:00
cristhianzl
f83851b259 (frontend): refactor message processing in ChatPage component to handle function calls from chunks or response_data
♻️ (agent.py): refactor async_response, async_langflow, async_chat, async_langflow_chat, and async_langflow_chat_stream functions to return full response object for function calls
🔧 (chat_service.py): update ChatService to include function call data in message_data if present
2025-09-05 16:53:02 -03:00
Lucas Oliveira
06b3850057 Componentize message send, and send message when clicking nudges 2025-09-05 10:20:17 -03:00
Lucas Oliveira
047fb305c6 Add react query provider to app 2025-09-04 18:16:28 -03:00
cristhianzl
6dcb65debd 📝 (frontend): Add new function 'refreshConversationsSilent' to update data without loading states
🚀 (frontend): Implement support for process.env.PORT to run app on a configurable port
🔧 (frontend): Change port variable case from lowercase 'port' to uppercase 'PORT' for better semantics
📝 (frontend): Add comments to clarify the purpose of loading conversation data only when user explicitly selects a conversation
📝 (frontend): Add comments to explain the logic for loading conversation data based on certain conditions
📝 (frontend): Add comments to describe the purpose of handling new conversation creation and resetting messages
📝 (frontend): Add comments to explain the logic for loading conversation data when conversationData changes
📝 (frontend): Add comments to clarify the purpose of loading conversations from the backend
📝 (frontend): Add comments to describe the logic for silent refresh to update data without loading states
📝 (frontend): Add comments to explain the purpose of starting a new conversation and creating a placeholder conversation
📝 (frontend): Add comments to clarify the logic for forking from a response and starting a new conversation
📝 (frontend): Add comments to describe the purpose of adding a conversation document and clearing conversation documents
📝 (frontend): Add comments to explain the logic for using a timeout to debounce multiple rapid refresh calls
📝 (frontend): Add comments to clarify the purpose of cleaning up timeout on unmount
📝 (frontend): Add comments to describe the logic for handling new conversation creation and resetting state
📝 (frontend): Add comments to explain the logic for forking from a response and starting a new conversation
📝 (frontend): Add comments to clarify the purpose of using useMemo for optimizing performance in ChatProvider
📝 (frontend): Add comments to describe the logic for using useMemo in the ChatProvider component
📝 (frontend): Add comments to explain the purpose of the useChat custom hook
📝 (frontend): Add comments to clarify the error message when useChat is not used within a ChatProvider
📝 (services): Update ChatService to fetch Langflow history with flow_id parameter for better control
2025-09-04 15:36:41 -03:00
cristhianzl
9528e2f185 add chat history 2025-09-03 10:34:45 -03:00
copilot-swe-agent[bot]
38691c030d Fix ESLint errors: remove unused variable and add missing dependencies
Co-authored-by: phact <1313220+phact@users.noreply.github.com>
2025-08-30 13:32:09 +00:00
phact
de10c05eef fix: new chat history glitches 2025-08-29 16:50:20 -04:00
phact
629a98351b fix spacing bug 2025-08-22 12:40:15 -04:00
phact
a8a3c7b4ab for now hide the fork button in langflow mode 2025-08-22 09:47:37 -04:00
phact
97afd8f481 lint 2025-08-22 03:22:00 -04:00
phact
e11d631702 fix fork bug 2025-08-22 03:11:16 -04:00
phact
be61909bed in memory chat history and WIP conversation forking 2025-08-22 03:04:46 -04:00
phact
27eff64866 fix padding bug 2025-08-21 02:53:43 -04:00
phact
5de27335a3 lint 2025-08-21 02:48:17 -04:00
phact
c3b5b33f5c misc ux improvements 2025-08-21 02:32:28 -04:00
phact
03215ddf43 lint and build fixes 2025-08-20 11:26:05 -04:00
phact
f2b407b4c8 rename pages, improve knowledge and chat 2025-08-20 11:16:55 -04:00