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

Basic tag and KV rendering #554

Closed eyeseast closed 1 month ago

eyeseast commented 1 month ago

This uses the existing KV.svelte component to render both tags and data in the viewer sidebar. Read-only for now.

Very minimal implementation, but this might be enough for now.

Screenshot 2024-05-31 at 9 18 43 AM

Example: https://deploy-preview-554.muckcloud.com/documents/20000353-miliaraki03/

netlify[bot] commented 1 month ago

Deploy Preview for documentcloud-frontend ready!

Name Link
Latest commit 8193f88fa4af68a56a8cdedead68815c5812cc60
Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/6659cdb5eda1e10008633b01
Deploy Preview https://deploy-preview-554.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.

allanlasser commented 1 month ago

Could you share a link to a staging document URL with KVs?

allanlasser commented 1 month ago

I think this is a great starting point that rapidly gets KVs and tags onto the page in a straightforward way. Any further design work can be done in a follow-up PR. Just two minor suggestions around formatting!