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

Tree widget 1.0 #522

Merged
merged 33 commits into from
Jun 6, 2023
Merged

Tree widget 1.0 #522

merged 33 commits into from
Jun 6, 2023

Conversation

saskliutas
Copy link
Member

No description provided.

saskliutas and others added 26 commits April 14, 2023 09:48
* Clean up internal API

* rush change
* Refactor the way how trees a provided to widget

* rush change

* Highlight in changelog that these are breaking changes

* Update common/changes/@itwin/tree-widget-react/rework_additional_trees_handling_2023-04-14-14-58.json

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>

---------

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
…444)

* Add ability to conditionally show trees in the widget

* rush change

* PR fixes
* Fix invert button in categories tree

* rush change

* Pr comment fixes

* Apply suggestions from code review

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>

* more pr comment fixes

* pr comment fixes

* Apply suggestion from the code review

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* pr comment fixes

* pr comment fixes

---------

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
* Add `IModelContentTreeComponent` to be consistent with other trees

* Improve README

* Apply suggestions from code review

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* rush update

---------

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
* Start extracting `tree-widget-react` API

* Release tags & some docs

* fix docs
* Add tests for TreeHeader and SearchBox

* Better cleanup TreeHeader tests

* Use EmptyLocalization for tests

* Add TreeWidgetComponent tests

* Add TreeFilteringState tests

* Add TreeWidgetUiItemsProvider tests

* Add TreeWidget tests

* Cleanup AutoSizer

* Localize search component

* extract-api
* Generate ruleset dynamically

* Add a way to specialize class of geometric elements loaded into models tree
* Add external sources tree component (`@alpha`)

* rush change

* 100% coverage
* Use type imports

* rush change

* Fix object spacing

* Fix new imports
* add tests

* Apply suggestions from code review

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* Pr comment fixes

* lint fix

* Apply suggestions from code review

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* pr comment fixes

* Update packages/itwin/tree-widget/src/test/trees/CategoriesVisibilityUtils.test.ts

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* pr comment fixes

---------

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
…ands (#492)

* Keep child nodes state the same after parent node re-expanding

* rush change

* fix comment
* disable expansion toggle for root node

* rush change

* Apply suggestions from code review

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* pr comment fixes

---------

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
…d categories tree whitespace between eye checkbox and node label smalelr (#512)

* Keep eye checkbox static on horizontal scroll and make whitespace between eye checkbox and node label smaller

* Apply suggestions from code review

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>

* pr comment and ui bug fixes

* documentation fixes

* Apply suggestions from code review

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

* pr comment fixes

* pr comment fixes

* update changelogfile

---------

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
* use itwinui searchbar

* rush change

* pr comment fixes

* more pr comment fixes
* Update dependencies

* Revive tests

* Adjust styles

* rush change

* rush change
* Update change types

* Update tree-widget version policy

* Apply suggestions from code review

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>

---------

Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
@saskliutas saskliutas requested a review from grigasp June 1, 2023 11:20
@saskliutas saskliutas requested review from a team and DanishMehmood-bit as code owners June 1, 2023 11:20
@grigasp
Copy link
Member

grigasp commented Jun 1, 2023

@aruniverse, please have a look

Copy link
Member

@aruniverse aruniverse left a comment

Choose a reason for hiding this comment

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

apologies its not 1 massive review but rather multile one off ones.

changes look fine, some small nit picks.

did you want to publish a pre-release with all these changes or just go straight to 1.0?

@grigasp
Copy link
Member

grigasp commented Jun 2, 2023

apologies its not 1 massive review but rather multile one off ones.

changes look fine, some small nit picks.

did you want to publish a pre-release with all these changes or just go straight to 1.0?

Thanks for looking at this. We were thinking about going straight to 1.0, but doing a pre-release before that makes sense, IMO. @saskliutas what do you think?

@saskliutas
Copy link
Member Author

apologies its not 1 massive review but rather multile one off ones.
changes look fine, some small nit picks.
did you want to publish a pre-release with all these changes or just go straight to 1.0?

Thanks for looking at this. We were thinking about going straight to 1.0, but doing a pre-release before that makes sense, IMO. @saskliutas what do you think?

I think it makes sense to do a pre-release as there are a lot of changes. @aruniverse can your take a look at 2ba7df5?

Copy link
Member

@aruniverse aruniverse left a comment

Choose a reason for hiding this comment

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

lgtm

@saskliutas saskliutas merged commit e28fe43 into master Jun 6, 2023
@saskliutas saskliutas deleted the tree_widget_1.0 branch June 6, 2023 07:28
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.

4 participants