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

allow marking objects as without opening hours sign [prepare for a tag replacement] #1118

Merged
merged 7 commits into from
Aug 15, 2018

Conversation

matkoniecz
Copy link
Member

fixes #1076

screenshot_2018-07-03-19-09-16-370_de westnordost streetcomplete debug
screenshot_2018-07-03-19-09-23-913_de westnordost streetcomplete debug

@rugk
Copy link
Contributor

rugk commented Jul 3, 2018

Being unable to collect information != No signs with these information.

E.g. it could be access restricted, not thgere any more, etc. All things, which would require the user to select the "add note" instead.

So i'd suggest to reword the warning message to make that clear. The menu item is quite fine, IMHO.

@matkoniecz
Copy link
Member Author

reword the warning message to make that clear

Do you have any idea what would fit? Maybe back to earlier "Are you sure that there is no sign with opening hours info?"

@rugk
Copy link
Contributor

rugk commented Jul 3, 2018

Yes, that's a bit clearer e.g.

Copy link
Member

@westnordost westnordost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
I will merge this for the next major version, best together with the other *:signed quest you made

@@ -453,6 +453,9 @@ Otherwise, you can download another keyboard in the app store. Popular keyboards
<string name="invalidate_confirmation">Invalidate</string>
<string name="invalidation_dialog_message">Invalidating the cache causes the quests to be updated next time they are downloaded. The quest cache is invalidated automatically after one week and immediately when a quest you solved turns out to be already answered by someone else.</string>
<string name="quest_openingHours_emptyAnswer">You need to describe what is on the sign. If there is no sign, you should ask for the opening hours inside.</string>
<string name="quest_openingHours_no_sign">Opening hours are unknown</string>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it should say "No opening hours sign"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to avoid discouraging people from asking about opening hours. People should use this option only when there is no opening hours sign and there are unable/unwilling to collect it by other means (usually asking worker inside).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But this is exactly what the opening_hours:signed tag is about.

Copy link
Member Author

@matkoniecz matkoniecz Jul 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree but I think that there are three situations

  • opening hours are signed (tag opening_hours)
  • opening hours are not signed, one is willing and able to collect them anyway (maybe shop is without customers and one is able to ask shopkeeper, maybe one has a local knowledge, maybe...) -> tagging opening_hours and tagging opening_hours:signed=no is correct but tagging opening_hours is preferable
  • opening hours are unsigned, one is unable or unwilling to collect the opening hours data -> tag opening_hours:signed

For the second case I wanted to avoid tagging opening_hours:signed but I may change that if you are sure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@westnordost

I may change that if you are sure

ping?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please do.
For the second case, users are slightly encouraged to collect them anyway because the not-signed answer is hidden in the other answers submenu

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

@matkoniecz
Copy link
Member Author

best together with the other *:signed quest you made

Which one? I would be happy to make PR but I am not sure for which quest it would be useful.

@westnordost
Copy link
Member

collection_times:signed

@matkoniecz
Copy link
Member Author

OK, I will make it (after making final interface decision here in discussion above).

@matkoniecz matkoniecz changed the title allow marking objects as without opening hours sign allow marking objects as without opening hours sign [waiting for a confrmation] Jul 11, 2018
@matkoniecz matkoniecz changed the title allow marking objects as without opening hours sign [waiting for a confrmation] allow marking objects as without opening hours sign [waiting for a confirmation] Jul 11, 2018
@matkoniecz matkoniecz changed the title allow marking objects as without opening hours sign [waiting for a confirmation] allow marking objects as without opening hours sign [waiting for fix by author] Jul 15, 2018
@matkoniecz
Copy link
Member Author

collection_times:signed

I think that given that this change are supposed to be added together I will add it to this PR.

@matkoniecz
Copy link
Member Author

I wonder what should be done with note:collection_times

My current plan based on https://taginfo.openstreetmap.org/keys/note%3Acollection_times#values is to drop support for this tag as part of the PR and close to release retag it (to collection_times:signed or collection_times, depending on its content)

@matkoniecz matkoniecz changed the title allow marking objects as without opening hours sign [waiting for fix by author] allow marking objects as without opening hours sign [waiting for confirmation that dropping support for note:collection_times is a good idea + testing] Jul 18, 2018
@matkoniecz matkoniecz force-pushed the unsigned_opening_hours branch from 1ab9a46 to b03b174 Compare July 20, 2018 13:25
@westnordost
Copy link
Member

I agree, dropping support would be fine, and changing the already existing note:collection_times=no␣times␣specified␣on␣the␣box tags would be good (after the changes went live)

It is by the way super convenient for me that you put the current status in the title 👍

@matkoniecz
Copy link
Member Author

It is by the way super convenient for me that you put the current status in the title +1

Great! I worried a bit that each title change may send notifications/mail/whatever and I was not sure is it a good idea (I was doing it to avoid getting lost in a stack of PRs).

Now I can stop worrying :)

@matkoniecz matkoniecz changed the title allow marking objects as without opening hours sign [waiting for confirmation that dropping support for note:collection_times is a good idea + testing] allow marking objects as without opening hours sign [drop support for note:collection_times, prepare for a tag replacement + testing] Jul 20, 2018
# Conflicts:
#	app/src/main/res/values/strings.xml
@westnordost
Copy link
Member

You already dropped support for note:collection_times

@westnordost westnordost changed the title allow marking objects as without opening hours sign [drop support for note:collection_times, prepare for a tag replacement + testing] allow marking objects as without opening hours sign [prepare for a tag replacement + testing] Aug 15, 2018
@westnordost westnordost changed the title allow marking objects as without opening hours sign [prepare for a tag replacement + testing] allow marking objects as without opening hours sign [prepare for a tag replacement] Aug 15, 2018
@westnordost
Copy link
Member

done, tested.
It would be great if you put "prepare for a tag replacement" on your internal todo list, naturally this PR is closed automatically when this is merged, which I am doing now.

@westnordost westnordost merged commit d11226e into streetcomplete:master Aug 15, 2018
@matkoniecz
Copy link
Member Author

Sorry, I had no time recently - and thanks for finishing this!

@matkoniecz matkoniecz deleted the unsigned_opening_hours branch November 26, 2018 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow "there is no opening hours sign" answer to opening hours quest
3 participants