streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.9k stars 357 forks source link

Inform user of local community events #1798

Open westnordost opened 4 years ago

westnordost commented 4 years ago

The app knows the user's location and by subscribing to the feed from https://github.com/thomersch/openstreetmap-calendar (or the calendar in the wiki), using the new notification system, the app could notify the user of local community events.

Optionally, the user should be able to completely unsubscribe from this in the settings. Optionally, the user should be able to add the event to the calendar on his smartphone with one click.

The notification button should only be used to hint to new events, what is probably necessary is to implement some kind of calendar view which would then pop up and show all the events. This might be too much work for what its worth though, as usually, in one city, there is usually also only just one recurring event (i.e. Stammtisch).

Before this is started, it must be ascertained if openstreetmap-calendar actually provides the lat-lon of the event, or just the city name. If the latter, a geocoder mus be involved, making the whole thing more complicated to implement.

westnordost commented 4 years ago

I submitted an application for a microgrant at the OSMF to develop this feature.

The microgrant project requests are public and the wiki page about microgrants encourages users to endorse project requests they like. So if you read the project descriptions and like an idea, feel free to voice it there, and why. 👍

kmpoppe commented 1 month ago

@westnordost Did you, additionally to writing it in the microgrant application and what you asserted above, have any mockups for an implementation or more ideas?

westnordost commented 1 month ago

You probably mean mockups in terms of UI? No. Are you interested in taking on that task?

Some thoughts:

Message

Tab in user screen

kmpoppe commented 1 month ago

While I was browsing through old Issues I found this one, and - as I already found this interesting when you made the microgrant application - I thought of investigating further.

So yes, if you like, you can assign this one to me.

Thoughts on your thoughts:

westnordost commented 1 month ago

Right. At least the UX somewhat dictates how the backend should look like. So, a simple dialog that just contains all the functionality would be fine at first, and then maybe I jump in to make the interface more colorful. In case you start working on it soon, please base your (UI) work on the compose-edithistory branch.

matkoniecz commented 1 month ago

So yes, if you like, you can assign this one to me.

Based on my own "lets start 136 projects at once" it seems better to first finish first one of #5889 #5903 #5741

kmpoppe commented 1 month ago

Whereof one is finished and awaits a beta 59.1 or 60, one needs tweaks that I can't finish right now because I'm on holiday and in one I explicitly asked for help with icons as I am unable to create something @westnordost envisioned.

And yes, I'm a busy adult that has other things to do that pay my bills. As almost everyone in this project.

matkoniecz commented 1 month ago

In cuch case I am sorry for doubting and overly matching to my situation.

kmpoppe commented 1 month ago

More food for thought:

westnordost commented 1 month ago

For single persisted data, check out

https://github.com/streetcomplete/StreetComplete/blob/master/app/src/main/java/de/westnordost/streetcomplete/data/preferences/Preferences.kt

El 30 de septiembre de 2024 8:46:23 CEST, Kai Michael Poppe @.***> escribió:

More food for thought:

  • Dynamic filter is now in osmcal. We can therefore now display events in a 25k radius.
  • Events don't have a creation date in the API output and @thomersch thinks, that we do not need it because
    • There is a days filter, so we can only display X amount of days in the future (I think 90 would be a good value)
    • The id of the event is counting upwards. As the filter might be displaying events at different places (the user moves around the world using the app), I think the best way to know what we have displayed is storing the ids in a local db (I will need to dive into the code finding out how that works ;-))

-- Reply to this email directly or view it on GitHub: https://github.com/streetcomplete/StreetComplete/issues/1798#issuecomment-2382245238 You are receiving this because you were mentioned.

Message ID: @.***>