maildev@lists.thunderbird.net

Thunderbird email developers

View all threads

Fwd: Request for mentorship (WebExtensions)

JK
Jörg Knobloch
Fri, Mar 23, 2018 9:12 AM

To my knowledge, there aren't any WebExtension for TB yet. All I have seen so far was an attempt to create a hybrid extension where preferences are handled by the WebExtension part (I might have gotten that completely wrong, though).

https://github.com/Standard8/thunderbird-conversations/commit/bed5b4ad7fc968d3115fcccf5a1ab4cfeaf1cae5

-------- Forwarded Message --------    Subject:  Request for mentorship (WebExtensions)  Date:  Fri, 23 Mar 2018 09:59:30 +0100  From:  GMX <john.bieling@gmx.de>  To:  Jörg Knobloch <jorgk@jorgk.com>

Hello,

apparently I am not able to write to the maildev list (yet?), so I take the chance and ask you directly.

I have been working now over a year on TbSync (https://addons.mozilla.org/de/thunderbird/addon/tbsync/) and it looks like I have to migrate to WebExtensions. Your last remark about dropping support for add-ons as we know them after TB 60 ESR killed my last night.

Is there someone, that can provide a working WebExtensions example AddOn for Thunderbird, that:

  • adds an entry to the main menu, calling a function, that opens a dialog

  • adds a string to the status bar of the main window which opens the same dialog, if clicked on

The TbSync wiki contains some screen shots, of how it currently looks: https://github.com/jobisoft/TbSync/wiki/How-to-get-started

These are the ony GUI hooks I need (which are now XUL overlays). I hope the javascript stuff will not need so many changes, but I would like to be able to ask follow up questions there as well.

Could you guide me or repost this to the list?

Thank you very much

John

If it matters: My native language is German.