mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
980199a703
Summary: Participants now collapse Gmail style in the composer field. New, more declarative system for how we deal with "focusedFields" on the composer. Extracted a `CollapsedParticipants` and `ExpandedParticipants` component. Test Plan: TODO Reviewers: dillon, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2013
17 lines
394 B
CoffeeScript
17 lines
394 B
CoffeeScript
Fields =
|
|
To: "textFieldTo"
|
|
Cc: "textFieldCc"
|
|
Bcc: "textFieldBcc"
|
|
From: "fromField"
|
|
Subject: "textFieldSubject"
|
|
Body: "contentBody"
|
|
Fields.ParticipantFields = [Fields.To, Fields.Cc, Fields.Bcc, Fields.From]
|
|
|
|
Fields.Order =
|
|
"textFieldTo": 1
|
|
"textFieldCc": 2
|
|
"textFieldBcc": 3
|
|
"fromField": -1 # Not selectable
|
|
"textFieldSubject": 5
|
|
"contentBody": 6
|
|
module.exports = Fields
|