From d0a636416d96958078a497a85b2fe2da6ca2deca Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 3 Nov 2026 23:35:23 +0100 Subject: [PATCH] docs: say where quick compose opens its window in the pop-out notes --- lib/popout/open.ts | 4 ++-- lib/popout/return-to-main.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/popout/open.ts b/lib/popout/open.ts index 3cee94b3d..d3c6785dc 100644 --- a/lib/popout/open.ts +++ b/lib/popout/open.ts @@ -1,6 +1,6 @@ /** - * Opens pop-out windows: one message, or a composer. Shared with the desktop - * app's quick compose, which only has to call openComposerWindow. + * Opens pop-out windows: one message, or a composer. The desktop app's quick + * compose opens the same address from the shell. */ import { appPath } from '@/lib/deep-links'; diff --git a/lib/popout/return-to-main.ts b/lib/popout/return-to-main.ts index 58e4ac331..710b5314a 100644 --- a/lib/popout/return-to-main.ts +++ b/lib/popout/return-to-main.ts @@ -16,7 +16,7 @@ const OPEN_WAIT_MS = RETURN_WAIT_MS - 2000; export type ReturnAnswer = 'shown' | 'busy'; export type ReturnResult = ReturnAnswer | 'no-answer'; -/** From a pop-out: true once the composer is on screen in the main window. */ +/** From a pop-out: `shown` once the composer is on screen in the main window. */ export function returnComposerToMain(payload: ComposePopoutPayload, accountId?: string | null, waitMs = RETURN_WAIT_MS): Promise { return new Promise((resolve) => { const returnId = newPopoutId();