diff --git a/.eslintrc.js b/.eslintrc.js index 74f83d9ad..e292cb2bd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,7 +34,6 @@ module.exports = { }, ], rules: { - "jsx-a11y/anchor-is-valid": 1, "no-console": ["error", { allow: ["error", "warn", "dir"] }], curly: "error", "@typescript-eslint/switch-exhaustiveness-check": "error", diff --git a/less/documentDB.less b/less/documentDB.less index 79e9435c3..8e4e76539 100644 --- a/less/documentDB.less +++ b/less/documentDB.less @@ -3079,3 +3079,6 @@ settings-pane { background: white; height: 100%; } +.moreOption { + color: #337ab7; +} \ No newline at end of file diff --git a/src/Common/Upload/Upload.tsx b/src/Common/Upload/Upload.tsx index 3feb4fdfd..d2fbfec90 100644 --- a/src/Common/Upload/Upload.tsx +++ b/src/Common/Upload/Upload.tsx @@ -66,9 +66,15 @@ export const Upload: FunctionComponent = ({ onChange={onUpload} role="button" /> - + {title} - + ); diff --git a/src/Explorer/Controls/CollapsiblePanel/__snapshots__/CollapsibleSectionComponent.test.tsx.snap b/src/Explorer/Controls/CollapsiblePanel/__snapshots__/CollapsibleSectionComponent.test.tsx.snap index 675a79239..ee3212b4d 100644 --- a/src/Explorer/Controls/CollapsiblePanel/__snapshots__/CollapsibleSectionComponent.test.tsx.snap +++ b/src/Explorer/Controls/CollapsiblePanel/__snapshots__/CollapsibleSectionComponent.test.tsx.snap @@ -4,7 +4,7 @@ exports[`CollapsibleSectionComponent renders 1`] = `
`; diff --git a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap index 0798c01ef..23d18b125 100644 --- a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap +++ b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap @@ -654,12 +654,10 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` > @@ -671,12 +669,10 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` diff --git a/src/Explorer/Graph/GraphExplorerComponent/EditorNeighborsComponent.tsx b/src/Explorer/Graph/GraphExplorerComponent/EditorNeighborsComponent.tsx index c77fc2852..ff50b9650 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/EditorNeighborsComponent.tsx +++ b/src/Explorer/Graph/GraphExplorerComponent/EditorNeighborsComponent.tsx @@ -214,8 +214,14 @@ export class EditorNeighborsComponent extends React.Component - - Delete this.removeAddedEdgeToNeighbor(index)} /> + this.removeAddedEdgeToNeighbor(index)} + onClick={() => this.removeAddedEdgeToNeighbor(index)} + tabIndex={0} + > + Delete diff --git a/src/Explorer/Graph/GraphExplorerComponent/EditorNodePropertiesComponent.tsx b/src/Explorer/Graph/GraphExplorerComponent/EditorNodePropertiesComponent.tsx index 271c90ba9..43d2bdbf0 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/EditorNodePropertiesComponent.tsx +++ b/src/Explorer/Graph/GraphExplorerComponent/EditorNodePropertiesComponent.tsx @@ -123,7 +123,7 @@ export class EditorNodePropertiesComponent extends React.Component { + onBlur={(e) => { singleValue.type = e.target.value as ViewModels.InputPropertyValueTypeString; if (singleValue.type === "null") { singleValue.value = undefined; @@ -217,7 +217,7 @@ export class EditorNodePropertiesComponent extends React.Component { + onBlur={(e) => { firstValue.type = e.target.value as ViewModels.InputPropertyValueTypeString; this.props.onUpdateProperties(this.props.editedProperties); }} diff --git a/src/Explorer/Graph/GraphExplorerComponent/__snapshots__/EditorNodePropertiesComponent.test.tsx.snap b/src/Explorer/Graph/GraphExplorerComponent/__snapshots__/EditorNodePropertiesComponent.test.tsx.snap index adffe505b..366f9d454 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/__snapshots__/EditorNodePropertiesComponent.test.tsx.snap +++ b/src/Explorer/Graph/GraphExplorerComponent/__snapshots__/EditorNodePropertiesComponent.test.tsx.snap @@ -93,7 +93,7 @@ exports[` renders component 1`] = ` @@ -344,7 +344,7 @@ exports[` renders proper unicode 1`] = `