Add outage announcement

This commit is contained in:
Brahim Hadriche committed 2024-03-30 19:34:42 -04:00
1 parent fcf0334667
commit 595bd87970
2 files changed
+10

No files matched your search

+4
View File
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Announcement dialog to indicate outage
### Fixed
- [Attempt] A bug where the lounge would randomly lose the session id, making it unable to cast, and spam the same error over and over
+6
View File
@@ -1,3 +1,4 @@
import "Dialog/DialogUtils.bs"
import "pkg:/components/EcpArgs.bs"
import "pkg:/components/parts/AutoBind/AutoBind.part.bs"
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
@@ -18,6 +19,7 @@ function MainSceneContainerChanged()
InitEcpArgs()
m.scene.signalBeacon("AppLaunchComplete")
CopyLoadingMessagesToCache()
ShowAnnouncement()
end function
function StartWebServer()
@@ -30,3 +32,7 @@ function StartWebServer()
m.dialServer = m.top.findNode("DialServer")
m.dialServer@.StartServer()
end function
function ShowAnnouncement()
DialogUtils.ShowDialog(`Invidious is currently experiencing a major outage affecting all public and private instances.\nPlaying videos might not work.\nPlease be patient while the issue is being resolved.\nWe apologize for the inconvenience.\nIssue url: https://github.com/iv-org/invidious/issues/4498`, "Announcement", true)
end function