mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 11:16:36 +02:00
Remove non-functional issue options from UI
This commit is contained in:
+1
-8
@@ -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:
|
||||
|
||||
Vendored
+1
-11
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user