Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Suggestion/Request #6

Open
Hedgepigthe1st opened this issue Sep 11, 2023 · 15 comments
Open

Suggestion/Request #6

Hedgepigthe1st opened this issue Sep 11, 2023 · 15 comments

Comments

@Hedgepigthe1st
Copy link

Hedgepigthe1st commented Sep 11, 2023

Honestly my favourite shortcut to date.

Two requests:

Repeating reminders doesn’t seem to work. When marking as complete it just stays on original day.

Is it possible to have a reverse sync as I often use calendar to edit the task by moving them to other days?

Thanks

@xiwenc
Copy link
Contributor

xiwenc commented Sep 17, 2023

Hi,

Thanks for the feedback.

Can you elaborate on this use case? Perhaps with screenshots if possible.

Xiwen

@Hedgepigthe1st
Copy link
Author

IMG_6830

This is my current set up. I have a tasks calendar. If I edit the date, time or name in here I would want it to update date, time or name in reminders. However with this shortcuts it realises I’ve changed something but just readds the original so I’ll end up with a duplicate event

@Hedgepigthe1st
Copy link
Author

IMG_6832

the other use case. See the example I have this scheduled to repeat every two weeks. If I move it (complete the task on a different day) then all future events get moved so it’ll remind me in two weeks

the same way that repeated reminders work when you mark it as complete.

with the shortcut I would have to manually reschedule it for two weeks time. So if I mark as complete it just adds it again for the original date and time not the two weeks future time.

@xiwenc
Copy link
Contributor

xiwenc commented Dec 13, 2023

Bidirectional sync would be a bit tricky. The rough idea would be:

  • list all calendar events
  • foreach event, find out if there is a matching incomplete reminder
  • if so, update attributes

The tricky part is to know which of the two, calendar or reminder, is newer (last updated).

Regarding repeating reminders, that's indeed not supported yet. Will see if i can implement this.

@xiwenc
Copy link
Contributor

xiwenc commented Dec 14, 2023

image
image
image

I looked into the possibility to support repeating reminders. Unfortunately that will be very difficult.

That's because we use the reminder creation date as Identifier between reminder and calendar event. And when a reminder is repeated, the creation date does not change.

In above screenshots you can see what attributes can be used. I don't see a better stable Identifier or any other attribute i could use to construct an identifier.

I considered to combine with completion date. When a reminder is not yet completed, this value would be empty. And set otherwise.

So:

New reminder with daily repeats:

New event on day a with id=1
Reminder is completed: id=1A
Sync moment
Event id=1 is moved to day B
New event is created and marked as done on day A with id=1A
Sync moment until we reach end of repeat:
Event id=1 will remain unchanged because our new id=1Z does not match it
New event is created and marked as done on day Z

So this means we would need to have a clean up to wipe the dangling uncompleted event

Alternative solution is to use the deadline attribute. However, by doing so, updating the deadline of a reminder would yield a new event. Im pretty sure updating deadline is a common action. So that would not be ideal.

Perhaps the best way is that for your repeat reminders, you add a special tag. Say "recurring".

When we see "recurring" tag, we then use the deadline attribute in the identifier

Let me know if this could work for you. Will try to implement this.

@xiwenc
Copy link
Contributor

xiwenc commented Dec 16, 2023

Can you try this?

https://www.icloud.com/shortcuts/0747cc2068be4a0ca5f04c8f62b23ccb

Usage is to add a tag to your recurring reminder with "Recurring".

@Hedgepigthe1st
Copy link
Author

Hedgepigthe1st commented Dec 19, 2023 via email

@Hedgepigthe1st
Copy link
Author

Hedgepigthe1st commented Dec 19, 2023 via email

@denniskoski
Copy link

WOW! I have been searchin about 6 months this kind of solution and thank god now i found it!! This is truly amazing and i have been thinking why Apple hasn’t done this already…

But one suggestion, is it possible to import one ”big event” which would move by current date and had in it all reminders that don’t have ending time?

Thank you very much already for this!

@xiwenc
Copy link
Contributor

xiwenc commented Jan 1, 2024

WOW! I have been searchin about 6 months this kind of solution and thank god now i found it!! This is truly amazing and i have been thinking why Apple hasn’t done this already…

Great you find this useful.

But one suggestion, is it possible to import one ”big event” which would move by current date and had in it all reminders that don’t have ending time?

Isn't this similar to a recurring reminder? If not please start a new issue and explain it in more details. Ideally with example.

@xiwenc
Copy link
Contributor

xiwenc commented Jan 1, 2024

Hi,That works perfectly 1 direction which is amazing.But if delete from calendar or move the date in calendar it doesn’t sync reverse to reminders.

Two-way sync would need some foundational changes. Will think about it.

Another enthusiast has created it. Will ask if it can be shared.

@yoavlai
Copy link

yoavlai commented Jan 2, 2024

Hi,That works perfectly 1 direction which is amazing.But if delete from calendar or move the date in calendar it doesn’t sync reverse to reminders.

Another enthusiast has created it. Will ask if it can be shared.

Enthusiast here! Here's my version with a two-way sync., with inspiration from Reminder2Calendar.

  • It creates Reminders for Calendar events and vice versa
  • Edits on Calendar update the associated Reminder and vice versa (based on the latest edit)

Re: Recurring items

  • Shortcuts can't automatically create recurring Events or Reminders
  • This one can't turn recurring Reminders into recurring Events
  • It turns each instance of a recurring Calendar event (within the next 7 days) into an individual Reminder
  • E.g. if you have a daily recurring event "Check e-mail", instances over the next 7 days will become 7 single events, each with their own single Reminder

Please read the documentation! And do let me know if it works for you.

Be kind, I'm new to Github.

@Hedgepigthe1st
Copy link
Author

Hedgepigthe1st commented Jan 3, 2024 via email

@yoavlai
Copy link

yoavlai commented Jan 3, 2024

Ok, I just tested the Shortcut (added a fresh link here) and it seemed to sync scheduled Reminders to a Calendar just fine. Make sure you're running the Shortcut each time you open/close Reminders and/or Calendar.

Like I said, you can't set up repeat events or Reminders using Shortcuts. This is a hard limitation.

For better repeat features, I would suggest trying out Google Tasks, Fantastical, Todoist, or other task management apps with calendar integration. They all should have free tiers, and if it fits your budget, it seems like premium tiers would be a worthy investment.

@Hedgepigthe1st
Copy link
Author

Hedgepigthe1st commented Jan 4, 2024 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants