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

Give enum tables a different icon on the sidebar #4984

Closed
Xetera opened this issue Jun 4, 2020 · 2 comments · Fixed by #4992
Closed

Give enum tables a different icon on the sidebar #4984

Xetera opened this issue Jun 4, 2020 · 2 comments · Fixed by #4992
Labels
c/console Related to console k/enhancement New feature or improve an existing feature

Comments

@Xetera
Copy link
Contributor

Xetera commented Jun 4, 2020

It gets a little difficult to keep track of enum tables once you're past a certain amount. I feel like something like this could help

I would be happy to give this a shot if it's something the hasura team is interested in and if this data is available to the frontend

Possibly related #4981

@rikinsk rikinsk added c/console Related to console k/enhancement New feature or improve an existing feature labels Jun 4, 2020
@rikinsk
Copy link
Member

rikinsk commented Jun 4, 2020

@Xetera Would be awesome if you could raise a PR for this. The information should be available. cc: @beerose

The only question remaining is what should the icon be? Maybe this?

@beerose
Copy link
Contributor

beerose commented Jun 4, 2020

Yes, all the information is available. Here is the corresponding part of the code.
You can check if a table is an enum table by accessing is_enum property from table object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console Related to console k/enhancement New feature or improve an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants