The ColorCodeField defaulted to ColorPickerCopyFormat.dartCode, leaking
the Flutter 0xAARRGGBB literal in both the field prefix and the copied
value. Use the web-standard #RRGGBB format instead.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
On desktop web, clicking « Label as » in the reading pane more menu
closed the menu without doing anything: the click was deliberately
ignored in favor of a hover submenu, which is not reliably shown.
Handle the click on every platform so the label chooser modal opens,
keeping the hover submenu as a shortcut.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Provisioned emails are delivered asynchronously; the single refresh done
right after provisioning can miss them, making download_all_attachments_test
(and other web scenarios opening a freshly provisioned email) time out.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The server rejects mailbox names containing '.' (hierarchy delimiter),
which surfaced as a raw English toast. Validate it client-side and
replace the generic 'special characters' error with a message listing
the forbidden characters.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Team system folders are matched case-insensitively and only at first
level, so nested team folders with those names remain selectable.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Filing incoming mail into Outbox/Drafts/Templates is never meaningful
and risky (Outbox content may be picked up for sending).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
waitUntilVisible only pumps frames and does not yield to the browser event
loop, so the email reload following an empty-trash action may never be
processed. Poll with waitForCondition + pump, as other web robots do.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Format the quoted date with locale-aware skeletons (yMMMd + jm) joined
by a localized 'at' (fr: 'à') instead of the hardcoded US pattern
- Use the 'wrote:' phrasing (fr: 'a écrit :')
- Stop re-casing the sender display name in quote headers
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
When the loaded content already holds a top-level .tmail-signature,
restoreCollapsibleSignatureButton re-applied it, which consumed the one-shot
draft hash synchronization before the identity signature got inserted. The
baseline hash could then differ from the content and closing the unmodified
composer prompted to save.
Also drop the stray .hee-tmp gitlink accidentally committed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Since TF-4034 the identity signature is inserted with allowCollapsed: false,
so the editor produces a top-level .tmail-signature without any
.tmail-signature-button. synchronizeInitEmailDraftHash still waited for the
button, so on web the baseline hash was never re-taken once the signature
landed and closing an unmodified composer always prompted to save.
Detect the top-level .tmail-signature instead, ignoring signatures nested in
quoted content.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reply, reply all and reply to list were never given a baseline draft
hash, so closing them always prompted.
On web, the identity signature is inserted asynchronously into the
editor, after the baseline hash has been computed. The re-baseline
done on signature insertion was limited to compose, so any
reply/forward/edit-as-new with a signature was seen as modified.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
When the identity is restored from the email header, setupSelectedIdentity
returned early without calling onCompleteSetupComposer on web, leaving the
saved draft hash unset for editAsNewEmail.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
initEmailDraftHash only set a baseline hash for compose and editDraft,
leaving it null for forward and editAsNewEmail. Any close was therefore
considered a modification and triggered the save-to-drafts dialog.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>