nytimes/library
Make the Recently/Most Viewed Stories dropdown optional based on Datastore config
Open
#28 opened on May 28, 2019
enhancementgood first issue
Repository metrics
- Stars
- (1,180 stars)
- PR merge metrics
- (PR metrics pending)
Description
Dropdown with Datastore Indexes set up:
Context (Environment)
A Library instance without Datastore Indexes set up.
Expected Behavior
Since setting up Datastore Indexes is optional, there should not be a dropdown if the indexes aren't set up.
Actual Behavior
Even without the indexes set up, an empty window still drops down.

Possible Solution
Enable/disable the dropdown depending whether the Datastore API/indexes are set up on the GCP project.