when datapoint graph widget 2.0 is added to group dashboard, it should show only this group assets in datapoints selector.
n/a
Proposed changes
Right now, when Datapoints graph 2.0 is added to group dashboard, all the assets are available in datapoints selector. Only this group assets should be available. All possible assets should be visible when widget is added to Cockpit dashboard. Proper behavior is implemented in KPI Widget.
Types of changes
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] I have signed the CLA (in all commits with git commit -s)
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
Further comments
To fully test this bug fix, plugin should be build, uploaded to tenant and installed to cockpit. Then, two scenarios should be handled:
add data points graph 2.0 to cockpit home dashboard -> Add datapoint -> user should be able to select from all possible devices
add data points graph 2.0 to cockpit group dashboard (group should contain at least one device) -> Add datapoint -> user should be able to select only from this group assets
when datapoint graph widget 2.0 is added to group dashboard, it should show only this group assets in datapoints selector.
n/a
Proposed changes
Right now, when Datapoints graph 2.0 is added to group dashboard, all the assets are available in datapoints selector. Only this group assets should be available. All possible assets should be visible when widget is added to Cockpit dashboard. Proper behavior is implemented in KPI Widget.
Types of changes
Paste Link to the issue
https://cumulocity.atlassian.net/browse/MTM-53309
Checklist
Further comments
To fully test this bug fix, plugin should be build, uploaded to tenant and installed to cockpit. Then, two scenarios should be handled: