Mailspring/internal_packages/message-list/lib
Ben Gotow eaeeb9619b fix(reply-behavior): Reply keyboard shortcuts update existing draft rather than creating new ones
Summary:
When bcc or cc is added, the ComposerView should show the fields. We should never hide a populated field!

Move the logic for determining message reply / replyTo participant sets into the message object. This seems OK because the functions don't modify the message and deal entirely with message attributes

Fix miscelaneous scrollbar issue

The MessageList does not always fire a composeReply action in response to keyboard shortcuts and can update the existing draft instead

There are a couple goals here:
- If you have an existing draft, command-R and command-shift-R should never create a new draft, they should just update and focus the existing draft.
- If you actually press the Reply button on the message item it should still create a new draft. It's still possible to have two.
- If you press Command-R and add a participant, and then press Command-Shift-R, it should add participants but not blow away the one you've added manually.
- If you press Command-Shift-R and then Command-R, it should remove the participants that were part of the "reply all", but leave other participants you've added untouched.

Test Plan: Run new tests!

Reviewers: evan

Reviewed By: evan

Maniphest Tasks: T2140

Differential Revision: https://phab.nylas.com/D1734
2015-07-13 16:30:02 -07:00
..
email-frame.cjsx feat(quoted-text): New quoted text engine 2015-07-08 09:51:33 -07:00
main.cjsx
message-controls.cjsx feat(quoted-text): New quoted text engine 2015-07-08 09:51:33 -07:00
message-item.cjsx feat(quoted-text): New quoted text engine 2015-07-08 09:51:33 -07:00
message-list.cjsx fix(reply-behavior): Reply keyboard shortcuts update existing draft rather than creating new ones 2015-07-13 16:30:02 -07:00
message-nav-title.cjsx
message-participants.cjsx
message-timestamp.cjsx fix(*): minor fixes 2015-06-26 07:06:57 -07:00
message-toolbar-items.cjsx feat(starring): Star/unstar from the message detail view 2015-06-25 10:33:26 -07:00
sidebar-thread-participants.cjsx
thread-archive-button.cjsx
thread-star-button.cjsx fix(counts): Centralize handling of unread count / draft count 2015-06-26 16:02:08 -07:00
thread-tags-button.cjsx