Skip to content

Fix: no new chat - if it there is already one #137

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

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

Conversation

pd95
Copy link
Contributor

@pd95 pd95 commented Mar 14, 2025

This PR adds improvements when creating the initial "New Chat" chat whenever the app starts up.

  • The chat is only created after the list of chats has been load
  • The new chat is only created if there has not been one found in the current list of chats.
  • Not only the name of the chant ("New Chat") is relevant, but also that it does not contain any messages.
  • When "New Chat" is called (CMD+N) multiple times, the same chat is reused if it does not contain any messages.

@pd95
Copy link
Contributor Author

pd95 commented Mar 14, 2025

@kevinhermawan : It seems that you started a refactoring again... so probably its better to pull back my PR. Or do you think you will merge it before your refactoring?

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.

1 participant