Inline Comment 0.2.0 - initial public release

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)
This commit is contained in:
Oliver_Herb committed 2026-11-24 12:07:09 +01:00
commit 9053327486
57 files changed
+9849

No files matched your search

+53
View File
@@ -0,0 +1,53 @@
# 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), `keydown` instead of `beforeinput` as 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. `LICENSE` is 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 locale `en`, plus `de`). 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 to
`inline-comment`; code, comments and documentation translated to English.
- **ATN research:** `addons-linter` 6.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 as
`compose` and `accountsRead`.
- **JSDoc lint gate:** ESLint with `@eslint/js` and `eslint-plugin-jsdoc` (`eslint.config.mjs`,
`npm run lint`); `npm run check` now 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.md` in Thunderbird 160 and Thunderbird 153 ESR.
- Release in the public repository, then submit to addons.thunderbird.net with the listing texts in
`listing/`.
+31
View File
@@ -0,0 +1,31 @@
# Roadmap
## State on 2026-11-24
Version 0.2.0 is built and all automated tests pass. It adds an English/German UI, the MPL-2.0
licence and markup-free DOM building, and is prepared for the public repository. **The manual test
in Thunderbird is still open.**
## Phases
| Phase | Content | State |
| ----------------------- | ---------------------------------------------------------------------------------------------- | ------------ |
| 1 – Prototype | split the quote when typing, insert the marker | done (0.1.0) |
| 2 – Settings | options page, template with placeholders, colours, profiles per identity | done (0.1.0) |
| 3 – Polish | nested quotes, Ctrl+Z through the editor, on/off button, gap after Enter | done (0.1.0) |
| 4 – Release preparation | English/German UI, MPL-2.0, no markup written to DOM sinks, prepared for the public repository | done (0.2.0) |
| 5 – Manual test | [test plan](../.docs/guides/testplan.md) in Thunderbird 160 and Thunderbird 153 ESR | **next** |
| 6 – ATN submission | submit to addons.thunderbird.net, listing texts (English and German) in `listing/` | open |
## Next steps
1. Run the manual test plan in Thunderbird 160 and Thunderbird 153 ESR, record the results in
`.plan/daily/`, fix what fails.
2. Publish the `.xpi` as a release in the public repository.
3. Submit the add-on to addons.thunderbird.net (ATN) with the listing texts from `listing/`.
## Ideas for later
- Treat pasting from the clipboard inside a quote as a comment as well.
- Support IME input (`compositionstart`), e.g. Japanese input methods.
- Plain-text messages: detect the gap after Enter and add a blank line after the comment.
View File
Whitespace-only changes.