newrelic / nr1-workload-geoops

NR1 Workload Geo Ops aligns Workload data (or other Entities) in a Geographic management console.
Apache License 2.0
4 stars 19 forks source link

feat(recent incidents): expand the incident user clicks on #41

Open devfreddy opened 4 years ago

devfreddy commented 4 years ago

Summary

After selecting a MapLocation, the DetailPanel has a tab for Events/Violations etc. When a user selects one it launches a stacked nerdlet RecentIncidents, currently it launches with all events collapsed.

Desired Behaviour

RecentIncidents nerdlet should expand the event the user clicked on to get there.

Possible Solution

When a user clicks on an event, we should add an identifier to the urlState that the RecentIncidents nerdlet can pull out to identify which event to expand as its opening.

danielgolden commented 4 years ago

We're already passing clickedViolation, we just have no way of communicating to the <Timeline /> component which item we want to be expanded by default. An issue for this feature request exists: https://github.com/newrelic/nr1-community/issues/55.