Repository navigation
Implement the options page - #17
Merged
Merged
Conversation
We had most lint items as errors so that CI fails on them, but using the `--error-on-warnings` option, we can turn warnings into errors. Change most severity levels to warnings so that they are less bothersome while debugging.
The root directory of our add-on package is becoming cluttered because it contains both sourcemaps and JS files (which is currently 5*2=10 files). Also, the change simplifies the build step that adjusts sourcemaps a bit.
While working on exteditor#3, I noticed that unnecessary classes are included in `compose.js` and `options.js`. Splitting wiring code so that each top‑level module can import it solved the problem.
Squashed commit of the following: commit 4846648 Author: snipsnipsnip <[email protected]> Date: Tue Sep 23 15:59:30 2025 +0900 fix: address warnings from the AMO add-on validator * In the compose script, the HTML body should be parsed and appended rather than setting `innerHTML` directly. * Add a `data_collection_permissions` key that will be used to notify users about the personal data the add‑on collects; in our case it's `none`. https://blog.mozilla.org/addons/2025/05/09/new-extension-data-consent-experience-now-available-in-firefox-nightly/ commit 08da813 Author: snipsnipsnip <[email protected]> Date: Sun Sep 21 22:24:33 2025 +0900 feat: send a readable hostname to the GhostText server Ghostbird used to send a random UUID generated by Thunderbird as the `url` field in the GhostText handshake. Send a more permanent value (the add-on ID defined in the `manifest.json`) instead of UUIDs. While we're at it, modify the add-on ID to include `addons.thunderbird` to make it clearer that this is a Thunderbird add-on. The change is needed because moving the `description` to `messages.json` made it less obvious. commit 9dd96f0 Author: snipsnipsnip <[email protected]> Date: Sun Sep 21 21:52:12 2025 +0900 feat: implement a simple option page exteditor#3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3
Closes #4