added leagues

This commit is contained in:
2026-02-10 23:32:48 +11:00
parent dd382faa08
commit c05ecb66fe
28 changed files with 1544 additions and 89 deletions

View File

@@ -93,6 +93,10 @@ func notifyLoop(ctx context.Context, c *hws.Client, ws *websocket.Conn) error {
// Parse error code and stacktrace from Details field
code, stacktrace := parseErrorDetails(nt.Details)
err = popup.ErrorModalWS(code, stacktrace, nt, count).Render(ctx, w)
case notify.LevelInfo:
err = popup.Toast(nt, count, 6000).Render(ctx, w)
case notify.LevelSuccess:
err = popup.Toast(nt, count, 3000).Render(ctx, w)
default:
err = popup.Toast(nt, count, 6000).Render(ctx, w)
}