mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 20:44:30 +08:00
607ca3bf10
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
12 lines
346 B
CoffeeScript
12 lines
346 B
CoffeeScript
describe "AccountSidebarStore", ->
|
|
xit "should update it's selected ID when the focusCategory action fires", ->
|
|
true
|
|
|
|
xit "should update when the DatabaseStore emits changes to tags", ->
|
|
true
|
|
|
|
xit "should update when the AccountStore emits", ->
|
|
true
|
|
|
|
xit "should provide an array of sections to the sidebar view", ->
|
|
true
|