obsidian-todoist-completed-tasks icon indicating copy to clipboard operation
obsidian-todoist-completed-tasks copied to clipboard

[Bug] "Fetch today" is absent from the palette because it uses the same command id as "Fetch segment dates"

Open geoelectric opened this issue 1 year ago • 3 comments

As best I can tell, you can only do the default sync (current day) with the UI button right now. The only two palette commands (and thus settable hotkeys) are for last N hours and dates in segments.

Please add an explicit palette command and hotkey to do the default "today" sync as well. I don't use the mouse UI much when interacting with Obsidian, if I can possibly help it.

geoelectric avatar Jun 17 '23 01:06 geoelectric

I called this a feature request, but reading your main.ts and the README I see that there should in fact be a command for this added in my version 1.5.0. I think the problem is you reused the command id so the second option clobbered the first. So I guess it's a bug instead. I'll edit the title again.

        this.addCommand({
            id: "todoist-fetch-completed-tasks",
            name: "Fetch today's completed tasks",

...

        this.addCommand({
            id: "todoist-fetch-completed-tasks",
            name: "Fetch completed tasks using dates in segments",

geoelectric avatar Jun 17 '23 01:06 geoelectric

Hi @geoelectric , Thanks for reporting the bug!

Ledaryy avatar Jul 12 '23 08:07 Ledaryy

Been close to a year since this was updated, but just FYI, this issue still exists.

vervitee avatar Apr 28 '24 18:04 vervitee