wellcomecollection / wellcomecollection.org

🪟 Wellcome Collection's website and services that support it
https://wellcomecollection.org
MIT License
37 stars 5 forks source link

Toggle for Deepstore item requests + copy change on modal #10946

Closed agnesgaroux closed 2 weeks ago

agnesgaroux commented 3 weeks ago

The Request item button being rendered or not is based on "online-request" access method and ['open', 'open-with-advisory', 'restricted'] access statuses The Deepstore items will be updated (outside of our control) to have the same values, which will automatically make them requestable. In order to have control over when we release this feature to the public, we're adding a toggle, pass its value to locationIsRequestable and if false we only display the Request item button when the location label doesn't include Deepstore

Also adding different copy for the request modal

https://github.com/wellcomecollection/wellcomecollection.org/pull/10943