feat: Optimistically render conversation items before subscription confirms#1209
Merged
charlesvien merged 3 commits intomainfrom Mar 12, 2026
Conversation
This was referenced Mar 12, 2026
Member
Author
37db874 to
56cb033
Compare
454610f to
400d3be
Compare
56cb033 to
1f06978
Compare
400d3be to
96726e1
Compare
This was referenced Mar 12, 2026
96726e1 to
7da2a2f
Compare
1f06978 to
95ce1d6
Compare
jonathanlab
approved these changes
Mar 12, 2026
95ce1d6 to
50cbe1b
Compare
7da2a2f to
d609a72
Compare
50cbe1b to
9ffddf2
Compare
d609a72 to
b70662f
Compare
9ffddf2 to
48fc317
Compare
a53d651 to
e94f8ea
Compare
e94f8ea to
69f1a0d
Compare
a86cb2b to
f6ebf31
Compare
6643282 to
8256e27
Compare
34012b7 to
a825685
Compare
8256e27 to
8b45b78
Compare
a825685 to
a265287
Compare
37ba258 to
96644b5
Compare
a265287 to
e19656c
Compare
Member
Author
Merge activity
|
96644b5 to
da1b51b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a generic optimisticItems mechanism to the session store so any conversation item type can be displayed immediately before the real event arrives from the main process. Currently used for user messages, but the OptimisticItem union is designed to be extended for future use cases.