First Major Update to GTaskD

After taking some time the past few weeks to 1) catch up on sleep and 2) help launch the website for my other “fake” job, I pushed the latest version of GTaskD to production yesterday. The fact that the Canvas interface is still with us for now took some of the pressure off, but I’ve still been making upgrades as I’ve found time. Among other things, this update includes:

  • Added features
    • Added due dates to main UI (per user feedback)
    • Added truncated notes to main UI (per user feedback)
      • Added option for user to specify how long the shortened version of the notes should be
    • Option to delete entire subtree of tasks (with warning about how many tasks it would delete, as it’s a powerful but potentially dangerous feature)
    • Added support button link
  • Removed features
    • Unfortunately I had to disable the clear button in GTaskD because Google broke how clearing tasks works in the Google Tasks API. It used to simply mark a task as “hidden”, but now it does that, and deletes the reference to the parent task for every task that gets cleared. I will come up with a workaround for this, but in the meantime, I’m not going to let the changes Google made to the API break your tasks’ hierarchy.
      • WARNING: Please note that clearing tasks in the Google Tasks Canvas interface is also affected by this change, so if you care about the hierarchy of your completed tasks, don’t clear any lists until I’ve built my own backend database to sync with Google’s API.
  • UI improvements
    • Updated task arrows (per user feedback)
      • Left-click to expand/collapse subtree (changed from opening menu)
      • Right-click to open menu
      • Drag to move task and subtasks (same as before)
    • Added “Edit details” links to the right of each task when you hover over it
    • Upgraded checkboxes style
    • Added counter when tasks are loading, so users with hundreds or thousands of tasks see progress happening
  • Lots of bug fixes
    • Fixed sync issues some users were having by implementing better error handling so that there should no longer be any “stuck” tasks (i.e. “Changes left to save: 1” should now always change back to “All changes saved”)
    • Reworked code for how the task queue works to make it both more efficient and more reliable
    • Improved positioning of keyboard caret/cursor when moving up/down between tasks
    • Adjusted task width (per user feedback)
    • Fixed bugs with potential infinite loop when inserting, updating, and moving multiple tasks quickly
    • Slowed down the speed at which data is sent to the Google Tasks API to make it more consistent. Even though the API has a theoretical limit of 5 API calls/second, there’s a bug in it. When checking off a bunch of subtasks at once, the API apparently can’t keep up, even though Google’s server returns a confirmation that each task got checked off.
    • Added troubleshooting code to help a few users with login issues

Next on the list are the only things still missing from Canvas: sort by date mode, automatic linking of URLs, and adding/renaming/deleting lists, which will all be coming soon.

After that I’ve got to build my own backend database, as using the Google Tasks API directly has become too slow if you have hundreds or thousands of tasks. I’ll of course keep your tasks in sync with the Google Tasks API, but the major changes Google made in late February and again in early March make it unusable for heavy users. They also haven’t yet made their new features (repeat tasks and due times in addition to due dates) available through the API. I’m hoping that changes soon.

Another thing my own backend database will allow me to do is re-create some of the features I’d already built before the API changes made them unreasonably slow. One is expanding hidden/cleared and/or deleted tasks under only part of the subtree of task, and another is starting with only showing the top-level tasks, then expanding only the tasks you want to see at any given time. It will also allow me to create many of the features that I’ve been wanting for a long time in Google Tasks, and you can have some input too.

I’ll soon be setting up a way for users to vote on what features should come next. As you can see above, I’ve got a lot of work to do before I’ll be able to get to it, but know that I want to keep building on what we’ve already got, with your ideas helping guide the development roadmap going forward.

Please give the new version a test drive at https://tasks.gtaskd.com/ and let me know what you think. As always, any donations are always greatly appreciated, and thanks so much to those of you that have donated so far!

Emergency Fix Rolled Out for Google Tasks API Change

As of 2019-03-05, Google changed the way the Google Tasks API returns tasks. Again.

For at least years, and I’m fairly certain ever since they built the API, listing tasks for a given tasklist returned the tasks according to their order in the hierarchy, which of course makes a lot of sense. Starting two weeks ago, listing tasks for a given tasklist returned tasks according to their order in the hierarchy, but sorted by their updated time. It was a relatively minor but annoying change, so I rewrote some code and moved on.

As of sometime last night, the hierarchy is completely ignored and calls to the API simply return the most recently updated tasks, sorted by their updated time. For anyone who cares about the hierarchy of their tasks, this is nonsense.

This change effectively means that the only way to get tasks in the correct order in the hierarchy is to download every single task on the list. When users have only a couple hundred tasks, it’s not a big deal, but when users have thousands of tasks on a list, it is a major problem. It’s extremely inefficient to have to return every single task from the API, especially if you only want to look at the tasks at the top of the list. It simply doesn’t scale well.

I run my entire life using Google Tasks, and with canvas going away, and the new UIs only having one nested level of tasks, I had to build my own solution. Now with this API change, there’s a lot more work to do. I’m working on it, as the organizational system I’ve used for close to a decade is counting on it, and they’re going to have to pry it from my cold, dead hands.

GTaskD Launches This Week!

Just a quick note to say that beta testing started recently, and I’ve been getting lots of good feedback. I’ve already made some updates based on the feedback so far, and can’t wait to launch later this week.

At this point, it’s looking like Thursday, 2019-02-28 will likely be the public launch date. I can’t wait to share it with everyone!

Development Update Before Beta

I’m close. After working all this past weekend, plus taking Monday and Tuesday off from my real job so to focus on GTaskD, I almost have a version ready to send out to the beta testers.

Google threw a wrench in things in the past few days by suddenly changing the way they return tasks from the API. One of the Google Tasks developers let me know they’re moving to a new backend, and as part of that they now return tasks in the order they were updated instead of the hierarchical order it always has before. I rewrote some code to deal with the change, so everything is working again, but it definitely took up some development time.

March 1st is the date Canvas disappears, and the version I have now can certainly replace it, so there’s no need to worry that you won’t be able to access your Google Tasks in a full screen UI. I just want to get the last remaining bugs taken care of before I let it touch your data, as keeping your data safe is my highest priority. I’m also adding some UI elements to make it more user-friendly for people who prefer clicking to keyboard shortcuts.

Thanks so much to all the beta testers for being willing to give it a test drive before we launch! I can’t wait to let you all see it. I’ll post here again when I send out the first link to the beta testers—probably Thursday night or Friday morning.

Private Beta Starting Soon

Thanks so much to everyone who volunteered to beta test. At this point we should have a good cross-section of users, so I’m going to close new signups. I’m really excited to get the first version out for you all to test, and can’t wait to hear your feedback.

I’ll be in touch with all the beta testers via email, hopefully sometime this week, but possibly as late as this weekend. The beta won’t last long—possibly as short as a few days. I want to get this out ASAP so everyone has an alternative to Google Tasks Canvas with some margin time before it disappears on March 1.

As for progress on the development front: at this point the vast majority of the functionality is there, and I’m mostly working on bug fixes and cleaning up the full screen UI. Everything is coming together really nicely, but there’s still work to be done.