nytimes/library

Make the Recently/Most Viewed Stories dropdown optional based on Datastore config

Offen

#28 geöffnet am 28.05.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (148 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (1.180 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 8m) (1 gemergte PR in 30 T)

Beschreibung

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. Screen Shot 2019-05-20 at 1 16 41 PM

Possible Solution

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

Contributor Guide