Skip to content

Implement the options page - #17

Merged
snipsnipsnip merged 8 commits into
exteditor:mainfrom
snipsnipsnip:options-page
Sep 28, 2025
Merged

snipsnipsnip merged 8 commits into
exteditor:mainfrom
snipsnipsnip:options-page

Conversation

@snipsnipsnip

Copy link
Copy Markdown
Member

Closes #3
Closes #4

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
@github-project-automation github-project-automation Bot moved this to 📥️Inbox in Ghostbird Issues Sep 28, 2025
@snipsnipsnip
snipsnipsnip added this pull request to the merge queue Sep 28, 2025
Merged via the queue into exteditor:main with commit 037b564 Sep 28, 2025
@snipsnipsnip
snipsnipsnip deleted the options-page branch September 28, 2025 05:29
@github-project-automation github-project-automation Bot moved this from 📥️Inbox to 🪺Experimental in Ghostbird Issues Sep 28, 2025
@snipsnipsnip snipsnipsnip moved this from 🪺Experimental to ✅Closed in Ghostbird Issues Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Prepare for i18n (Make texts translatable) Basic option (at minimum, the port of the GhostText server)

1 participant