-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Is your feature request related to a problem? Please describe.
The "ERROR. RETRY?" doesn't explain much. See #39
Describe the solution you'd like
Should detect and differentiate between various cases to inform the user better
- Sometimes user just doesn't have (enough good) internet
- Sometimes server is down for no reason
- Sometimes database in server is not responding for no reason
- Sometimes it's expected to be a rough period with lot's of downtime (like last week of mass repraise)
Describe alternatives you've considered
Should be able to detect those automatically
- just query some other website
- if fails, display "no internet". Otherwise query base
db.spacengineerspraisal.comwhich is super cheap and fast to see if there's connection at all - if fails, display "server is down. Maintainer is already notified, no action required. See uptime [here]". Otherwise query the simplest db endpoint
- if fails, display "server is up but database is down. Maintainer is already notified, no action required. See uptime [here]". Otherwise check if every blueprint has the newest version.
- if fails, display "SE Praisal got updated, but some blueprints are still outdated and missing. It should be done in couple of days."
Also need a way to set a custom message, e.g. "SE Praisal just got a upgrade and now will take into account Sparks of Future blocks too. Yay! But it will take a week to repraise all the blueprints with some downtime, missing blueprints from browse, and other problems. If you are reading this, then it has just happened. Thanks for understanding,"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed