Closed theblackhole closed 2 years ago
Hmm, seems /calendar/event?action=VIEW&eid=...
redirects to /calendar/u/0/r/month?eid=...&sf=true
to view the event popup in the Month view.
I'm can understand the need for an option, but I'll probably leave the default on editing the event.
Looks like the current regex replacement code is editing the https://www.google.com/calendar/event?eid=...&ctz=Etc/UTC
which redirects to the web month view like this PR does.
I've added a config toggle in the Google Calendar config tab switch between opening the event view or month view.
This PR updates the Google Calendar event url to open it in view mode (a modal with event's details) instead of edit mode. This prevents unwanted modifications, especially in workspace environment as we deal with mostly RSVP events from colleagues:
If you want to keep a shortcut to edit the event, I suggest to add a pencil button for this purpose (not in this PR, I don't know how to do it).