1- import { useAtomValue } from 'jotai'
2- import { lazy , useCallback , useEffect , useState } from 'react'
3- import { STATUS } from 'react-joyride-react-19' // TODO: ideally revert back to react-joyride and not this temporary fork
4- import { useLocation } from 'react-router'
1+ import { useAtomValue } from 'jotai' ;
2+ import { lazy , useCallback , useEffect , useState } from 'react' ;
3+ import { STATUS } from 'react-joyride-react-19' ; // TODO: ideally revert back to react-joyride and not this temporary fork
4+ import { useLocation } from 'react-router' ;
55import {
6- type DropdownVarId ,
7- isDropdownVarId ,
8- } from '../../data/config/DropDownIds'
9- import { METRIC_CONFIG } from '../../data/config/MetricConfig'
6+ isDropdownVarId , type DropdownVarId
7+ } from '../../data/config/DropDownIds' ;
8+ import { METRIC_CONFIG } from '../../data/config/MetricConfig' ;
109import type {
1110 DataTypeConfig ,
12- DataTypeId ,
13- } from '../../data/config/MetricConfigTypes'
14- import { INCARCERATION_IDS } from '../../data/providers/IncarcerationProvider'
15- import { ALL } from '../../data/utils/Constants'
16- import ReportProvider from '../../reports/ReportProvider'
17- import { LIFELINE_IDS } from '../../reports/ui/LifelineAlert'
18- import { srSpeak } from '../../utils/a11yutils'
19- import { urlMap } from '../../utils/externalUrls'
20- import useDeprecatedParamRedirects from '../../utils/hooks/useDeprecatedParamRedirects'
21- import { useHeaderScrollMargin } from '../../utils/hooks/useHeaderScrollMargin'
11+ DataTypeId
12+ } from '../../data/config/MetricConfigTypes' ;
13+ import { INCARCERATION_IDS } from '../../data/providers/IncarcerationProvider' ;
14+ import { ALL } from '../../data/utils/Constants' ;
15+ import ReportProvider from '../../reports/ReportProvider' ;
16+ import { LIFELINE_IDS } from '../../reports/ui/LifelineAlert' ;
17+ import { srSpeak } from '../../utils/a11yutils' ;
18+ import { urlMap } from '../../utils/externalUrls' ;
19+ import useDeprecatedParamRedirects from '../../utils/hooks/useDeprecatedParamRedirects' ;
20+ import { useHeaderScrollMargin } from '../../utils/hooks/useHeaderScrollMargin' ;
2221import {
2322 getMadLibPhraseText ,
2423 getSelectedConditions ,
2524 MADLIB_LIST ,
2625 type MadLib ,
2726 type MadLibId ,
2827 type PhraseSegment ,
29- type PhraseSelections ,
30- } from '../../utils/MadLibs'
28+ type PhraseSelections
29+ } from '../../utils/MadLibs' ;
3130import {
3231 selectedDataTypeConfig1Atom ,
33- selectedDataTypeConfig2Atom ,
34- } from '../../utils/sharedSettingsState'
32+ selectedDataTypeConfig2Atom
33+ } from '../../utils/sharedSettingsState' ;
3534import {
3635 DATA_TYPE_1_PARAM ,
3736 DATA_TYPE_2_PARAM ,
@@ -41,17 +40,15 @@ import {
4140 MAP1_GROUP_PARAM ,
4241 MAP2_GROUP_PARAM ,
4342 parseMls ,
44- psSubscribe ,
45- SHOW_ONBOARDING_PARAM ,
46- setParameter ,
47- setParameters ,
48- stringifyMls ,
49- } from '../../utils/urlutils'
50- import CHLPMapsModal from './CHLPMapsModal'
51- import DefaultHelperBox from './DefaultHelperBox'
52- import MadLibUI from './MadLibUI'
53- import TopicInfoModal from './TopicInfoModal'
54- import VoteDotOrgModal from './VoteDotOrgModal'
43+ psSubscribe , setParameter ,
44+ setParameters , SHOW_ONBOARDING_PARAM , stringifyMls
45+ } from '../../utils/urlutils' ;
46+ import CHLPMapsModal from './CHLPMapsModal' ;
47+ import DefaultHelperBox from './DefaultHelperBox' ;
48+ import InsightReportModal from './InsightReportModal' ;
49+ import MadLibUI from './MadLibUI' ;
50+ import TopicInfoModal from './TopicInfoModal' ;
51+ import VoteDotOrgModal from './VoteDotOrgModal' ;
5552
5653const Onboarding = lazy ( async ( ) => await import ( './Onboarding' ) )
5754
@@ -330,6 +327,7 @@ function ExploreDataPage(props: ExploreDataPageProps) {
330327 < TopicInfoModal />
331328 < VoteDotOrgModal />
332329 < CHLPMapsModal />
330+ < InsightReportModal />
333331 < Onboarding
334332 callback = { onboardingCallback }
335333 activelyOnboarding = { activelyOnboarding }
0 commit comments