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

Fix File Name Toggle not updating ColumnProperties properly #1031

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RosyMapleMoth
Copy link

Resolves #1029

Bug :

The File name toggle was being updated as isHidden not !isHidden, while the UI element is being updated as !isHidden.

This particular part of the codebase is confusing due to the File name following a different convention to track if it is hidden or not than all other properties. All other properties use the config propriety show_metadata_NAME to determine the toggle state which is true when the toggle should be on, however, the File property uses isHidden directly causing the toggle to be on when the isHidden bool is False.

Given enough dev time I think it would be a good idea to refactor the Name metadata to be tracked and handled the same way that other metadata is handled.

Fix

isHidden Value is set to !isHidden both during toggle render and in the present variable

Temp fix for users until new build is deployed

You can double toggle to get the desired result of a single toggle.

My apologies for not going through the official pipeline to requesting the ability to work on an issue. I ended up reading the contribution guidelines after I had already forked and found the solution.

@RosyMapleMoth
Copy link
Author

@RafaelGB can I request a review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]:Can't toggle the File name
1 participant