Skip to content

Remove the need for stateflow for conversation list#1776

Merged
SessionHero01 merged 2 commits intodevfrom
remove-initial-convo-list
Dec 15, 2025
Merged

Remove the need for stateflow for conversation list#1776
SessionHero01 merged 2 commits intodevfrom
remove-initial-convo-list

Conversation

@SessionHero01
Copy link
Collaborator

This PR:

  1. Removes the need for a StateFlow in ConversationRepository: as StateFlow requires an initial value which must be fetched on the calling thread (main thread most likely).
  2. Separates DefaultConversationRepository out into a separate file.

executor.execute {
val timer =
Stopwatch("FtsQuery")
val timer = Stopwatch("FtsQuery")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this stopwatch code? Wasn't it just for testing purposes?
Maybe the StopWatch class can be even be deleted?

@SessionHero01 SessionHero01 merged commit 9cbfbf5 into dev Dec 15, 2025
4 checks passed
@SessionHero01 SessionHero01 deleted the remove-initial-convo-list branch December 15, 2025 00:25
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