github-datasource
github-datasource copied to clipboard
Packages: Hide package types that are throwing error
This PR removes following package types from the dropdown, as they all throw XXX registry is not supported by GraphQL APIs.
In a case where user had previously selected one of the package types and have it saved in a query, we are going to keep it available.
Manual test:
- It shows that leftover package types are not throwing errors
- It shows that if user had NPM (or other) package ty[e selected before, it will be still available in the dropdown
https://github.com/user-attachments/assets/70829d74-ee35-41d6-a946-5f089eae18b9