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

fix: Remove tab completion caching of source #4893

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

dnsge
Copy link
Contributor

@dnsge dnsge commented Oct 13, 2023

Description

We were being a little too clever and trying to cache the emote source for later reuse. Unfortunately, when a new user chats for the first time, their username would not be included in the available completion list until they type something else before attempting a completion again.

The same goes for emotes added via the EventAPI.

Fixes #4878
Fixes #4892

@dnsge dnsge marked this pull request as ready for review October 13, 2023 03:09
@Felanbird
Copy link
Collaborator

image

he meant to comment on this PR

Copy link
Collaborator

@Felanbird Felanbird left a comment

Choose a reason for hiding this comment

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

had someone toggle a 7tv emote for me, and an old version I had did have a problem removing it from the tab completion, this PR does not have that problem

username tab completion also seems to be fixed, I tested in a similar way as I reported, but not absolutely perfectly as moonmoon is live and idk who else's offline chat is that correct level of active, but it seemed correct

@pajlada pajlada enabled auto-merge (squash) October 13, 2023 09:24
@pajlada pajlada merged commit b85d666 into Chatterino:master Oct 13, 2023
15 checks passed
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.

EventAPI no longer refreshes tabbable emotes Unable to tabcomplete user names without an @ v2
3 participants