-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update Gallery filtering javascript to add tags to URL #157
Comments
The tutorial videos are added in #157 to the resource gallery. We still need to add the foundations book pages that are complete to the resource gallery. This is some conversation about this issue over in #157. My next step is to go through and add affiliation tags to several of the cards, and add an affiliation filter menu (Pythia, Pangeo, Unidata, etc). In doing this, I will change the current "affiliation" author information to "institution." I have started this in #160. This will require me to edit the auto-PR for submitting a resource to include this new tag and update the author keys. Then I will take our filtered-to-Pythia-only content and link to that directly from the portal. It is possible that we might want to edit the |
Would we want to add a button to the gallery that loudly says, "See all Project Pythia resources"? Right now we can filter to Pythia content using javascript (so it isn't actually a separate web page) but we don't make Pythia have any special treatment. I'm sure there is a way to then link to the page with the "pythia" checkbox already ticked from the home page, but I don't know how to do that yet. |
That's a good question. The original plan wrt this issue was to auto-select appropriate filtering on the Resource Gallery, and simply direct viewers to that. With #227 we're directing users to the Xdev tutorial site, which pretty much has all of the information that would be available from the gallery, but it doesn't have the Pythia theme, etc. My suggestion:
Regarding @jukent's comment right above, I like the idea. An alternative to adding a button if that presents a technical challenge a simple callout that says something like "Want to see all of the Pythia produced content?. Simply set the affiliation to "Pythia". CC @kmpaul |
@clyne That does sound like the easiest step |
@clyne I think that we should move the Xdev tutorial content to Pythia. And we can direct people from the Xdev site to Pythia. (Note that moving the page over is easy. You just have to copy the |
Sounds good to me. Probably something someone from XDev will need to handle. |
I support this too! Seems Important to me that each of the buttons on the Pythia landing page purporting to lead users to Pythia content should point to Pythia-branded pages. Otherwise great confusion will ensue. |
This is harder than I expected. Because the resource gallery filtering is done with Javascript, I'm not sure how to use URL parameters link to a version of the gallery with affiliation=Pythia checked. Does anyone know how to do this? I think it would be similar to: https://projectpythia.org/resource-gallery.html?affiliation=pythia We might have to make changes to the javascript in |
This issue should be retitled to be more specific about using gallery tags in URLs, which is still a problem we'd like to have a solution for. |
This can take one of two forms:
The text was updated successfully, but these errors were encountered: