Add Feature Tracking for Measure-Tools #1026
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolve Issue #980
Based off solutions on tree-widget package, add feature tracking to measure-tools. Now, users can pass their callback function
onFeatureUsed
toMeasureToolsUiItemsProvider
to handle features being used. There is an usage example in the updated README.(This information is also included in README but just put here for reference) The feature tracking message is now in format
feature-[feature being used]-event-[event related to the feature]
. This format should be easy enough for users to process and paste the message.Current tracking features and respective are (will update more later!) (for detailed message, please again refer to updated README):
Distance Measurement: Trigger, Cancel (for example we change to select mode or clear all measurements), Click on Start/End point of Distance
Clear Measurements: Trigger
Property Widget: When results are updated, when widget is empty
Selection Set: While this is not essentially a feature. All measurements seem to base off a global selection set. Hence, changes to this selection set might prove useful for users, so feature tracking for Selection Set is added.