Skip to content
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

poor changeset description on changing road type #158

Closed
matkoniecz opened this issue Apr 27, 2017 · 6 comments
Closed

poor changeset description on changing road type #158

matkoniecz opened this issue Apr 27, 2017 · 6 comments

Comments

@matkoniecz
Copy link
Member

To reproduce: AddRoadName quest -> other answers.. -> Not a proper street -> It is just a service road (a track variant will probably also do that)

expected: changeset description will include info that highway key was changed ('change value of highway key'?)

actual: changeset description 'Determine road names', StreetComplete:quest_type tag has 'AddRoadName'

In addition, as error prone this should be posted in changeset separate from updating name keys.

@matkoniecz matkoniecz changed the title poor description on changing road type poor changeset description on changing road type Apr 27, 2017
@matkoniecz
Copy link
Member Author

This is especially important as user has no influence on changeset comment.

@westnordost
Copy link
Member

westnordost commented Apr 27, 2017 via email

@westnordost
Copy link
Member

westnordost commented Apr 27, 2017 via email

@matkoniecz
Copy link
Member Author

I see problem - now every quest is handled as belonging to single changeset type ( https://github.com/westnordost/StreetComplete/blob/ef46ee705101727d085c84aaffc7554d9cbf6631/app/src/main/java/de/westnordost/streetcomplete/data/osm/upload/OsmQuestChangesUpload.java#L253 ).

Changing it would require quest objects to split changes into multiple groups, each with their own changeset type (rather one change with quest type considered as sufficient to sort into changesets).

On the other hand description "all kind of street-related stuff changed" is not nice.

@matkoniecz
Copy link
Member Author

It would be easier to adapt the changeset comment to denote that this is also a possible change that can be made in the frame of this quest.

Yeah, as first step that would be great. But great changeset descriptions would really help to avoid causing problems among people editing with full scale editors.

@westnordost
Copy link
Member

Yes. For a proper implementation, I'd have to make the changeset comment dependent of the actual quest again. The OpenChangesetsDao will need to also persist the changeset comment for each opened changeset and when determining whether or not to open a new changeset, it has to look not only onto the quest type but also the comment.

westnordost added a commit that referenced this issue Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants