Change Log - presentation-components

1.10.0

Tue Jan 07 2020

Updates

  • Apply unified selection in ControlledTree after selection event is handled.

1.9.0

Tue Dec 10 2019

Updates

  • Exposed UnifiedSelectionTreeEventHandler and made it more customizable
  • Handle newly introduced multi-ECInstance nodes
  • Added a favorite property data provider.
  • Make rulesetId for PropertyGridDataProvider optional
  • Avoid duplicate PropertyRecord names when content has multiple Fields with the same name nested under different parent fields.
  • No longer accessing this.state or this.props in setState updater - flagged by lgtm report
  • Update sinon version.
  • Changed ControlledTree specific hooks and HOCs release tags to beta
  • Adjusted UnifiedSelectionTreeEventHandler according changes to ControlledTree events
  • Added useRulesetRegistration hook and refactores usePresentationNodeLoader hook

1.8.0

Fri Nov 22 2019

Updates

  • Fix property data provider failing to create data when content includes empty nested content values
  • Tablet responsive UI
  • Add usePresentationNodeLoader custom hook
  • Added custom hook and HOC that adds filtering support to ControlledTree

1.7.0

Fri Nov 01 2019

Updates

  • Added logic to set the scope of Favorite Properties in DataProvider.
  • Disable filtering of table columns created by PresentationTableDataProvider until the provider supports filtering
  • Added useUnifiedSelection hook to enabled unified selection in ControlledTree

1.6.0

Wed Oct 09 2019

Updates

  • Fix broken IPresentationTreeDataProvider API by making loadHierarchy optional.
  • Handle categorized fields inside nested content

1.5.0

Mon Sep 30 2019

Updates

  • Implemented favorite properties logic in PresentationPropertyDataProvider
  • Add a helper method IPresentationTreeDataProvider.loadHierarchy()
  • Added autoExpand property to RelatedPropertiesSpecification and NestedContentField
  • Add module descriptions
  • upgrade to TypeScript 3.6.2

1.4.0

Tue Sep 10 2019

Version update only

1.3.0

Tue Aug 13 2019

Updates

  • Fix invalid double display values in similar instances provider description
  • Use the new RulesetsFactory.createSimilarInstancesRulesetAsync to produce 'similar instances' ruleset. Use type converters to calculate display values used in 'similar instances' provider description.
  • Added test for ContentBuilder to verify that links property is set for nested PropertyRecord.
  • Added checking for links in the ContentBuilder with tests for it.

1.2.0

Wed Jul 24 2019

Version update only

1.1.0

Mon Jul 01 2019

Updates

  • Reorganize docs script output
  • include !lib/*/.*css in .npmignore for presentation-components to includes css files in lib/module/prod
  • treeWithFilteringSupport HOC now sends the filtered data provider as the second parameter to onFilterApplied prop callback
  • Moved the part that determines hilite set out of presentation-components to presentation-frontend and expose it as a public API.
  • Clear tool selection set when models or categories are selected. Replace tool selection set with new selection when elements are selected.
  • Always clear tool selection set when applying unified selection. If there're elements in logical selection, they're added to selection set afterwards.
  • Do not clear selection set before replacing it - this causes unnecessary onChanged events
  • Implement hiliting for selected subjects, models and categories
  • Update to TypeScript 3.5
  • Fix autoExpand flag not being set for TreeNodeItems

1.0.0

Mon Jun 03 2019

Updates

  • Add transient element IDs from selection into hilite list when syncing
  • Disable default hilite list syncing with tool selection set when using unified selection
  • Set extended data when creating UI objects
  • Change the way TreeNodeItem key is stored inside the object. Instead of using extendedData, now we use an undefined property on the TreeNodeItem itself. This should help us avoid the key being overwritten in the extendedData and makes extendedData usable for other purposes, e.g. storing some user's data.
  • Add release tags
  • Mark ViewWithUnifiedSelectionProps.ruleset as @alpha
  • Improve warnings about unset pagingSize property

0.191.0

Mon May 13 2019

Updates

  • Added ViewportSelectionHandler to the barrel file
  • Adds parameter for api-extractor to validate missing release tags
  • Fix broken links
  • Put sourcemap in npm package.
  • Forward React.Ref from TreeWithUnifiedSelection HOC
  • Fix marshaling class instances through RPC by removing use of Readonly
  • Add APIs to retrieve instance labels
  • Avoid making a backend request when we know there will be no content
  • Do not load property grid data if more than 100 (configurable) elements are selected
  • Fix a warning in propertyGridWithUnifiedSelection due to state being set after unmounting component
  • Add IPresentationTableDataProvider.getRowKey method
  • viewWithUnifiedSelection was refactored to only do 1 way synchronization: logical selection -> iModel hilite list
  • Supply default presentation ruleset for the viewports hilite list when using the viewWithUnifiedSelection HOC
  • Avoid making a descriptor request when requesting content for property grid and hilite list
  • Require React & React-dom 16.8
  • remove IModelApp subclasses
  • Temporarily disable hiliting model and category elements until a more performant way to do that exists
  • Upgrade TypeDoc dependency to 0.14.2

0.190.0

Thu Mar 14 2019

Updates

  • Fix test scripts for unix systems
  • Set TreeNodeItem.icon when initializing it from presentation Node object

0.189.0

Wed Mar 06 2019

Updates

  • Changes package.json to include api-extractor and adds api-extractor.json
  • Use new buildIModelJsBuild script
  • Exported ContentBuilder and ContentDataProvider
  • Remove unneeded typedoc plugin dependency
  • Expose presentation-specific content request methods through IContentDataProvider so they're available for provider consumers
  • Save BUILD_SEMVER to globally accessible map
  • Change DataProvidersFactory.createSimilarInstancesTableDataProvider to return data provider that also has a description
  • Add DataProvidersFactory API for creating presentation data providers targeted towards specific use cases
  • (breaking) Change PresentationTableDataProvider's constructor to accept a props object instead of multiple arguments
  • Make all content data providers IDisposable. Important: providers must be disposed after use.
  • Changed the way 0 selection level is handled in unified selection tables. Previously we used to reload table data when selection changed with level below boundary or level 0. Now the underlined part is removed and we only reload data if selection changes with level below boundary (set through props).
  • RPC Interface changes to optimize getting first page of nodes/content
  • Move property definitions to imodeljs-frontend so they could be used by tools to define properties for tool settings.
  • upgrade to TypeScript 3.2.2

0.188.0

Wed Jan 16 2019

Version update only

0.187.0

Tue Jan 15 2019

Version update only

0.186.0

Mon Jan 14 2019

Version update only

0.185.0

Fri Jan 11 2019

Version update only

0.184.0

Thu Jan 10 2019

Updates

  • Do not set optional TreeNodeItem properties if values match defaults
  • Added interfaces for Property Pane and Table data providers.
  • Changed 'connection' property name to 'imodel' in IPropertyDataProvider.
  • Removed default exports in presentation-components.

0.183.0

Mon Jan 07 2019

Version update only

0.182.0

Mon Jan 07 2019

Version update only

0.181.0

Fri Jan 04 2019

Version update only

0.180.0

Wed Jan 02 2019

Version update only

0.179.0

Wed Dec 19 2018

Updates

  • Throttling for withUnifiedSelection(Viewport) - avoid handling intermediate selection changes
  • Fix linter warnings

0.178.0

Thu Dec 13 2018

Version update only

0.177.0

Wed Dec 12 2018

Updates

  • Remove selectionTarget prop from withUnifiedSelection(Tree) - SelectionTarget.Node turned out to make no sense, so it got removed. Now the tree always works in SelectionTarget.Instance mode.
  • Remove selectedNodes prop from withUnifiedSelection(Tree) - it makes no sense to allow specify selected nodes for a unified selection tree.
  • Fix withUnifiedSelection(Tree) reloading on selection change to avoid forceRefresh() call.
  • React to checkbox-related prop renames in ui-components

0.176.0

Mon Dec 10 2018

Version update only

0.175.0

Mon Dec 10 2018

Version update only

0.174.0

Mon Dec 10 2018

Updates

  • Remove unused dependencies, add build:watch script

0.173.0

Thu Dec 06 2018

Version update only

0.172.0

Tue Dec 04 2018

Updates

  • Changed index file name to match package name, eliminate subdirectory index files, decrease usage of default exports, change imports to use other packages' index file.

0.171.0

Mon Dec 03 2018

Updates

  • PropertyRecord of type Array now also returns itemsTypeName under value property.

0.170.0

Mon Nov 26 2018

Updates

  • PropertyRecord of type Array now also returns itemsTypeName under value property.

0.169.0

Tue Nov 20 2018

Updates

  • Rename withFilteringSupport props: onHighlightedCounted -> onMatchesCounted, activeHighlightedIndex -> activeMatchIndex

0.168.0

Sat Nov 17 2018

Version update only

0.167.0

Fri Nov 16 2018

Version update only

0.166.0

Mon Nov 12 2018

Version update only

0.165.0

Mon Nov 12 2018

Updates

  • Unified Selection: Fix selection change events being broadcasted indefinitely when multiple unified selection viewports are used

0.164.0

Thu Nov 08 2018

Updates

  • Deprecated dev-cors-proxy-server and use of it.
  • Fix filtered tree rendering "0 matches found" when there's no filtering applied and data provider returns 0 nodes
  • Updated to TypeScript 3.1
  • React to Tree API changes

0.163.0

Wed Oct 31 2018

Version update only

0.162.0

Wed Oct 24 2018

Updates

  • Handle undefined structs and arrays

0.161.0

Fri Oct 19 2018

Version update only

0.160.0

Wed Oct 17 2018

Version update only

0.159.0

Tue Oct 16 2018

Version update only

0.158.0

Mon Oct 15 2018

Version update only

0.157.0

Sun Oct 14 2018

Updates

  • Fixing scripts for linux

0.156.0

Fri Oct 12 2018

Updates

  • Initial release

Last Updated: 08 January, 2020