tekuma / curator-portal

Interface for the Curation database
0 stars 0 forks source link

connect "more info" pop-up to backend look-up #38

Closed slivingston closed 7 years ago

slivingston commented 7 years ago

In the search results listing on the curator-portal, a feature is being developed so that the user can obtain more details about an artwork, which is presented in a pop-up (modal). The overall structure and display is there, but it remains to populate it with actual details. This issue represents the task of providing that.

Use the /detail route API, as defined in the file curator-portal.md of the documentation repository.

slivingston commented 7 years ago

as of commit cb3a0de6db035756292d67ad803593cae16cf237, GET /detail is active server-side. Among the fields described in the API at curator-portal.md in the documentation repo,uid, title, description, and thumbnail_url are returned.

slivingston commented 7 years ago

For thumbnail URLs, I have been using the 128px width thumbnails. Following the URL schema described in url-schema.md, it should be possible to reliably change such a given URL to that of the 512px width thumbnail.

xstephen95x commented 7 years ago

as of commit 4b7f16bbcaf0ccfbd433f774f1cb648060b9a720 , the SearchMain.detailArtwork needs the payload to be formed to complete this task.

slivingston commented 7 years ago

OK. I will make the connection.

slivingston commented 7 years ago

was implemented as of d689b7f5f1c415f7110fbe47f05486a6e025a010 but recent merged lost those changes, so needs update.

slivingston commented 7 years ago

done in 321a8ad63dd79066df0666f9d06b8a94905803d9