Remove non-functional issue options from UI

This commit is contained in:
Quincy Morgan
2019-02-04 11:15:05 -05:00
parent d76c33187b
commit 977e667453
3 changed files with 16 additions and 23 deletions
+1 -8
View File
@@ -1174,13 +1174,6 @@ en:
icon_tooltip: warning
options:
title: Options
features_to_validate:
edited:
description: Edited features only
tooltip: Flag issues with features you create and modify
all:
description: All features
tooltip: Flag issues with all nearby features
disconnected_way:
highway:
message: "{highway} is disconnected from other roads and paths."
@@ -1243,7 +1236,7 @@ en:
undo_redo: Connected crossing features.
connect_almost_junction:
title: Connect the features
undo_redo: Connected two features that were really close.
undo_redo: Connected two very close features.
continue_feature:
title: Continue this feature
delete_feature:
+1 -11
View File
@@ -1424,16 +1424,6 @@
"options": {
"title": "Options"
},
"features_to_validate": {
"edited": {
"description": "Edited features only",
"tooltip": "Flag issues with features you create and modify"
},
"all": {
"description": "All features",
"tooltip": "Flag issues with all nearby features"
}
},
"disconnected_way": {
"highway": {
"message": "{highway} is disconnected from other roads and paths.",
@@ -1522,7 +1512,7 @@
},
"connect_almost_junction": {
"title": "Connect the features",
"undo_redo": "Connected two features that were really close."
"undo_redo": "Connected two very close features."
},
"continue_feature": {
"title": "Continue this feature"
+14 -4
View File
@@ -242,9 +242,9 @@ export function uiIssues(context) {
}
}
if (!pane.select('.disclosure-wrap-issues_options').classed('hide')) {
updateFeatureApplicabilityList();
}
//if (!pane.select('.disclosure-wrap-issues_options').classed('hide')) {
// updateFeatureApplicabilityList();
//}
}
function issues(selection) {
@@ -340,6 +340,16 @@ export function uiIssues(context) {
);
// options
/*
// add this back to core.yaml when re-enabling the options
features_to_validate:
edited:
description: Edited features only
tooltip: Flag issues with features you create and modify
all:
description: All features
tooltip: Flag issues with all nearby features
content
.append('div')
.attr('class', 'issues-options')
@@ -347,7 +357,7 @@ export function uiIssues(context) {
.title(t('issues.options.title'))
.content(renderIssuesOptions)
);
*/
update();
context.keybinding()