mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 22:03:37 +02:00
Add Osmose QA layer and service
Initial implementation - need to add UI for the errors and correctly set up support for the desired error types provided by osmose.
This commit is contained in:
@@ -149,6 +149,12 @@ export function uiCommit(context) {
|
||||
tags['closed:improveosm'] = iOsmClosed.join(';').substr(0, tagCharLimit);
|
||||
}
|
||||
}
|
||||
if (services.osmose) {
|
||||
var osmoseClosed = services.osmose.getClosedIDs();
|
||||
if (osmoseClosed.length) {
|
||||
tags['closed:osmose'] = osmoseClosed.join(';').substr(0, 255);
|
||||
}
|
||||
}
|
||||
|
||||
// remove existing issue counts
|
||||
for (var key in tags) {
|
||||
@@ -585,4 +591,4 @@ export function uiCommit(context) {
|
||||
|
||||
|
||||
return utilRebind(commit, dispatch, 'on');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user