Closed gkallenberg closed 6 years ago
Let's update the data model fortest/unit/ListFilter.test.js
and test/unit/ListSelector.test.js
too.
I keep being redirected to the 404 page when going to /best-books/staff-picks
:
Status Code: undefined, Error Message: undefined
and Type '404' not found in selectData
When I tried visit http://local.nypl.org:3001/books-music-movies/recommendations/best-books/staff-picks/2018-03-01
, I got the error "message":"Status Code: 404, Error Message: staff-picks/2018-03 not found"
I ran this on my terminal
APP_ENV=production KMS_ENV=unencrypted node index
These help to resolve issues #200 and #201. #200 is a simple lable change for the annual lists for Sidebar dropdowns. Should display 'Year' instead of 'Season.'
Changes for issue #201 requires coordination in updating the metadata for lists on the ingester side. Once the year-month pattern for lists is available in the API, the direct links and redirects should work.
To test, start your local instance using APP_ENV=production. The new pattern is deployed there for staff-picks lists. There are 2 lists there that you can use to test the code changes within this PR.