Skip to content

Be more graceful when Google sheets is not configured #212

Open
@Mr0grog

Description

@Mr0grog

Enough people have hit confusion around the Google sheets configuration that we really should clean this up. The current status is that it’s “optional” in the sense that certain routes are expected not to work and the app won’t crash if not configured. But we log config errors in that case and people get confused. So:

  • Methods that retrieve data from sheets should return early with nice errors if not configured (server/sheet-data.js)

  • The UI should not have an “assigned pages” view or support the assigned pages routes when sheets is not configured. This should probably be a config var named something like SHOW_ASSIGNED_PAGES for the front-end that is calculated based on the Google Sheets env vars. (server/configuration.js)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions