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

feat(tree): hide children #454

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

feat(tree): hide children #454

wants to merge 8 commits into from

Conversation

bashbunni
Copy link
Member

@bashbunni bashbunni commented Dec 10, 2024

I updated the godoc of tree to match capitalization used for leaf while I was at it

Signed-off-by: Carlos Alexandro Becker <[email protected]>
@bashbunni bashbunni self-assigned this Dec 10, 2024
@bashbunni bashbunni marked this pull request as ready for review December 10, 2024 17:03
@bashbunni
Copy link
Member Author

Another thing to improve this PR: have an example hiding both ways with comments on why you would use Hide vs SetHidden. It already says in their go doc, but could be handy to show how they differ in usage.

@bashbunni
Copy link
Member Author

bashbunni commented Dec 12, 2024

SetValue for tree does the same thing as Root. Should I mention any difference in the docs? Root can be used during or after creation, SetValue can be used after creation

tree/tree.go Outdated Show resolved Hide resolved
@bashbunni bashbunni added bug Something isn't working enhancement New feature or request labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants