InsightSearchAnalyticsActions

This is for:

Developer

The Insight Search analytics action creators.

Loader Function

loadInsightSearchAnalyticsActions

Loads the insight search analytics actions.

Parameters

  • engine: InsightEngine

    The insight engine.

Returns InsightSearchAnalyticsActionCreators: The Insight Search analytics action creators.

InsightSearchAnalyticsActionCreators

logContextChanged

The event to log when the context is updated.

Parameters

  • caseId: string

    The case ID.

  • caseNumber: string

    The case number.

Returns InsightAction: A dispatchable action.

logExpandToFullUI

The event to log when the full search page is opened.

Parameters

  • caseId: string

    The case ID.

  • caseNumber: string

    The case number.

  • fullSearchComponentName: string

    The name of the full search component to open.

  • triggeredBy: string

    The action that triggered the event.

Returns InsightAction<AnalyticsType.Custom>: A dispatchable action.