diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2020-01-28 08:41:21 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-05-08 20:03:26 +0000 |
commit | ae779528b341900152976ceefbef862ce715dbe6 (patch) | |
tree | cca0f61c533e54510dd8dce3ecff20e096f47358 /server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx | |
parent | a684f6e050ad537e268657951394c848f896ee1a (diff) | |
download | sonarqube-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.tsx | 4 |
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} |