 
 
   contextTypes:
-    geordi: React.PropTypes.object
+    geordi: React.PropTypes.object,
+    initialLoadComplete: React.PropTypes.bool,
+    router: React.PropTypes.object
 
   propTypes:
     loadingSelectedWorkflow: React.PropTypes.bool

  componentWillUnmount: () ->
    @context.geordi?.forget ['workflowID']

  componentWillReceiveProps: (nextProps) ->
    if @props.project isnt nextProps.project
      @loadAppropriateClassification(nextProps)
    unless nextProps.loadingSelectedWorkflow

    if nextProps.loadingSelectedWorkflow is false and nextProps.user isnt null
      @shouldWorkflowAssignmentPrompt(nextProps)

    if nextProps.location.query?.group isnt @props.location.query?.group or nextProps.user isnt @props.user
      @validateUserGroup(nextProps)

    if nextProps.user is null and nextContext.initialLoadComplete
      @clearUserGroupForClassification(nextProps, nextContext)

  shouldWorkflowAssignmentPrompt: (nextProps) ->
    # Only for Gravity Spy which is assigning workflows to logged in users
