Add device calendar export for TUM calendar events#334
Open
ManuelMuehlberger wants to merge 3 commits intoTUM-Dev:mainfrom
Open
Add device calendar export for TUM calendar events#334ManuelMuehlberger wants to merge 3 commits intoTUM-Dev:mainfrom
ManuelMuehlberger wants to merge 3 commits intoTUM-Dev:mainfrom
Conversation
- add device_calendar dependency and resolved lockfiles - configure Android calendar permissions and ProGuard keep rules - add iOS calendar usage descriptions and updated Podfile.lock
- add CalendarSyncService for one-way export to a device calendar - register and trigger calendar mirroring from CalendarViewModel - add calendar sync preference support - prevent duplicate event creation by guarding repeated save taps
- add settings state for device calendar export - replace sync wording with export wording - add confirmation dialogs explaining one-way export behavior - add English and German translations for the new copy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for exporting TUM calendar events to the device calendar and addresses issue #217.
Events are written to a
TUM Campuscalendar on the device usingdevice_calendar. This is a one-way export: TUM events are mirrored to the device calendar, but changes on the device are not synced back to TUM.The settings screen now includes an export toggle with confirmation dialogs that explain the behavior a bit more clearly. Exported events are refreshed whenever the app is started. This PR also prevents duplicate event creation when the submit button is tapped repeatedly.
I am very open to feedback.
Testing
Related