quickmove-extension icon indicating copy to clipboard operation
quickmove-extension copied to clipboard

Support of tag management

Open damiencourousse opened this issue 3 years ago • 3 comments

This extension is sometimes mentioned as a replacement of the Nostalgy or Nostalgy++ TB add-ons. QuickMove could be a serious alternative if the management of tags was also supported.

I don't know if this is included in your plans / roadmap. This does not seem to be mentionned in the issues so far, so I was asking, just in case.

damiencourousse avatar Nov 16 '20 12:11 damiencourousse

how would tags be involved with moving / copying mail? May be something I could use for Tabs in my Add-on.

RealRaven2000 avatar Nov 16 '20 13:11 RealRaven2000

Managing tags is part of my workflow for processing mails. Currently, TB can assign ten key shortcuts (keys 0..9) to tags, but this strongly limits the number of tags used. I currently use a lot of tags, and the ability to quickly tag mails from the keyboard, without reaching the mouse, is really important for me.

damiencourousse avatar Nov 23 '20 19:11 damiencourousse

I like this. It shouldn't be too difficult to do, probably a bunch of copy/paste work from the current code.

kewisch avatar Nov 24 '20 14:11 kewisch

Any idea where to start if I want to try to implement this feature?

b3 avatar Jan 25 '23 18:01 b3

There is an open function that attaches the popup to a UI element: https://github.com/kewisch/quickmove-extension/blob/main/src/content/quickmove.js#L495

then a keyboard shortcut, and the menupopup for the new tag menu: https://github.com/kewisch/quickmove-extension/blob/main/src/api/quickmove.js#L79

then you need to populate the popup when it opens using an event. Here is the one for the other folders: https://github.com/kewisch/quickmove-extension/blob/main/src/content/quickmove.js#L134

at the end there is an execute function that needs to call the Thunderbird code to tag: https://github.com/kewisch/quickmove-extension/blob/main/src/content/quickmove.js#L367

Hope this helps, I'm glad to hear you are considering contributing!

kewisch avatar Jan 25 '23 22:01 kewisch

Fixed in 36512bab87f04491c0b3ce65bce1a86d1d8b7bed

kewisch avatar Aug 21 '23 09:08 kewisch

How can we use a version with this feature?

b3 avatar Aug 24 '23 20:08 b3

I'm going to release this version soon, though I wanted to get a few other issues fixed before I do so. If you want to test it, you can download the sources, go to Thunderbird's "Debug Add-ons" in the tools/developer menu, then select the manifest.json file in the src folder. Or zip up the contents (not the folder itself) of the src folder, and install that as the add-on.

kewisch avatar Aug 25 '23 06:08 kewisch

Where do you store zip files for you release?

They seems not being available in the github release pages.

As my thunderbird automatically updated this extension (among a lot of other things) some day ago (to version 2.0.1, which, BTW, seems not to have tag management included), I am hit by #88. I am thus willing to take the time to test a recent version (with the tag management available if possible).

b3 avatar Oct 06 '23 08:10 b3

I find a way just by looking to the tags pages.

Only tagged zip are available though.

b3 avatar Oct 06 '23 09:10 b3