aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2020-01-28 08:41:21 +0100
committersonartech <sonartech@sonarsource.com>2020-05-08 20:03:26 +0000
commitae779528b341900152976ceefbef862ce715dbe6 (patch)
treecca0f61c533e54510dd8dce3ecff20e096f47358 /server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx
parenta684f6e050ad537e268657951394c848f896ee1a (diff)
downloadsonarqube-ae779528b341900152976ceefbef862ce715dbe6.tar.gz
sonarqube-ae779528b341900152976ceefbef862ce715dbe6.zip
SONAR-12911 Code viewer is not accessible to blind users
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx
index 03f68cd8285..85cea2f0def 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx
+++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx
@@ -59,7 +59,6 @@ interface Props {
issuePopup: { issue: string; name: string } | undefined;
issues: T.Issue[] | undefined;
issuesByLine: { [line: number]: T.Issue[] };
- linePopup: T.LinePopup | undefined;
loadDuplications: (line: T.SourceLine) => void;
loadingSourcesAfter: boolean;
loadingSourcesBefore: boolean;
@@ -71,7 +70,6 @@ interface Props {
onIssueSelect: (issueKey: string) => void;
onIssuesOpen: (line: T.SourceLine) => void;
onIssueUnselect: () => void;
- onLinePopupToggle: (linePopup: T.LinePopup) => void;
onLocationSelect: ((index: number) => void) | undefined;
onSymbolClick: (symbols: string[]) => void;
openIssuesByLine: { [line: number]: boolean };
@@ -143,7 +141,6 @@ export default class SourceViewerCode extends React.PureComponent<Props> {
key={line.line}
last={index === this.props.sources.length - 1 && !this.props.hasSourcesAfter}
line={line}
- linePopup={this.props.linePopup}
loadDuplications={this.props.loadDuplications}
onIssueChange={this.props.onIssueChange}
onIssuePopupToggle={this.props.onIssuePopupToggle}
@@ -151,7 +148,6 @@ export default class SourceViewerCode extends React.PureComponent<Props> {
onIssueUnselect={this.props.onIssueUnselect}
onIssuesClose={this.props.onIssuesClose}
onIssuesOpen={this.props.onIssuesOpen}
- onLinePopupToggle={this.props.onLinePopupToggle}
onLocationSelect={this.props.onLocationSelect}
onSymbolClick={this.props.onSymbolClick}
openIssues={this.props.openIssuesByLine[line.line] || false}