mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 00:36:50 +08:00
76036e82bd
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 |
||
---|---|---|
.. | ||
category-removal-target-rulesets.es6 | ||
draft-buttons.cjsx | ||
draft-list-columns.cjsx | ||
draft-list-send-status.jsx | ||
draft-list-store.coffee | ||
draft-list.cjsx | ||
draft-selection-bar.cjsx | ||
empty-state.cjsx | ||
focus-container.cjsx | ||
formatting-utils.cjsx | ||
main.cjsx | ||
sending-cancel-button.cjsx | ||
sending-progress-bar.cjsx | ||
thread-buttons.cjsx | ||
thread-list-columns.cjsx | ||
thread-list-context-menu.es6 | ||
thread-list-data-source.coffee | ||
thread-list-icon.cjsx | ||
thread-list-participants.cjsx | ||
thread-list-quick-actions.cjsx | ||
thread-list-scroll-tooltip.cjsx | ||
thread-list-store.coffee | ||
thread-list.cjsx | ||
thread-selection-bar.cjsx |