phnmnl / ng2-phenomenal-portal

PhenoMeNal Cloud Research Environment
http://portal.phenomenal-h2020.eu
1 stars 2 forks source link

Provide links to tool collections based on search or tags #32

Open sneumann opened 6 years ago

sneumann commented 6 years ago

Hi portal team, if I go to the https://portal.phenomenal-h2020.eu/app-library I can search some term, e.g. "isa" and see the matching tools. Can I also have a link to a query ? like https://portal.phenomenal-h2020.eu/app-library/search/isa ? Or similarily, link to tags, as in https://portal.phenomenal-h2020.eu/app-library/tag/preprocessing+raman+glycomics ? Yours, Steffen

kikkomep commented 6 years ago

HI @sneumann ! The current implementation of the AppLibrary allows you to perform queries like this:

https://portaldev.phenomenal-h2020.eu/php-phenomenal-portal-app-library/api/apps.php?functionality=PREPROCESSING+POST-PROCESSING&approaches=&instrument=

i.e., by the three following parameters: functionality, approaches, instrument. For each of them you can provide a list of elements separated by +. The upcoming release of the portal will implement an AND query of the three parameters.

kikkomep commented 6 years ago

@sneumann Can we close this issue?

ilveroluca commented 6 years ago

I'm afraid the link @kikkomep suggests here is a solution to the wrong problem :-) The link queries an API endpoint and returns a JSON with the results. However, I think the original feature request is for a link which will take a user to the app library web page showing those same results.

What we need, I think, is a little "share" icon which can show a URL like Steffen suggested and give the user a button to copy it to the clipboard. Following that link should take the user to the exact same app library page with the exact same query displayed.