-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
update documentation line indicating all List items must be same size #4802
Conversation
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 would not remove it, though I agree it is no longer correct.
How about indicating that /by default/ all items are the same size, but that SetItemHeight
can be used to change this for a specific row?
yeah good idea, let me know how this language looks |
Please don't force-push. It usually breaks GitHub's ability to track comments from previous reviews., We'll squash on merge if we think it is needed. Also please fill out the checklist in the PR template as much as possible. Makes things a bit nicer to review for us. Also FYI: It is a good idea to press the button to re-request a review after making changes :) |
Ach, sorry, I remembered squashing existed right after I did that. It's been a while. Let me know if you want me to open a PR without that. I haven't checked the checklist because it hasn't happened yet (I didn't include tests for this of course, an the pipeline hasn't run yet so technically I don't know if the linters and tests passed). But if I should just check everything since it's a comment change will do. And thanks for the FYI on re-review :) |
Nah, it's fine. You had no open inline comments so nothing broke really.
Your PR is obviously just updating a comment so this is more a theoretical problem than anything. However, a good practice is to run the tests and linting locally to test things out before opening a PR (at least if you are modifying code). The idea is to fill out the checkboxes before opening the PR. Tests and linting ought to still complete in your case ;)
No problem. We've all been there. Happy to help out :) |
Ah yeah those comments, ok cool well I'll avoid a force push in the future. Got it, can run all the tests locally for any code change, thanks for the context. Updated the PR description with checked boxes. |
Now I'm really picky. Sorry about that, but you haven't added any tests so that checkbox should of course not be checked. |
Of course! Updated the description |
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.
Thanks. Just one minor grammatical suggestion :)
Co-authored-by: Jacob Alzén <jacalz@tutanota.com>
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.
Thanks. I can't merge until Andrew has re-reviewed but it looks great now. Thanks for the contribution and sorry for all a the back and forth :)
I dismissed Andy's review and went ahead and merged this since it's so straightforward |
Cool. Didn't know that was a thing 🙃 |
@Jacalz Ah the back and forth is appreciated, good to learn what I should do next time! |
Cool. Thanks for you contribution :) |
Description:
Remove the line in the documentation that indicates that
widget.List
can only contain items of the same size. This is no longer true since the introduction ofSetItemHeight
in 2.3Addresses the confusion that led to #4777.
Checklist: