Replay explanations through shared history selections
This commit is contained in:
@@ -130,6 +130,9 @@ func (builder *historyBuilder) addObservation(observation historyObservation) in
|
||||
case historyRoleDefinition, historyRoleContribution, historyRoleCompositeDefinition, historyRoleCheckpoint:
|
||||
pointer := observation.path.String()
|
||||
builder.model.observationsByPointer[pointer] = append(builder.model.observationsByPointer[pointer], observationID)
|
||||
if observation.role == historyRoleContribution {
|
||||
builder.model.reportedPathIndex.insert(pointer, observationID)
|
||||
}
|
||||
case historyRoleOperation, historyRoleControl:
|
||||
builder.model.reportedPathIndex.insert(observation.reportedPath.String(), observationID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user