Cumulocity-IoT / cumulocity-community-plugins

This is a set of module federation plugins developed and maintained by the community.
Apache License 2.0
3 stars 3 forks source link

fix(datapoints-graph): provide context do datapoints selector #14

Closed jdre-c8y closed 1 year ago

jdre-c8y commented 1 year ago

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:

  1. add data points graph 2.0 to cockpit home dashboard -> Add datapoint -> user should be able to select from all possible devices
  2. 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
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.1.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: