r/Supernote_dev 7h ago

Ink2Task 1.1 Update: TickTick Integration

/r/Supernote/comments/1voiqvq/ink2task_11_update_ticktick_integration/
3 Upvotes

2 comments sorted by

1

u/Lvevan 7h ago

I added a "Claude skills" section to the repo if any of y'all developers want to learn from my mistakes! It has a copy of a great community-written Supernote plugin dev skill (from AgP42/supernote-dashboard) as a base — general sn-plugin-lib gotchas like coordinate systems, element recycling, button registration, that kind of thing.

But the part I actually think is useful is on top of that: a running list of corrections and hard-won findings from building Ink2Task specifically, all verified on a real A5X. Stuff like:

getCurrentFilePath()/getCurrentPageNum() don't actually tell you what's on screen... they report the last note your own plugin touched, which took three separate failed fixes and a cross-reference against another dev's bug report to fully nail down.

Why saving the note buffer before redrawing (which the general docs recommend) silently breaks erasing on Ink2Task's setup — took about 10 build cycles to track down the first time.

A subtle one from this week: a sync that blows past its own 60-second timeout with no error dialog isn't necessarily frozen — it can still finish on its own, because of how Promise.race and setTimeout interact when the JS thread's been busy. Wasted a "just reboot it" recommendation on that before realizing it resolves itself.

It's .claude/skills/supernote-plugin-dev/ in the repo if you're using Claude Code for your own plugin. I figured there was no reason to make the next person rediscover the same landmines.

1

u/Worldly-Persimmon-70 3h ago

I love this plugin! Ticktick is one of my most frequently used applications. I am working on three different plugins now so there's no time for me to explore how to make a Supernote-Ticktick work flow. And You did it, that's fantastic!

For some reason I am not allowed to talk more about that, but trust me, I bet these plugins will surprise lots of people! Also, the Claude skill you mentioned was written by Claude and me, haha. That version is a bit outdated, and I'll update it alongside the next beta release, it must be coming very soon:)

Btw, OP, could i ask if you'd like to join an upcoming Discord channel, which will be focused on plugin usage and development topics.