Thunderbird/Betterbird add-on (Manifest V3): typing inside a quote splits the quote and inserts your own text with a marker such as [OH]:. - English and German user interface - Licensed under the Mozilla Public License 2.0 - English documentation, JSDoc lint gate, 87 tests (node:test + jsdom)
2.7 KiB
2.7 KiB
2026-11-24
Session 1 – project set-up (0.1.0)
Project created from the concept "Smart Inline Comment" (working title).
Done
- Research: no existing add-on splits quotes while typing and inserts a marker. Thunderbird only splits quotes on Enter, without a marker (bug 1271835 is still open).
- Basics checked: Betterbird 153.8 as test application, Manifest V3 with
scripting.compose(Thunderbird 128 or later). - Repository, documentation (
.docs/,.plan/), code and tests created. - Deviations from the concept: the editor splits the quote instead of our own DOM manipulation
(decision 0002),
keydowninstead ofbeforeinputas the trigger (decision 0003). - Version 0.1.0 built, automated tests pass.
Next steps
- Manual test following
.docs/guides/testplan.md, especially tests 1, 3 and 4 (split by the editor). - Record the result here, fix bugs, then publish a release.
Session 2 – public release preparation (0.2.0)
Done
- Licence: MPL-2.0. Thunderbird itself is licensed under the Mozilla Public License 2.0, and it
is the common choice for Thunderbird add-ons. Its file-level copyleft keeps changes to these files
open, while the add-on can still be combined with code under other licences; it is accepted on
addons.thunderbird.net and compatible with the GPL.
LICENSEis in the repository and in the XPI, every source file carries the licence header (enforced by a test). - English/German UI: options page, toolbar button, badge and add-on description come from
_locales(default localeen, plusde). Tests check that both locales have the same keys and placeholders. - No markup in DOM sinks: the comment block and the options preview are built with DOM APIs instead of HTML strings (enforced by a test).
- Fresh public repository: the add-on will be published as the new repository
inline-comment, without the earlier private history. Package and XPI renamed toinline-comment; code, comments and documentation translated to English. - ATN research:
addons-linter6.15.0 reports 0 errors for the XPI. The remaining warnings are false positives: the Firefox-oriented linter does not know Thunderbird-only permissions such ascomposeandaccountsRead. - JSDoc lint gate: ESLint with
@eslint/jsandeslint-plugin-jsdoc(eslint.config.mjs,npm run lint);npm run checknow runs format check, lint and tests. Every named function has a JSDoc block with typed parameters and return value. - Version 0.2.0, automated tests pass.
Next steps
- Manual test following
.docs/guides/testplan.mdin Thunderbird 160 and Thunderbird 153 ESR. - Release in the public repository, then submit to addons.thunderbird.net with the listing texts in
listing/.