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

Change icon of Freizeit/Reisen category #486

Merged
merged 6 commits into from
Mar 3, 2022
Merged

Conversation

steffenkleinle
Copy link
Member

Fixes #417

Should I also adapt all other icons to use maki? We could also use this suitcase as icon:
image

@maxammann
Copy link
Member

I would say that we change all icons if they do not divert too much.

Copy link
Member

@maxammann maxammann left a comment

Choose a reason for hiding this comment

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

I just remembered we also need to change them on the map. This needs to be done here: https://github.com/digitalfabrik/ehrenamtskarte-maplibre-style

@michael-markl
Copy link
Member

I suggest, we either replace all icons with the new icon set or none :D But I do like the palm+island a lot better than the suit case :)

@steffenkleinle
Copy link
Member Author

steffenkleinle commented Feb 16, 2022

Some icons are fairly similar, some are quite a bit different/no equivalent available. I will create a proposal for each icon.

@steffenkleinle
Copy link
Member Author

@maxammann @Schedulaar please have a look. I am not really a fan of the icons tbh.

@michael-markl
Copy link
Member

To quickly toggle to rich diff for all files in the PR:

[...document.getElementsByTagName("button")].filter(btn => btn.getAttribute("aria-label") == "Display the rich diff").forEach(btn => btn.click())

You can also add a bookmark with the following contents to trigger it:

javascript:[...document.getElementsByTagName("button")].filter(btn => btn.getAttribute("aria-label") == "Display the rich diff").forEach(btn => btn.click())

@michael-markl
Copy link
Member

michael-markl commented Feb 16, 2022

I would be fine with the updated icons. Then we know for sure where they stem from (also document the source :) ).
Except for the bank-icon I think all replacements are okay.

Edit Actually, I think the new bank icon is fine as well...

@maxammann
Copy link
Member

maxammann commented Feb 18, 2022

Except for the bank-icon I think all replacements are okay.

I think icon "2" is weird. The category is sport, right?

EDIT: aaah it is a handle bar. The icon was so small that it looked like a double-arrow :D

@maxammann
Copy link
Member

maxammann commented Feb 18, 2022

How about this for sports?
soccer
(cultural backgorund heh :D)

@steffenkleinle
Copy link
Member Author

How about this for sports? soccer (cultural backgorund heh :D)

Fine for me, that would have been my second choice. If all other icons work, for you, I'll open a PR for the mapstyle as well.

@steffenkleinle
Copy link
Member Author

Where should I document the icon source?

@maxammann
Copy link
Member

For me it is obvious that icons come from maki :)

@michael-markl
Copy link
Member

We could add a README.md in frontend/assets/category-icons with a content similar to

# Category Icons
This folder contains the icons of the different categories of accepting stores.
They should always be in-sync with the icons used in [https://github.com/digitalfabrik/ehrenamtskarte-maplibre-style](https://github.com/digitalfabrik/ehrenamtskarte-maplibre-style).

@maxammann
Copy link
Member

I merged the icon task for the map

@maxammann
Copy link
Member

New spritesheet is deployed here: https://maps.tuerantuer.org/styles/ehrenamtskarte/sprites.png

Note, that app installations which still use the old legacy map style wont get the updated icons.

@steffenkleinle
Copy link
Member Author

@maxammann anything missing here? You have still requested changes.

@steffenkleinle steffenkleinle enabled auto-merge March 3, 2022 12:08
@steffenkleinle steffenkleinle merged commit b78f97f into main Mar 3, 2022
@steffenkleinle steffenkleinle deleted the 417-travel-icon branch March 3, 2022 12:18
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.

Change icon of Freizeit/Reisen category
3 participants