09-09-2017, 08:07 PM
Sorry, took a couple days off for my birthday!
What's wrong with my well?? It's pretty!
With the notifications modal, it'd be easy to paginate. This was my first iteration and I had more features planned for it over time.
The scrollbar hiding during a modal event is a modal "feature" I believe. We might be able to change it if it's a problem for anyone.
The parser is set up to remove read notifications after a set time (7 days be default). An admin setting could be added to change the value, and it is passed in the class construction as the second arguement.
What's wrong with my well?? It's pretty!
With the notifications modal, it'd be easy to paginate. This was my first iteration and I had more features planned for it over time.
The scrollbar hiding during a modal event is a modal "feature" I believe. We might be able to change it if it's a problem for anyone.
The parser is set up to remove read notifications after a set time (7 days be default). An admin setting could be added to change the value, and it is passed in the class construction as the second arguement.
Code:
$notifications = new Notification($user->data()->id, $settings->notification_days_to_keep);