Mailspring/internal_packages/thread-list/lib
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
..
category-removal-target-rulesets.es6 fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
draft-buttons.cjsx feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
draft-list-columns.cjsx fix(draft-list): Display , separated participants list 2016-02-18 12:14:18 -08:00
draft-list-send-status.jsx feat(snooze/send-later): Add snooze and send later plugins 2016-02-18 10:06:21 -08:00
draft-list-store.coffee feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
draft-list.cjsx fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
draft-selection-bar.cjsx fix(linter): Switching between Coffee + ES6 is hard... 2016-01-28 14:59:17 -08:00
empty-state.cjsx fix(inbox-zero): don't show inbox zero when syncing 2016-02-23 14:17:11 -08:00
focus-container.cjsx Clean up the MultiselectList implementation a bit 2016-01-15 14:26:07 -08:00
formatting-utils.cjsx feat(sidebar): add timestamps to related messages 2016-03-09 16:17:20 -05:00
main.cjsx feat(snooze/send-later): Add snooze and send later plugins 2016-02-18 10:06:21 -08:00
sending-cancel-button.cjsx feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
sending-progress-bar.cjsx feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
thread-buttons.cjsx fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-list-columns.cjsx fix(sent): Sort sent view by most recent sent message, not received 2016-03-09 11:40:56 -08:00
thread-list-context-menu.es6 fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-list-data-source.coffee feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
thread-list-icon.cjsx feat(tooltip): use native tooltip style 2015-10-21 11:27:57 -07:00
thread-list-participants.cjsx fix(contact): Converge on displayName(), don't show account label in ThreadList. Fixes #1157 2016-02-01 19:12:06 -08:00
thread-list-quick-actions.cjsx fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-list-scroll-tooltip.cjsx More renaming of view => data source 2016-01-14 15:04:17 -08:00
thread-list-store.coffee fix(focus): Don't clear when item is scrolled out of retained range 2016-01-29 12:34:58 -08:00
thread-list.cjsx fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-selection-bar.cjsx fix(linter): Switching between Coffee + ES6 is hard... 2016-01-28 14:59:17 -08:00