Mailspring/internal_packages
Ben Gotow 81d2edcaf9 feat(accounts): Kill namespaces, long live accounts
Summary:
This diff replaces the Namespace object with the Account object, and changes all references to namespace_id => account_id, etc. The endpoints are now `/threads` instead of `/n/<id>/threads`.

This diff also adds preliminary support for multiple accounts. When you log in, we now log you in to all the attached accounts on edgehill server. From the preferences panel, you can auth with / unlink additional accounts. Shockingly, this all seems to pretty much work.

When replying to a thread, you cannot switch from addresses. However, when creating a new message in a popout composer, you can change the from address and the SaveDraftTask will delete/re-root the draft on the new account.

Search bar doesn't need to do full refresh on clear if it never committed

Allow drafts to be switched to a different account when not in reply to an existing thread

Fix edge case where ChangeMailTask throws exception if no models are modified during performLocal

Show many dots for many accounts in long polling status bar

add/remove accounts from prefs

Spec fixes!

Test Plan: Run tests, none broken!

Reviewers: evan, dillon

Reviewed By: evan, dillon

Differential Revision: https://phab.nylas.com/D1928
2015-08-21 15:29:58 -07:00
..
account-sidebar feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
attachments fix(specs/keys): Fix broken specs, clean up CJSX 2015-08-06 12:22:06 -07:00
calendar-bar feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
category-picker feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
composer feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
composer-signature feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
developer-bar feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
events feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
file-list feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
inbox-contact-elements add more test coverage and refactor checking if a contact is the current user. fixes T3360. 2015-08-18 10:18:30 -07:00
message-list feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
message-templates feat(salesforce): new UI for Salesforce 2015-06-17 20:40:08 -07:00
mode-switch feat(preferences): WIP Preferences panel 2015-08-14 15:40:11 -07:00
notification-mailto feat(preferences): WIP Preferences panel 2015-08-14 15:40:11 -07:00
notification-update-available
notifications feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
onboarding feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
preferences feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
search-bar feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
settings feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
sidebar-fullcontact feat(salesforce): new UI for Salesforce 2015-06-17 20:40:08 -07:00
sidebar-inbox-internal feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
thread-list feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
today fix(today): Temporarily remove today view 2015-07-20 11:53:48 -07:00
tooltip fix(tooltip): doesn't show on archive either 2015-08-03 10:57:56 -07:00
ui-dark RSVP tile for events on messages 2015-07-28 18:21:30 -07:00
ui-light
undo-redo feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
unread-notifications feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00