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

Remote notifications protocol and settings pane #27

Open
nothingneko opened this issue Oct 16, 2022 · 8 comments
Open

Remote notifications protocol and settings pane #27

nothingneko opened this issue Oct 16, 2022 · 8 comments
Assignees

Comments

@nothingneko
Copy link
Contributor

Problem

We are not notable enough for press organizations to pick up on information our users need, some users don’t have discord, and others may not check our website, so we must issue the data to every user ourselves to ensure security and user happiness.

Proposal

I propose a way for us to send notifications to every Tau system.

Fyra Labs would be able to issue alerts to all systems. Alerts at the standard level will appear in a feed in settings, the pane title is tbd. Alerts at the urgent level will send a notification and appear in the feed in settings. All alerts will need approval from myself or the CEO to avoid sending superfluous information

Prior Implementations (Optional)

No response

@lleyton
Copy link
Contributor

lleyton commented Oct 16, 2022

Mockups?

@nothingneko
Copy link
Contributor Author

I’ll get to it hon

@nothingneko
Copy link
Contributor Author

nothingneko commented Nov 10, 2022

image
Thanks to Lains for the design

@lleyton
Copy link
Contributor

lleyton commented Nov 10, 2022

Where would this be? Can you show some more detailed examples of notifications? How about when in the shell? Emergency alerts?

@nothingneko
Copy link
Contributor Author

nothingneko commented Nov 10, 2022

Notifications would only be delivered when the version you're running reaches EOL. All other notices appear in this pane. Emergency alerts will be handled differently, let's see if PBS Warn has an API.

Urgent Notification Example

End of Life

This version has reached End of Life and no longer receives security updates. Check System Notices in Settings for more information.

@nothingneko nothingneko moved this to 🆕 New in Everything Nov 17, 2022
@nothingneko nothingneko assigned lainsce, lleyton and kinoko87 and unassigned lleyton Dec 4, 2022
@kinoko87
Copy link

kinoko87 commented Dec 4, 2022

I think the observer pattern could be a interesting implementation

I think there could be two ways of working with it

  1. All machines listen to a port that receives notifications and dispatches any event listeners set to get notifications
  2. A user account system, all machines that are logged in with the same account/or are added in some other way. So when one system has some issue, it will dispatch any event listeners on other machines that acknowledge it.

@nothingneko
Copy link
Contributor Author

I think the observer pattern could be a interesting implementation

I think there could be two ways of working with it

  1. All machines listen to a port that receives notifications and dispatches any event listeners set to get notifications

Having a consistently open port is a security hazard, and we'd have to secure it appropriately

  1. A user account system, all machines that are logged in with the same account/or are added in some other way. So when one system has some issue, it will dispatch any event listeners on other machines that acknowledge it.

That's not what we're looking for, this is more intended for us (Fyra) to send users information

@kinoko87
Copy link

kinoko87 commented Dec 5, 2022

I think the observer pattern could be a interesting implementation
I think there could be two ways of working with it

  1. All machines listen to a port that receives notifications and dispatches any event listeners set to get notifications

Having a consistently open port is a security hazard, and we'd have to secure it appropriately

  1. A user account system, all machines that are logged in with the same account/or are added in some other way. So when one system has some issue, it will dispatch any event listeners on other machines that acknowledge it.

That's not what we're looking for, this is more intended for us (Fyra) to send users information

Ohh okay, my bad.

@nothingneko nothingneko moved this from 🆕 New to 📋 Backlog in Everything Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants