mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
28a6668567
Summary: Fixes T1751 Since there's time between clicking "send" and the draft appearing on the TaskQueue (which is what we use to determine sending state declaratively) it's possible for it to send twice. I opted to use `setState` at the Composer View level since I don't think we should debouce the Action or the Store. It's totally fine for a script to queue a bunch of messages to send via the queue. We really just want to stop it at the user intaction level. Test Plan: There's a test for this now in the composer-spec Reviewers: bengotow Reviewed By: bengotow Maniphest Tasks: T1751 Differential Revision: https://phab.nylas.com/D1576 |
||
---|---|---|
.. | ||
account-sidebar | ||
attachments | ||
calendar-bar | ||
composer | ||
developer-bar | ||
file-list | ||
inbox-contact-elements | ||
light-ui | ||
message-list | ||
message-templates | ||
mode-switch | ||
notification-mailto | ||
notification-update-available | ||
notifications | ||
onboarding | ||
search-bar | ||
sidebar-fullcontact | ||
sidebar-inbox-internal | ||
thread-list | ||
today | ||
tooltip | ||
unread-badge | ||
unread-notifications |