diff --git a/src/DetailsView/details-view-container.tsx b/src/DetailsView/details-view-container.tsx index 5d361273d26..78a87b7f122 100644 --- a/src/DetailsView/details-view-container.tsx +++ b/src/DetailsView/details-view-container.tsx @@ -32,13 +32,11 @@ import { UserConfigurationStoreData } from '../common/types/store-data/user-conf import { VisualizationScanResultData } from '../common/types/store-data/visualization-scan-result-data'; import { VisualizationStoreData } from '../common/types/store-data/visualization-store-data'; import { VisualizationType } from '../common/types/visualization-type'; -import { AxeResultToIssueFilingDataConverter } from '../issue-filing/rule-result-to-issue-filing-data'; import { DetailsRightPanelConfiguration } from './components/details-view-right-panel'; import { NoContentAvailable } from './components/no-content-available/no-content-available'; export type DetailsViewContainerDeps = { detailsViewActionMessageCreator: DetailsViewActionMessageCreator; - axeResultToIssueFilingDataConverter: AxeResultToIssueFilingDataConverter; } & NarrowModeDetectorDeps & DetailsViewContentWithLocalStateDeps; diff --git a/src/DetailsView/details-view-initializer.ts b/src/DetailsView/details-view-initializer.ts index a5a71cfbb48..c4f91bf03d7 100644 --- a/src/DetailsView/details-view-initializer.ts +++ b/src/DetailsView/details-view-initializer.ts @@ -90,6 +90,7 @@ import { AssessmentReportModelBuilderFactory } from 'reports/assessment-report-m import { getDefaultAddListenerForCollapsibleSection } from 'reports/components/report-sections/collapsible-script-provider'; import { outcomeStatsFromManualTestStatus, + outcomeTypeFromTestStatus, outcomeTypeSemanticsFromTestStatus, } from 'reports/components/requirement-outcome-type'; import { FastPassReportHtmlGenerator } from 'reports/fast-pass-report-html-generator'; @@ -124,6 +125,7 @@ import { initializeFabricIcons } from '../common/fabric-icons'; import { getAllFeatureFlagDetails } from '../common/feature-flags'; import { FileURLProvider } from '../common/file-url-provider'; import { GetGuidanceTagsFromGuidanceLinks } from '../common/get-guidance-tags-from-guidance-links'; +import { getInnerTextFromJsxElement } from '../common/get-inner-text-from-jsx-element'; import { HTMLElementUtils } from '../common/html-element-utils'; import { ContentActionMessageCreator } from '../common/message-creators/content-action-message-creator'; import { DropdownActionMessageCreator } from '../common/message-creators/dropdown-action-message-creator'; @@ -406,6 +408,7 @@ if (tabId != null) { const previewFeatureFlagsHandler = new PreviewFeatureFlagsHandler( getAllFeatureFlagDetails(), ); + const scopingFlagsHandler = new PreviewFeatureFlagsHandler(getAllFeatureFlagDetails()); const dropdownClickHandler = new DropdownClickHandler( dropdownActionMessageCreator, TelemetryEventSource.DetailsView, @@ -668,9 +671,11 @@ if (tabId != null) { userConfigMessageCreator, leftNavLinkBuilder: new LeftNavLinkBuilder(), getStatusForTest, + outcomeTypeFromTestStatus, outcomeStatsFromManualTestStatus, assessmentsProviderWithFeaturesEnabled, outcomeTypeSemanticsFromTestStatus, + getInnerTextFromJsxElement, storesHub, loadTheme, urlParser, @@ -706,6 +711,8 @@ if (tabId != null) { clickHandlerFactory, issuesTableHandler, previewFeatureFlagsHandler, + scopingFlagsHandler, + Assessments, assessmentViewUpdateHandler, navLinkRenderer, getNarrowModeThresholds: getNarrowModeThresholdsForWeb,