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

Minor: added docs & test-case for updated 'Taffy::remove()' behaviour #512

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Minor: added docs & test-case for updated 'Taffy::remove()' behaviour #512

merged 1 commit into from
Aug 13, 2023

Conversation

inobelar
Copy link
Contributor

Objective

Why did you make this PR?

I apologize for not having time to make this changes to the last PR (#511), but I think, it will be great to add small descriptive-comment for newly added few lines of code and test-case from related issue (#510) - for anyone, who will read sources, not github issues history :)

Copy link
Contributor

@mxsdev mxsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I realize now I should've added this in that PR 😅

Might also be worth adding a docstring to the remove function, explaining that the node's children's will become orphaned?

@alice-i-cecile alice-i-cecile added the code quality Make the code cleaner or prettier. label Jul 17, 2023
@alice-i-cecile
Copy link
Collaborator

I'll give this a day or two and then merge it: the docstring would be nice but not essential.

@inobelar
Copy link
Contributor Author

@mxsdev if you want to add something - feel free to add (as PR into this branch, or even simply - with comment, what exatly you wish to add, and I add it) - you the author, I'm just a "cleaner" (who is interested in making the code clear). But I dont know your intends & not so good in making docs 😄

@nicoburns nicoburns merged commit 3341abe into DioxusLabs:main Aug 13, 2023
16 checks passed
@inobelar inobelar deleted the update_parents_list_on_remove_docs branch August 13, 2023 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Make the code cleaner or prettier.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants