Conversation
app/src/commonMain/kotlin/de/westnordost/streetcomplete/data/osmcal/OsmCalUpdater.kt
Outdated
Show resolved
Hide resolved
app/src/commonMain/kotlin/de/westnordost/streetcomplete/data/osmcal/CalendarEventsController.kt
Outdated
Show resolved
Hide resolved
is this message happening once month before meeting? Maybe less advance would be better? If yes then maybe also appear it say one day before event? or is it constantly present for present for one month? (not saying it would be better) |
…smcal/CalendarEventsController.kt Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
|
No, it is just notified once. The expectation is that if it strikes the user as interesting, he will click on the "open in browser" button to view the event. There is a button on that webpage to put that into his calendar. Notifying several times for the same event may come across as intrusive. StreetComplete should not behave like a calendar app with already pre-filled and un-deletable dates locked in. I'd expect most events to be recurring events, so if the user misses one because he forgot about it after initially being a bit interested, that's fine, there'll be another one. |
fixes #1798
Events from the OpenStreetMap calendar (OsmCal) are fetched up to daily when starting the application. (This is about 15kB compressed.)
For events that will take place soon (within one month) and that are relatively close-by (up to 25km as the crow flies), in-app messages will be added for the user to notify him of that.
Screen_recording_20260219_171449.mp4
The user can turn this on/off both in the dialog itself and in the settings.
Furthermore, these messages only start to show up after the OSM calendar has been "unlocked" as a link in an achievement.
This unlocks after eight days of actively mapping. (It is the same with the weeklyOSM messages, they also only unlock after the weeklyOSM link has been unlocked. This happens after 4 days of activity.)