hasura / graphql-engine

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
https://hasura.io
Apache License 2.0
31.07k stars 2.76k forks source link

Allow users to close a schema treeview node in the data manager #10320

Open bertyhell opened 2 months ago

bertyhell commented 2 months ago

Is your proposal related to a problem?

When exploring the schemas and tables in the data manager view, you can open a schema and see the tables that are below. But you cannot close it again. This is counter intuitive since most treeviews allow you to expand and collapse a treeview node

Describe the solution you'd like

When a user clicks a treeview node that is already open, it should collapse again.

Describe alternatives you've considered

none

image

manasag commented 1 month ago

Thanks much @bertyhell for opening the PR for the fix. It's added to our backlog for review.

bertyhell commented 1 month ago

The PR to fix this: https://github.com/hasura/graphql-engine/pull/10321