docs: say where quick compose opens its window in the pop-out notes

This commit is contained in:
Linus Rath
2026-11-03 23:35:23 +01:00
parent 3da18cc2c0
commit d0a636416d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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';
+1 -1
View File
@@ -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<ReturnResult> {
return new Promise((resolve) => {
const returnId = newPopoutId();