Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added conversation support #11

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Added conversation support #11

wants to merge 5 commits into from

Conversation

o-stahl
Copy link

@o-stahl o-stahl commented May 6, 2024

Overview

This pull request introduces significant enhancements to the app, focusing on both backend storage and frontend user interface improvements.

Key Changes

  • Conversation History Storage: Implemented persistent storage for conversation histories using IndexedDB, facilitated by localforage to handle the database interactions seamlessly. This ensures that users can retain their chat histories across sessions, enhancing usability and engagement.
  • UI/UX Enhancements: Added new UI components, including a sidebar and a dedicated conversations component, which improve the overall layout and make the application more intuitive and accessible to users.

Details

  • The IndexedDB implementation uses localforage for a straightforward and robust approach to asynchronous data storage in the browser.
  • UI updates include a new sidebar for better navigation and a conversations panel that enhances the chat interface, making it more engaging and easier to use.
  • These changes were designed to be integrated without disrupting the existing functionalities in a major way.

src/App.tsx Outdated Show resolved Hide resolved
src/components/MessageList.tsx Show resolved Hide resolved
src/components/ModelsDropdown.tsx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants