-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
issue #333; Feature- button in table to toggle datatype visibility #346
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
issue #333; Feature- button in table to toggle datatype visibility #346
Conversation
@flashpunch0-0 is attempting to deploy a commit to the dottle's projects Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@1ilit hey could you review the pr and if useful then merge it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @ian-barker, i think it would make more sense to have a showDataTypes
setting in the SettingsContext which can be toggled form the view menu. You can look at how any other togglable settings field is implemented
yeah sure I'll take a look at some toggable settings and try to bring some possible changes |
@flashpunch0-0 let me know if there's anything i can help with |
…e_table_datatypes_flashpunch
The current state of the project does not allow to toggle datatype visibility in table.

the new update will allow it to make the visualization look more clean.
changes done :

1- added a useState to toggle the value
2- Added a button with eyeiconopened and eyeiconclosed

3- added a popover above the icon to provide information about the button

4- changes the snippet code in field function

field function
updated code -

flow of usage - hover (get information) -> click (toggle viibility and eye icon changes)
Works for each table