import graphql from 'babel-plugin-relay/macro'
import { createFragmentContainer } from 'react-relay'

import Dashboard from 'js/components/Dashboard/DashboardComponent'

export default createFragmentContainer(Dashboard, {
  app: graphql`
    fragment DashboardContainer_app on App {
      campaign {
        isLive
      }
      ...UserMenuContainer_app
      ...TreePlantingCampaignContainer_app
    }
  `,
  user: graphql`
    fragment DashboardContainer_user on User
      # @tree-planting-campaign
      @argumentDefinitions(
        startTime: { type: "String" }
        endTime: { type: "String" }
      ) {
      id
      experimentActions {
        referralNotification
        searchIntro
      }
      joined
      searches
      tabs
      ...WidgetsContainer_user
      ...UserBackgroundImageContainer_user
      ...UserMenuContainer_user
      ...LogTabContainer_user
      ...LogAccountCreationContainer_user
      ...NewUserTourContainer_user
      ...AssignExperimentGroupsContainer_user
      ...TreePlantingCampaignContainer_user
    }
  `,
})

@@ -1037,24 +1037,85 @@
 tainer_user%0A
+        @arguments(startTime: $startTime, endTime: $endTime)%0A
     %7D%0A  %60,%0A%7D

Fix recruits query timeframe