mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
c03a63b9ea
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
|