You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any call to getGoogleSheet should be handled globally. This way we can keep track of errors more easily and output them to the admin's error page.
This is how things should work after this PR:
When the app loads, the entire google sheet is pulled. This is available globally.
After we get the google sheet, we need to test every category / service to make sure it is valid (not missing a category, has correct references, etc.) Utils for this will be done in Error handling: Extract and test sheet validation logic #52
If a category / service is invalid, it will be removed from the results and the error will be logged on the /errors page, where admins can see warnings and errors about the sheet. See Error Handling: Create base Error page #53
A link should appear on the home page with text along the lines of: "There was an error processing your data. Site admins please see the /errors page" (There should already be a component for this)
The text was updated successfully, but these errors were encountered:
Alex-Cannon
changed the title
Implement "single source of truth" or global state in the app
Error Handling: Implement "single source of truth" or global state in the app
Oct 28, 2019
Alex-Cannon
changed the title
Error Handling: Implement "single source of truth" or global state in the app
Error Handling: handle getGoogleSheet state globally
Oct 28, 2019
Alex-Cannon
changed the title
Error Handling: handle getGoogleSheet state globally
Error Handling: setup getGoogleSheet error globally
Oct 28, 2019
Alex-Cannon
changed the title
Error Handling: setup getGoogleSheet error globally
Error Handling: setup error handling across the app for getGoogleSheet
Oct 29, 2019
Alex-Cannon
changed the title
Error Handling: setup error handling across the app for getGoogleSheet
Error Handling: setup error handling across the app
Oct 29, 2019
Needs #52 #53 to start work on this.
Any call to getGoogleSheet should be handled globally. This way we can keep track of errors more easily and output them to the admin's error page.
This is how things should work after this PR:
/errors
page, where admins can see warnings and errors about the sheet. See Error Handling: Create base Error page #53/errors
page" (There should already be a component for this)The text was updated successfully, but these errors were encountered: