Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtasks with Reminders app for macOS Catalina #127

Open
devurandom opened this issue May 2, 2020 · 8 comments
Open

Subtasks with Reminders app for macOS Catalina #127

devurandom opened this issue May 2, 2020 · 8 comments

Comments

@devurandom
Copy link

The preinstalled "Reminders" app on macOS Catalina 10.15.3 does not show the subtasks of my task list. Tasks.org on Android displays them fine.

The setup is:

  • Primary account
    • Android
      • Tasks.org > EteSync
  • Associate account
    • macOS
      • System Settings > Internet Accounts > CalDAV
      • Reminders
@tasn
Copy link
Member

tasn commented May 3, 2020

Could you please show an example here from the journal? Feel free to censor the summary line, but make sure to include both the task, and the subtask (that's not showing). I wonder if it's a problem with etesync-dav or if it's a limitation of the macOS reminders app.

@devurandom
Copy link
Author

devurandom commented May 3, 2020

Child:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:+//IDN tasks.org//android-746//EN
BEGIN:VTODO
DTSTAMP:20200501T230556Z
UID:2135877053792992860
SEQUENCE:1
CREATED:20200417T170217Z
LAST-MODIFIED:20200501T164934Z
SUMMARY:REDACTED
STATUS:NEEDS-ACTION
RELATED-TO;RELTYPE=PARENT:276800902850960496
END:VTODO
END:VCALENDAR

Parent:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:+//IDN tasks.org//android-746//EN
BEGIN:VTODO
DTSTAMP:20200501T230557Z
UID:276800902850960496
SEQUENCE:1
CREATED:20200328T141014Z
LAST-MODIFIED:20200501T230428Z
SUMMARY:REDACTED
STATUS:NEEDS-ACTION
CATEGORIES:Shopping
END:VTODO
END:VCALENDAR

They display fine (as parent and child) in Tasks.org, where I created them.

@devurandom
Copy link
Author

include both the task, and the subtask (that's not showing)

Sorry, I miscommunicated that part: The subtasks are showing, but not as subtasks, but as top-level tasks instead.

@tasn
Copy link
Member

tasn commented May 4, 2020

Looking at the VTODO it looks correct. I have two more things to check if you are able to:

  1. Open the etesync-dav URL for this task list in the browser and download the .ics. Do these two tasks indeed show like this?
  2. Create a new task and a new subtask from the macOS reminders app. I wonder how those will look like. Because if macOS doesn't understand this (standard compliant!) way of defining the relationship, I wonder what format they use. Maybe we can workaround their oddities in our code.

@devurandom
Copy link
Author

  1. Open the etesync-dav URL for this task list in the browser and download the .ics. Do these two tasks indeed show like this?

This is what I see when I look at the ICS file on my own Linux computer (assuming that etesync-dav outputs the same data on Linux and macOS):

BEGIN:VTODO
CATEGORIES:Shopping
CREATED:20200328T141014Z
DTSTAMP:20200501T230557Z
LAST-MODIFIED:20200501T230428Z
SEQUENCE:1
STATUS:NEEDS-ACTION
SUMMARY:REDACTED
UID:276800902850960496
END:VTODO
BEGIN:VTODO
CREATED:20200417T170217Z
DTSTAMP:20200501T230556Z
LAST-MODIFIED:20200501T164934Z
RELATED-TO;RELTYPE=PARENT:276800902850960496
SEQUENCE:1
STATUS:NEEDS-ACTION
SUMMARY:REDACTED
UID:2135877053792992860
END:VTODO

I will later have to check and confirm that the output is indeed the same on macOS.

  1. Create a new task and a new subtask from the macOS reminders app. I wonder how those will look like. Because if macOS doesn't understand this (standard compliant!) way of defining the relationship, I wonder what format they use. Maybe we can workaround their oddities in our code.

This will have to wait a bit, as I will have to coordinate with the Mac's owner.

@tasn
Copy link
Member

tasn commented May 5, 2020

This is what I see when I look at the ICS file on my own Linux computer (assuming that etesync-dav outputs the same data on Linux and macOS):

The ICS looks correct, and it's indeed the same across platforms, so no need to verify on the mac.

This will have to wait a bit, as I will have to coordinate with the Mac's owner.

Please do and let me know. They just need to create a task and a subtask and then you can check yourself what shows up in the journal and let me know here. It's a simple as that.

Thanks a lot!

@devurandom
Copy link
Author

Off-Topic: I got to play for a few minutes with the iOS Reminders app. According to the docs 1 it should be possible to drag & drop a task onto another task in order to make the former a subtask of the latter. This did not work with in the list in the EteSync (fake) CalDAV account and it did not work with a list in the "local" account. Only after I enabled iCloud sync of Reminders and the "local" account turned into an "iCloud" account in the Reminders app, I was able to create subtasks in the manner described in the docs in task lists of that account. After I disabled iCloud sync of Reminders creating subtasks stopped working. To emphasize: This was on iOS and not macOS. But maybe the Reminders app on both follows a similar logic.

@tasn
Copy link
Member

tasn commented May 18, 2020

Thanks for the update. It sounds quite plausible (and consistent with how Apple does things) that subtasks are just not supported for non-iCloud accounts.

I just checked the EventKit API docs again, and there indeed doesn't seem to be an easy way. I have an EteSync backed Reminders app for iOS I built a few months ago. It's mostly similar to Tasks.org, and is quite polished, just not well tested. Maybe it's time to take it to the next level.

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

No branches or pull requests

2 participants