tjchecketts / nota-fucation

Event driven toast notifications
https://www.npmjs.com/package/nota-fucation
2 stars 0 forks source link

Persistant/Important Notafucations #11

Open adamsonb12 opened 4 years ago

adamsonb12 commented 4 years ago

with queue: persistent to Local storage when marked as persistent/important

adamsonb12 commented 4 years ago

Only stays persistent across website reload, if they want it.

kyrandita commented 4 years ago

what is the boundary you're thinking for whether or not a nota-fucation should be stored on refresh, obviously if it's still in the queue, but the ones that have begun to display should probably have some time limit where it'll only persist if it hasn't been on the screen long enough yet... And now that I'm thinking about it, it might also be something configured by each toast, some may be marked to persist while others are just minimal things the Implementer doesn't care about from one page load to the next.