Mailspring/spec/tasks
Juan Tejada 76036e82bd fix(gmail-labels): Constraint so threads always belong to all,spam or trash
Summary:
- In Gmail all threads /must/ belong to either All Mail, Trash and Spam, and
  they are mutually exclusive, so we need to make sure that any add/remove
  label operation still guarantees that constraint
- Update ChangeLabelsTask to modify the set of labels to add and remove
  based on this rule
- Update tasksFor archiving, moving to trash and moving to spam so they
  don't affect any other labels in the thread, as gmail does.
- Removing from view /will/ remove any current labels, but will also
  move between all mail and trash as needed
- Remove Inbox, Trash and Spam from the CategoryPicker, as Gmail does

Test Plan: - Unit tests

Reviewers: drew, evan, bengotow

Reviewed By: drew, evan, bengotow

Differential Revision: https://phab.nylas.com/D2715
2016-03-10 14:13:31 -08:00
..
change-folder-task-spec.coffee fix(hidden-messages): Address diff feedback from @jstejada 2016-03-02 10:28:32 -08:00
change-labels-task-spec.coffee fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
change-mail-task-spec.coffee fix(lint): fix linter issues 2016-03-08 13:02:10 -05:00
change-starred-task-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
change-unread-task-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
destroy-category-task-spec.coffee fix(delete-category): Resolve regression in error message (#1244) 2016-02-08 17:42:48 -08:00
destroy-model-task-spec.es6 feat(metadata): Switch to storing metadata on models 2016-02-17 15:00:33 -08:00
event-rsvp-task-spec.coffee rename(specs): A few more task renames 2016-03-01 17:34:36 -08:00
send-draft-task-spec.coffee fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking 2016-03-07 20:14:58 -08:00
syncback-category-task-spec.coffee Merge branch 'master' into unified-inbox 2016-01-25 17:28:29 -08:00
syncback-draft-task-spec.coffee fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking 2016-03-07 20:14:58 -08:00
syncback-model-task-spec.es6 feat(metadata): Switch to storing metadata on models 2016-02-17 15:00:33 -08:00
task-spec.coffee feat(error): improve error reporting. Now NylasEnv.reportError 2016-02-03 18:06:52 -05:00