-
Notifications
You must be signed in to change notification settings - Fork 225
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
RUCSS - Display a notice when the API URL cannot be accessed #3947
Comments
@vmanthos @webtrainingwheels Do we have a doc about that particular problem we could redirect the user in the notice? By the way, do you have any ideas about the text in this notice? |
The following could work:
If you prefer the message to be in one line maybe this will do:
@webtrainingwheels may have a way to make this fancier/shorter. |
@vmanthos Thanks a lot for the text. We can use the first one which will be easier to read. |
Reproduce the Problem: Scope a solution: Possible Solution 2: That said, we could:
Note: Here we'd be setting the WP notice once at the end of the pre-warmup hour. I've considered that we could set the notice repeatedly every time there is a bad fetch response, however, it's likely that if there is an issue here, there will be multiple bad responses causing the WP notice to re-appear throughout the hour that the fetching process could run. On the other hand, we shouldn't short-circuit/stop the whole pre-warmup process for just a single bad fetch either. The down-side of setting it once at the end is that a user will have to wait the hour before seeing any notice appear. Estimate Effort: |
This is going to be handled by: |
@piotrbak Until to work on this which require some UI work too, we can display a notice like we are doing for CPCSS. |
Scope a solutionWe can set a new option of an integer maybe
also reset option before this line when there is a successful call.
Then we create a new method in PS: With this I don't think the user will be getting this notice the first time they enable RUCSS though. Estimate Effort[S] |
) Co-authored-by: Vasilis Manthos <[email protected]> Co-authored-by: Rémy Perona <[email protected]>
Is your feature request related to a problem? Please describe.
Currently, if a firewall is blocking outgoing connections to our RUCSS generator, nothing will be displayed to the user. This means a customer will have to reach out to our support for a solution.
Describe the solution you'd like
We should consider displaying error messages related to the API the way we already do for CPCSS.
Those will include URLs to our documentation and should reduce the number of tickets about RUCSS API issues.
Additional context
Slack discussion: https://wp-media.slack.com/archives/C43T1AYMQ/p1621863311062000
The text was updated successfully, but these errors were encountered: