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

Logic to only add open link to tools that are available on the lab server #229

Open
paulzierep opened this issue Nov 7, 2024 · 2 comments
Labels
labs Anything related to labs

Comments

@paulzierep
Copy link
Collaborator

Despite our best efforts, there will be servers that will not install all tools for all communities. We cannot fix that on our side.
So once the tool table is available in the labs, there should be a logic to handle that.
Some ideas from my side:

  • Show all tools from a community, but only add links to tools that are available on this server
  • Add a way to filter to only show the tools on that server
@paulzierep paulzierep added the labs Anything related to labs label Nov 7, 2024
@paulzierep
Copy link
Collaborator Author

I assume we would need to create one tools section for each server. And then only put links that work on that server. Is there a way to use a different section depending on the server ? @neoformit ?

@neoformit
Copy link
Collaborator

neoformit commented Nov 15, 2024

A way to filter only the tools on that server

I think this is the right thing to do, showing tools that aren't installed would be annoying as a user.

I think you're looking for the (currently undocumented) exclude_from key:

- title_md: How can I increase my storage quota?
description_md: >
Please submit a quota request if your Galaxy account reaches its data storage limit. Requests are usually provisioned quickly if you provide a reasonable use case for your request.
button_md: Request
button_link: "{{ quota_request_url }}"
exclude_from:
- usegalaxy.org

This can be used to exclude specific blocks of the Sections data from particular hostname(s).

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

No branches or pull requests

2 participants