Skip to content

Commit

Permalink
Reverting AxeResultToIssueFilingDataConverter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaniChinthala committed Apr 19, 2024
1 parent 6919342 commit 1e12aa6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DetailsView/details-view-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
7 changes: 7 additions & 0 deletions src/DetailsView/details-view-initializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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';
Expand Down Expand Up @@ -406,6 +408,7 @@ if (tabId != null) {
const previewFeatureFlagsHandler = new PreviewFeatureFlagsHandler(
getAllFeatureFlagDetails(),
);
const scopingFlagsHandler = new PreviewFeatureFlagsHandler(getAllFeatureFlagDetails());
const dropdownClickHandler = new DropdownClickHandler(
dropdownActionMessageCreator,
TelemetryEventSource.DetailsView,
Expand Down Expand Up @@ -668,9 +671,11 @@ if (tabId != null) {
userConfigMessageCreator,
leftNavLinkBuilder: new LeftNavLinkBuilder(),
getStatusForTest,
outcomeTypeFromTestStatus,
outcomeStatsFromManualTestStatus,
assessmentsProviderWithFeaturesEnabled,
outcomeTypeSemanticsFromTestStatus,
getInnerTextFromJsxElement,
storesHub,
loadTheme,
urlParser,
Expand Down Expand Up @@ -706,6 +711,8 @@ if (tabId != null) {
clickHandlerFactory,
issuesTableHandler,
previewFeatureFlagsHandler,
scopingFlagsHandler,
Assessments,
assessmentViewUpdateHandler,
navLinkRenderer,
getNarrowModeThresholds: getNarrowModeThresholdsForWeb,
Expand Down

0 comments on commit 1e12aa6

Please sign in to comment.