rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

Preview page metadata display improvements #554

Closed sellorm closed 2 years ago

sellorm commented 2 years ago

The preview page doesn't currently do much with the metadata.

It would be great if the name/title and description could be displayed more prominently.

For instance, at the top of the page (above the code block) we could have something like this:


Palmer Penguins: a pinned 344 x 8 data frame

Last updated: 2021-08-25. Format: CSV. API: 1.0

This is the description of my pin, it's a very nice pin with lots of penguin data in it. I think the Fiordland penguin is my favourite.


The code block could then live under that.

We could have the raw yaml metadata hidden with a <details> as well.

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.