chat-ui
2cee5c9a - Refactor event handling in Svelte components to use function props instead of event dispatchers

Commit
135 days ago
Refactor event handling in Svelte components to use function props instead of event dispatchers - Updated InfiniteScroll, LoginModal, Modal, NavConversationItem, NavMenu, OverloadedModal, Pagination, ShareConversationModal, SystemPromptModal, WelcomeModal, and various chat components to replace event dispatching with function props for better clarity and performance. - Changed event handling in chat components (ChatInput, ChatMessage, ChatWindow, etc.) to utilize function props for actions like message submission, retries, and showing alternate messages. - Adjusted routing and state management in layout and page components to align with the new event handling approach.
Author
Parents
Loading