shenanigans-be / miltydraft

19 stars 18 forks source link

draft page is automatically refreshed every 15 sec if page is visible or if page is made visible #28

Closed Keksike closed 9 months ago

Keksike commented 9 months ago

This resolves https://github.com/shenanigans-be/miltydraft/issues/21

Would be great if someone else also tested that this works properly before releasing!

shenanigans-be commented 9 months ago

Hey @Keksike !

Thanks for this (and for the other PR!). Based on this I ended up implementing pretty much the same thing myself (with the exception that I get the data directly from storage (so: less server traffic) and leaving out the 15 second auto-refresh (because again: server traffic, and I feel like if people are that anxious for new results they'll just refresh every 5 seconds themselves anyway).