Mailspring/static/components
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
..
button-dropdown.less feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
extra.less feat(drag-threads): Move threads to folders/labels from thread list 2015-07-23 11:10:51 -07:00
generated-form.less feat(salesforce): load current user 2015-05-07 15:28:44 -07:00
list-tabular.less fix(multiselect-bar): Do not render components inside action bar when it's hidden 2015-07-23 14:12:14 -07:00
menu.less feat(picker): new folder and label picker 2015-07-23 11:47:46 -07:00
popover.less fix(popover): don't let popover overflow 2015-07-23 19:42:16 -07:00
scroll-region.less fix(composer): Show a scrollbar in the popout composer 2015-06-23 15:21:25 -07:00
spinner.less feat(offline-mode, undo-redo): Tasks handle network errors better and retry, undo/redo based on tasks 2015-07-07 13:38:53 -04:00
tokenizing-text-field.less feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
unsafe.less fix(lint): fix linter errors with latest land 2015-04-30 18:27:39 -07:00