-
Notifications
You must be signed in to change notification settings - Fork 34
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
Tree widget 1.0 #522
Conversation
* 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>
@aruniverse, please have a look |
packages/itwin/tree-widget/src/components/TreeWidgetUiItemsProvider.tsx
Outdated
Show resolved
Hide resolved
packages/itwin/tree-widget/src/components/trees/external-sources-tree/ExternalSources.json
Outdated
Show resolved
Hide resolved
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.
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? |
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.
lgtm
No description provided.