Skip to content

fix: announce the server return only when it happens - #134

Merged
Priveetee merged 1 commit into
devfrom
fix/server-back-notice
Nov 20, 2026
Merged

Priveetee merged 1 commit into
devfrom
fix/server-back-notice

Conversation

@Priveetee

Copy link
Copy Markdown
Member

Fixes TypeType-Video/TypeType#427.

The notice turned the resume counter into an event: any notice mounted after an earlier recovery, such as the one inside a new player, showed "The server is back." again.

  • The store now records when the server came back (resumedAt), and the notice shows only during the three seconds after that moment.
  • Only the page notice announces the return. The player notice keeps the outage and restart messages, so the two never show together.

Checked in Chromium through a proxy that cuts the server event stream: before, the message came back when a video opened later; now it shows when the server returns and not again.

@Priveetee
Priveetee merged commit 20ef489 into dev Nov 20, 2026
1 check passed
@Priveetee
Priveetee deleted the fix/server-back-notice branch November 20, 2026 21:31
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.

[Bug]: "The server is back." toast appears every time a video is opened

1 participant