Review in a bigger window or the default browser, not in the popup #5

Open
opened 2026-10-01 07:21:56 +00:00 by tiagoagueda · 0 comments
Owner

The list asks: "review must be done on either a bigger dialog box or a dedicated browser tab."

The item was written for the browser extension and copied into this list, where "a dedicated browser tab" is the obvious place. Thunderbird has tabs, and none of them is the person's browser; that is what this issue adapts.

There are two kinds of review. Before sending, the person corrects what was read (#1). After sending, Postulo's own review page decides what the capture becomes; the API has no call that accepts or discards one, and that page cannot be put in a frame.

What is different in Thunderbird

Thunderbird is not the person's web browser. A tab or a window opened inside Thunderbird (tabs.create, windows.create) has its own cookies, so Postulo's review page there would ask them to sign in again. windows.openDefaultBrowser(url) (Thunderbird 85 and later) opens an address in the system's browser, where they are signed in.

What the extension should do

  • Postulo's review page (review_url) opens in the default browser. Postulo's page already walks the queue from one capture to the next.
  • The correction form before sending opens in a window of the extension's own (windows.create with type: "popup" and a size), not in the popup, which closes as soon as focus leaves it. The popup reads the message, keeps what it read, and only then opens the window.
  • One window, brought forward when it is already open, not a new one for each capture.

Decisions

  • Window or tab for the correction form. A Thunderbird tab sits beside the mail tabs and survives a click elsewhere too. Recommended: a window, sized for the form; a tab if a window proves awkward on small screens.
  • Postulo's page inside Thunderbird. Possible, at the cost of a second sign-in kept in the mail client. Recommended: the default browser.
  • What links in the popup do. The skeleton's footer link to the instance is an ordinary link. Recommended: every address of Postulo's opens through openDefaultBrowser, so none depends on how Thunderbird treats a link in a popup (not checked).

Needs from the server

Not filed on postulo/postulo. Reviewing inside the extension, without Postulo's page, would need API calls to fetch one capture and to accept, discard and bind it. The route above works with the server as it is.

Done when

  • Correcting a capture happens in a window that survives a click elsewhere, and sends from there.
  • Every "review" opens Postulo's page in the default browser, signed in.
  • test/i18n.test.mjs requires every new key in every language the extension ships, with identical placeholders: three today, more once #7 lands.

From the list of Thunderbird extension improvements of 2026-09-30.

The list asks: "review must be done on either a bigger dialog box or a dedicated browser tab." The item was written for the browser extension and copied into this list, where "a dedicated browser tab" is the obvious place. Thunderbird has tabs, and none of them is the person's browser; that is what this issue adapts. There are two kinds of review. Before sending, the person corrects what was read (#1). After sending, Postulo's own review page decides what the capture becomes; the API has no call that accepts or discards one, and that page cannot be put in a frame. ## What is different in Thunderbird Thunderbird is not the person's web browser. A tab or a window opened inside Thunderbird (`tabs.create`, `windows.create`) has its own cookies, so Postulo's review page there would ask them to sign in again. `windows.openDefaultBrowser(url)` (Thunderbird 85 and later) opens an address in the system's browser, where they are signed in. ## What the extension should do - **Postulo's review page** (`review_url`) opens in the default browser. Postulo's page already walks the queue from one capture to the next. - **The correction form** before sending opens in a window of the extension's own (`windows.create` with `type: "popup"` and a size), not in the popup, which closes as soon as focus leaves it. The popup reads the message, keeps what it read, and only then opens the window. - One window, brought forward when it is already open, not a new one for each capture. ## Decisions - **Window or tab for the correction form.** A Thunderbird tab sits beside the mail tabs and survives a click elsewhere too. Recommended: a window, sized for the form; a tab if a window proves awkward on small screens. - **Postulo's page inside Thunderbird.** Possible, at the cost of a second sign-in kept in the mail client. Recommended: the default browser. - **What links in the popup do.** The skeleton's footer link to the instance is an ordinary link. Recommended: every address of Postulo's opens through `openDefaultBrowser`, so none depends on how Thunderbird treats a link in a popup (not checked). ## Needs from the server Not filed on postulo/postulo. Reviewing inside the extension, without Postulo's page, would need API calls to fetch one capture and to accept, discard and bind it. The route above works with the server as it is. ## Done when - Correcting a capture happens in a window that survives a click elsewhere, and sends from there. - Every "review" opens Postulo's page in the default browser, signed in. - `test/i18n.test.mjs` requires every new key in every language the extension ships, with identical placeholders: three today, more once #7 lands. From the list of Thunderbird extension improvements of 2026-09-30.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo-thunderbird#5
No description provided.