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

Auto-collapse Chat Summary banner after bannerTimeoutMs #153

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

FlaminSarge
Copy link
Contributor

@FlaminSarge FlaminSarge commented Dec 17, 2024

YouTube by default will dismiss the Chat Summary banner after bannerTimeoutMs (usually 12 seconds). Hyperchat currently does not dismiss the banner at all.
This change picks up YT's behavior, but instead of dismissing the banner, just collapses it.
The timer for collapsing the banner is cancelled if the banner gets manually collapsed.

This also changes summary.showtime from seconds to milliseconds.

Tested in mv3 on chrome, assuming ffox will work fine on master.

@KentoNishi KentoNishi merged commit d1909e0 into LiveTL:master Dec 22, 2024
@FlaminSarge FlaminSarge deleted the autocollapse branch December 23, 2024 03:29
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