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

New quest ref for emergency access points #4386

Merged
merged 39 commits into from
Sep 28, 2022
Merged

New quest ref for emergency access points #4386

merged 39 commits into from
Sep 28, 2022

Conversation

mcliquid
Copy link
Contributor

@mcliquid mcliquid commented Sep 16, 2022

  • New Quest: "add ref" for (highway = emergency_access_point or emergency = access_point) and !name and !ref and noref != yes and ref:signed != no and !~"ref:.*"
  • Added quest icon
  • Add Option to Delete
  • Add other Answer "Is Assembly Point"
    • Remove highway-Tag if set

Fix #4384

Copy link
Member

@matkoniecz matkoniecz left a comment

Choose a reason for hiding this comment

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

Please, add authorship info to https://github.com/streetcomplete/StreetComplete/blob/master/res/graphics/authors.txt#L255 (unless icon is placeholder and @westnordost will make a new one)

Also, for icon I suspect that inner "Emergency" can be removed to simplify it and make it more multilanguage-friendly (and making separate icon for each language is not a good idea :) )

@matkoniecz
Copy link
Member

In general: congratulations and thanks for submission! This quest is a bit borderline with relatively low usage but it fixes something validly reported as a problem by QA tool and requiring in-place survey and adding quest to more remote areas which are a bit quest-starved right now.

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.

The "Emergency" should be deleted from the icon. It is too small

@mcliquid mcliquid requested a review from matkoniecz September 18, 2022 15:24
@mcliquid
Copy link
Contributor Author

@Helium314 Unfortunately, I have to capitulate on the implementation of the image for the answer "Assembly Point". The Quest is from my point of view so far ready, but I just can't get the ImageView into the layout. I am not yet so deeply deved into Java. :(
Would you be interested in taking over?

@westnordost
Copy link
Member

westnordost commented Sep 23, 2022

But then this PR wouldn't be yours anymore. I added a hint how to do it in the comment, maybe this will help you.

@mcliquid
Copy link
Contributor Author

Thank you for all your help! I'm really thankful for that.

I've updated the PR according to your feedback and attached some screenshots of the functionallity.
I would declare this PR as "ready for publish".

Screenshots:
https://user-images.githubusercontent.com/3351668/192159389-8c25f36c-7a85-443e-82d7-cce155e27fb0.png
https://user-images.githubusercontent.com/3351668/192159392-9a8e0b09-6a84-461e-8c7d-b78abb34fcf5.png
https://user-images.githubusercontent.com/3351668/192159393-9865e7a1-a28e-435e-80e4-b90899b440a6.png

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.

Looks good now, just one thing

@westnordost
Copy link
Member

westnordost commented Sep 25, 2022

https://user-images.githubusercontent.com/3351668/192159392-9a8e0b09-6a84-461e-8c7d-b78abb34fcf5.png

"An emergency [...] is where people assemble in case of an emergency" sounds doppelt-gemoppelt. How about leaving out the first "emergency"? Would be more consistent with the other string, too.

Also, I am not sure if it is necessary to display the assembly point picture in such a huge size. On the other hand, I guess it can't hurt, I guess? (It looks like the size of the image makes the size of the dialog stretch out to its maximum dimensions)

@mcliquid
Copy link
Contributor Author

mcliquid commented Sep 25, 2022

Is it okay to give the graphic a width like "200p", or is that problematic for other resolutions?

image

@HolgerJeromin
Copy link
Contributor

The screenshot shows "highway milestone".
Is that a bug?

@mcliquid
Copy link
Contributor Author

The screenshot shows "highway milestone". Is that a bug?

No, it's tagged wrong / doubled. See https://www.openstreetmap.org/node/273208408

@westnordost westnordost merged commit e8fe3c7 into streetcomplete:master Sep 28, 2022
@mcliquid mcliquid deleted the new-quest-ref-for-access-points branch September 29, 2022 18:33
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.

Add ref for highway=emergency_access_point and emergency=access_point
5 participants