mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 16:14:07 +00:00
docs: say where quick compose opens its window in the pop-out notes
This commit is contained in:
+2
-2
@@ -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';
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user