Replace validator tooltip with reference function, add tag diff

This commit is contained in:
Bryan Housel
2019-04-16 16:56:50 -04:00
parent 8afd8887cf
commit 01d2e3eaf3
20 changed files with 255 additions and 54 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ export function validationIssue(attrs) {
this.type = attrs.type; // required
this.severity = attrs.severity; // required - 'warning' or 'error'
this.message = attrs.message; // required - localized string
this.tooltip = attrs.tooltip; // required - localized string
this.reference = attrs.reference; // required - function(selection) to render reference info
this.entities = attrs.entities; // optional - array of entities
this.loc = attrs.loc; // optional - expect a [lon, lat] array
this.data = attrs.data; // optional - object containing extra data for the fixes