Open devfreddy opened 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.
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 theRecentIncidents
nerdlet can pull out to identify which event to expand as its opening.