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

Notifications: They never go away :-) #22

Open
elimisteve opened this issue Dec 9, 2016 · 3 comments
Open

Notifications: They never go away :-) #22

elimisteve opened this issue Dec 9, 2016 · 3 comments

Comments

@elimisteve
Copy link
Member

screenshot-cryptag-backchannel-notifications-wallofthem-screenshot - 12082016 - 08 54 54 pm

@jimmcgaw
Copy link
Collaborator

jimmcgaw commented Dec 9, 2016

Whoa. It's not quite this nuts on OS X. That's pretty amazing.

I was thinking about this, since I keep reloading the app. My intent is to look into localStorage and how it can be used with electron apps. We could conceivably store the id of the last message for which you were notified. The notifier could then crawl back on initial load until it hits the last message id in the message chain, and only notify you for messages that are new.

e.g. @name Messages:

  1. Hello
  2. There
  3. You
  4. Mofo.

"4" is stored. You close the app, and return. Then there's:

  1. Suck
  2. This

You get notified about 5 and 6. "6" is stored, replacing "4". Etc.

@jimmcgaw
Copy link
Collaborator

jimmcgaw commented Dec 9, 2016

And this would be room-specific somehow.

@elimisteve
Copy link
Member Author

localStorage, cool. I wonder what persists, and for how long, between sessions of an Electron app being run?

Anyway, I say -- no need to worry about this right now unless you want to play with the tech needed to solve this.

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

No branches or pull requests

2 participants