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

Alerts optionally dismiss after specified duration #309

Merged
merged 2 commits into from
Feb 26, 2023

Conversation

jimmcgaw
Copy link
Collaborator

@jimmcgaw jimmcgaw commented Feb 26, 2023

Optional parameter to the show alert pipeline that makes alerts (optionally) auto-dismissing after a specified duration.

Intended to at least partially address #200

Oh and apparently #139

@@ -195,7 +195,7 @@ class ChatHandler {
this.ws.onmessage = this.onWsMessage;
this.ws.onopen = (event) => {
event.target.send(this.authToken);
observer.next();
observer.next(isNewRoom);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we emit this here, then isNewRoom is exposed to the place in the epic where we show "New room created". (Unintentionally borked previously.)

@elimisteve elimisteve merged commit 3ecd657 into develop Feb 26, 2023
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