github-datasource icon indicating copy to clipboard operation
github-datasource copied to clipboard

Packages: Hide package types that are throwing error

Open ivanahuckova opened this issue 5 months ago • 0 comments

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. image image image

Manual test:

  1. It shows that leftover package types are not throwing errors
  2. 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

ivanahuckova avatar Sep 23 '24 15:09 ivanahuckova