-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue manager and advanced validation #5830
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tion Added basic issues list in the Issues pane
- IssueManager performs validation on the current graph and also stores the issues and notifies listeners when the issues changed
added IssueManager
Add the Issues pane 1. Add a class to represent the validation issue 2. Extend the data model for an validation issue to (1) add a severity level field (useful for identify save-blocking issues later) (2) replace single entity with an array of entities (useful for issues involving multiple entities) (3) add a coordinates field for highlighting the location of the issue on the map (4) add a fixes field for possible automatic fixes 3. Update existing validation modules to use the new data model
Made the issue pane get the issues from the issue manager rather than validating itself
Corrected icon for warnings Made disconnected_highway issue a warning instead of an error
fixed maprules test and added missing_tag test
Fixed bug where stale issues would stick around in the issues pane
listening to user generated history changes for validation
quincylvania
commented
Feb 12, 2019
In iD codebase `loc` is usually a single coordinate pair and `coordinates` is usually an array of pairs
quincylvania
commented
Feb 13, 2019
(I think it worked this way before)
@bhousel @SilentSpike What about a fix list like this? This way we can recommend ways to resolve the issue without quick actions, and fixes with actions appear clickable. |
Extend at start/end doesn't make sense in this situation
Fix several bugs
5 tasks
Rename issue label class to messages Remove fix list animation
Different strings for one vs. a combination of deprecated tags
This was referenced Feb 16, 2019
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
To-Do Before Merge
To-Do Eventually
Issues
Special Thanks to @gaoxm, @wonga00, @chrisklaiber, @abalosc1, @maxgrossman, and @brianhatchl for code and feedback!