Skip to content

Aerialway bicycle quest#6544

Merged
westnordost merged 40 commits into
streetcomplete:masterfrom
HugoTHOLLON:aerialway_bicycle
Oct 30, 2025
Merged

Aerialway bicycle quest#6544
westnordost merged 40 commits into
streetcomplete:masterfrom
HugoTHOLLON:aerialway_bicycle

Conversation

@RaphaLLamothe

Copy link
Copy Markdown
Contributor

Adding the following quests suggested in #6457:

  • Does this aerialway transport bikes?

For now, the icon of the quest is SVG handmade with an aerialway. There are yes/no svg for answers and a blue background with a sun if it's only during summer.

Comment thread app/src/commonMain/kotlin/de/westnordost/streetcomplete/ApplicationConstants.kt Outdated
@paulklie

paulklie commented Oct 3, 2025

Copy link
Copy Markdown
Collaborator

Might want to add an option "there is no sign" that tags aerialway:bicycle:signed=no. What do the others think?

Comment thread app/src/androidMain/res/drawable/ic_quest_aerialway_bicycle.xml Outdated
changing the bad value "-1" in "summer"
Set back the name of the application
Comment thread app/src/androidMain/res/values/strings.xml Outdated
Comment thread app/src/androidMain/res/values/strings.xml Outdated
Comment thread app/src/androidMain/res/values/strings.xml Outdated
@paulklie

paulklie commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

I also believe that AImageListQuestForm is probably not the best form type here since I don't think the images add much information.
I believe a simple list like https://github.com/streetcomplete/StreetComplete/blob/master/app/src/androidMain/kotlin/de/westnordost/streetcomplete/quests/camping/AddCampType.kt might be better suited, but maybe some discussion here would be good.

@RaphaLLamothe

Copy link
Copy Markdown
Contributor Author

I also believe that AImageListQuestForm is probably not the best form type here since I don't think the images add much information. I believe a simple list like https://github.com/streetcomplete/StreetComplete/blob/master/app/src/androidMain/kotlin/de/westnordost/streetcomplete/quests/camping/AddCampType.kt might be better suited, but maybe some discussion here would be good.

I have an issue with this situation. As I added a string for the summer answer, I don't know how to add properly my string in the Res file (the commonMain strings.xml). I want to do it because I am trying to follow the camping quest, such as you recommended me. Thank you in advance for your response.

@westnordost

Copy link
Copy Markdown
Member

You always have to add your strings to the strings.xml in androidMain/res/values/, that's the "source" translation file. To copy over the strings to commonMain, you can execute the gradle task app:copyDefaultStringsToEnStrings.

Sorry about that (duplication), we are currently migrating to another UI framework. That the strings are now duplicated into two directories is a temporary solution, as the new UI code uses the strings from commonMain and the old UI code uses the strings from androidMain.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Quite nice!

I have a few suggestions to improve it, though. But it is not necessary to improve it for this PR to be merged. (I may improve it myself, then).

  • Grey on pink is not that well visible. I'd suggest to make the lift white (or another color).
  • Also, the line of the aerialway car could span the whole icon, it doesn't need to be cut off before it reaches the outline of the circle.
  • The icon would look more clean / less busy IMO if the bicycle was in the lift, i.e. a bicycle in a box that hangs off a line. I am not entirely sure if this would still be recognizable well as a lift without the "window". Something to try out.
  • personal opinion: I like the yellow for the bicycle better, it mixes better with the pink background
  • the shadow is inconsistent. IIRC the shadow of all icons is always exactly 4px under the icon itself (check other icons)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I am thankful for all these suggestions. I am actually working with InkScape, and it doesn't allow me to insert a good shadow properly. As the aerialway is from SVG Repo, I am not allowed (except if I am wrong) to edit the "item", and thus, with the added white lines, the shadows are superimposed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

what lisence is the original from svg repo under?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The license is PD License, which means Public Domain License if I am not wrong

Comment thread app/src/androidMain/res/drawable/ic_no_answer.xml Outdated
Comment thread app/src/androidMain/res/drawable/ic_no_sign.xml Outdated
Comment thread app/src/androidMain/res/drawable/ic_yes_answer.xml Outdated
Comment thread app/src/androidMain/res/drawable/ic_bicycle_during_summer.xml Outdated
@paulklie paulklie added the new quest accepted new quest proposal (if marked as blocked, it may require upstream work first) label Oct 19, 2025
@paulklie

Copy link
Copy Markdown
Collaborator

You forgot to include the .svg in your commit ;)

Comment thread app/src/androidMain/res/drawable/quest_aerialway_bicycle.xml
@westnordost

Copy link
Copy Markdown
Member

You forgot to include the .svg in your commit ;)

Speaking of which, even if the license is public domain, it is better to add attribution (with link to source and license information) in any case. This is done in the authors.txt in the /res/graphics/ directory.

Comment thread app/src/androidMain/res/drawable/ic_quest_aerialway_bicycle.xml Outdated
@westnordost

westnordost commented Oct 30, 2025

Copy link
Copy Markdown
Member

I remade the quest icon to my liking. I wouldn't say that it is clearly better than yours, but there were open issues with it anyway (missing shadow, you didn't update the SVG) anyway, so I took this as an opportunity as a shortcut to further PR forth-and-back.

(I removed the attribution to maki icons because I actually re-did the cabin - it's just a few lines anyway...)

@westnordost westnordost merged commit 0efddcb into streetcomplete:master Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new quest accepted new quest proposal (if marked as blocked, it may require upstream work first)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants