datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
14 stars 12 forks source link

UX: "Files" tab edits #293

Closed jsheunis closed 1 year ago

jsheunis commented 1 year ago

Feedback from @mih:

Is there a way to specifically craft a URL that opens the "Files" tab?

We can add url parameters and encode how Vue Router needs to handle them. So we can e.g. append content to the current URL construction and let that open the Content tab. An example:

# actual url:
https://psychoinformatics-de.github.io/sfb1451-projects-catalog/#/dataset/d3648891-f01e-40fe-9035-cd2228977721/d6a5165673f43a4827166b61098f1b6c0710ede6/content

# parameterization:
<catalog_url>/#/dataset/<dataset_id>/<dataset_version>/content

For this specific example, there are no "Files". What this dataset contains is just directories. Should it better be called "Content", not "Files" (title of the tab)?

I agree, Content is a better alternative. Easy fix.