MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
15 stars 5 forks source link

Use SidebarItem as links in viewer sidebars #503

Closed allanlasser closed 3 months ago

allanlasser commented 3 months ago

Turns out, SidebarItem already supports rendering as a link provided a href! So this closes #488 by simply useing that functionality in the viewer sidebar. It also expands the a attributes available to support download links and blank targets.

netlify[bot] commented 3 months ago

Deploy Preview for documentcloud-frontend ready!

Name Link
Latest commit e416fe0cbaf00fd0d0074866b956ff9e590b8b42
Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/660c20510812950008a060f6
Deploy Preview https://deploy-preview-503.muckcloud.com
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.