Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catalog Feature: Link to cards for easier sharing #129

Open
jbusecke opened this issue Jun 24, 2024 · 2 comments
Open

Catalog Feature: Link to cards for easier sharing #129

jbusecke opened this issue Jun 24, 2024 · 2 comments
Labels

Comments

@jbusecke
Copy link
Contributor

jbusecke commented Jun 24, 2024

As the catalog gets populated with more datasets, I think we need a way to link to a specific dataset.

For example: If I want to load the AWS NOAA Optimum Interpolated SST right now, I have to navigate to the url, and either scroll or filter for the dataset. This is either slow, or might get error prone (when more datasets with similar names are added for instance).

I would like to be able to link to a specific dataset, so that I can use that link in docs, share with people on github etc.

cc @katamartin @andersy005

@andersy005
Copy link
Collaborator

👋🏽 @jbusecke,

kata and i have discussed this issue and identified two potential solutions, each with varying levels of effort required:

option 1: update the URL state based on user searches. currently, when you visit catalog.leap.columbia.edu and search for "AWS NOAA Optimum Interpolated SST," the feedstocks are filtered, but the search state is not encoded in the URL. It would be great to update the URL to something like https://catalog.leap.columbia.edu/?search=AWS%20NOAA%20Optimum%20Interpolated%20SST. this way, when someone shares the URL with others, they will see the same search results.

option 2: create dedicated pages for each feedstock. with this approach, if someone wanted to share or navigate to "AWS NOAA Optimum Interpolated SST," the link would be something like https://catalog.leap.columbia.edu/AWS%20NOAA%20Optimum%20Interpolated%20SST. however, this option requires some design work before implementation.

option 1 is a low-hanging fruit that we can implement in the near future, while option 2 is a more comprehensive solution that we can work on when we have more time and resources.

What do you think about these options?

@jbusecke
Copy link
Contributor Author

jbusecke commented Jul 9, 2024

I think that option 2 is ultimately the best solution, but 1 seems like a good intermediate solution.
would it be possible to have a "share" button that copies the url+search to the clipboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants