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

Option to close Osmose issues #686

Open
jneidel opened this issue Oct 26, 2024 · 10 comments
Open

Option to close Osmose issues #686

jneidel opened this issue Oct 26, 2024 · 10 comments
Labels
question Further information is requested

Comments

@jneidel
Copy link

jneidel commented Oct 26, 2024

I'm using the Osmose quest.
My options are "Report false positive" or "Remove this issue locally".
I would like the ability to close an Osmose issue.

Use case

I came across all of these Osmose issues that I fixed in SCEE. I would have liked to close the Osmose issue instead of marking it as false positive (messes with it's analytics.)

  • Unmapped max speed limit 30
  • Unmapped weight restriction
  • Unmapped animal_crossing
  • and more

Proposed Solution

An extra answer option to close the issue.

@mnalis
Copy link
Collaborator

mnalis commented Oct 29, 2024

Yes, you should not mark it as false positive as that is not correct claim; but I wonder have you considered "Remove this issue locally", and if so, why doesn't it work for you?

After all, Osmose issues (if really resolved) should be automatically removed on the next osmose run (which should be happening daily according to the docs).

So yes, there is benefit that Osmose close would be hiding that Osmose issue from another (SCEE) users in the same area solving Osmose quests in less than 24 hours , but only if they have not already downloaded the data before you've fixed the issue. Satisfying both is rather small window, so I am not sure if it would improve situation much unless there is huge amount of very active Osmose mappers in your area (and adding extra answer is code to write and maintain, which might probably better be spent elsewhere).

But for you personally, I think "Remove this issue locally" should work equally well as would "Close Osmose issue" API call. Given the above, do you agree, or have I missed something?

@jneidel
Copy link
Author

jneidel commented Oct 29, 2024

I will test if "Remove this issue locally" actually closes/removes the issue. If that is the case, then the close option wouldn't be necessary.

When I read "Remove this issue locally", though, I think "this will hide the issue from me in the future". Locally implies to me that it is not synced to the server.
A "close" option would be would more clear. There would be no misunderstanding with that option in my mind.

@mnalis
Copy link
Collaborator

mnalis commented Nov 6, 2024

Locally implies to me that it is not synced to the server.

Yeah, there is no API call to the Osmose server to change the Osmose issue status. Thus, it is only local removal of Osmose issue (i.e. it work equally well when you're offline).

But of course, any change to the OSM tags you make in SCEE (e.g. by solving a quest, or deleting a node, or manual tag edit, overlay changes etc) will result in OSM data being changed and uploaded to OSM API (that is the whole point of the SCEE, after all! If it never uploaded any data, it would be quite useless toy)

And Osmose will check OSM data from OSM servers daily, and detect which issues have been fixed since yesterday, as well as which new issues have occurred, and represent it in its database/map of issues.

If you think about it, Osmose would be quite useless as automated checking tool if it didn't automatically detect both those fixes as well as regressions by itself (and instead if it needed humans to tell it manually for each new bug or each solved bug!)


Perhaps a better text / translation would help, but I can't seem to find short enough version (i.e. few words at most; and definitely much shorter than a few paragraphs above) that would be able to better clarify what it does / how it works. 🤷‍♂️

@jneidel
Copy link
Author

jneidel commented Nov 7, 2024

That does make sense. I'm just used to Vespuccis "close task" option on Osmose issues.

"Remove this issue locally" did not close/remove the issue on the server. It just hid it from me.

@mnalis
Copy link
Collaborator

mnalis commented Nov 8, 2024

"Remove this issue locally" did not close/remove the issue on the server. It just hid it from me.

Not even after 24h hours have passed and Osmose re-verified its database?

Can you link to example Osmose issue which had failed to automatically close after the underlying data which were causing the issue have been properly fixed in OSM database?

@goldfndr
Copy link

goldfndr commented Nov 9, 2024

Clarification: within https://github.com/Helium314/SCEE/blob/modified/app/src/main/java/de/westnordost/streetcomplete/quests/osmose/OsmoseDao.kt at line 168, SCEE is coded to be able to upload "done" for a resolved issue, similar to Vespucci's PR 1651 in osmoseServer at changeState.

@esilja
Copy link

esilja commented Nov 10, 2024

MarcusWolschon/osmeditor4android#1651

@jneidel
Copy link
Author

jneidel commented Nov 15, 2024

As I understand it: on the edit of an item, a "done" update is sent to Osmose.

Wouldn't it make sense to hide the note (aka remove locally) for the user at the same time, so that they are not confused?

@mnalis
Copy link
Collaborator

mnalis commented Dec 18, 2024

As I understand it: on the edit of an item, a "done" update is sent to Osmose.

Is that I guess or have you actually tested it? (I haven't)

Wouldn't it make sense to hide the note (aka remove locally) for the user at the same time, so that they are not confused?

Perhaps (although I'm not sure even that editing an item should be sending "done", as there is no guarantee that editing has actually fixed the issue). But I agree it would make sense to keep Osmose server and local state in sync (when possible).

However @jneidel that seems different issue then the one originally reported, if I am understanding it correctly?

For original issue, we'd still need an answer for #686 (comment) if you could answer it?

@mnalis mnalis added the question Further information is requested label Dec 18, 2024
@jneidel
Copy link
Author

jneidel commented Dec 21, 2024

Can you link to example Osmose issue which had failed to automatically close after the underlying data which were causing the issue have been properly fixed in OSM database?

I don't have an example for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants