Conversation
…adable-in-dark-mode' into enh/live-admin-view
carlobortolan
left a comment
There was a problem hiding this comment.
I tested it locally and it worked when accessing the URL directly (e.g., http://localhost:8081/admin/management/52/98), but I couldn’t find a way to navigate to the new admin view via the UI; am I missing something? 😅
|
|
||
| if c.Query("restart") == "1" { | ||
| c.Redirect(http.StatusFound, strings.Split(c.Request.RequestURI, "?")[0]) | ||
| // TODO: Add restart functionality |
There was a problem hiding this comment.
Is this meant to be a placeholder? 😅
(If it’s not implemented yet, I’d suggest leaving it out for now to avoid any confusion.)
There was a problem hiding this comment.
I checked this and it seems like we do not have a restart functionality at all (also the restart button on the watch page does not do anything apart from reloading the webpage). I'll create a new issue to implement a real restart functionality that checks the stream and if needed restarts the stream on the runner
Actually I forgot to add this functionality in this PR but it is added in #1565 |
Motivation and Context
This pull request adds a new admin panel to use during livestreams. This panel allows presenters to see the live stream with some information on it. There are also buttons to start and stop the stream and a live chat view.
More features will be added in the future to this panel (e.g. reactions from students).
Screenshots