Mailspring/internal_packages
Ben Gotow 9d995ded67 feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers
Summary:
Move sync workers and Edgehill token checks to work window

Move the task queue and database setup to the work window

Move ContactStore background refresh to work window

Store the task queue in the database

WIP

The TaskQueue now puts tasks in the database instead of in a file, which also means it can be observed

Move all delta sync and initial sync to a package, make NylasSyncStore which exposes read-only sync state

DraftStore no longer reads task status. Once you set the "sending" bit on a draft, it never gets unset. But that's fine actually.

If your package lists windowTypes, you *only* get loaded in those windowTypes. If you specify no windowTypes, you get loaded in the root window.

This means that onboarding, worker-ui, worker-sync, etc. no longer get loaded into the main window

ActivitySidebar has a special little store that observes the task queue since it's no longer in the window

Move "toggle component regions" / "toggle react remote" to the Developer menu

Move sync worker specs, update draft store specs to not rely on TaskQueue at all

Test Plan: Run existing tests, all pass

Reviewers: dillon, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D1936
2015-08-27 16:39:40 -07:00
..
account-sidebar downgrade(electron): Also fix less issue on Linux 2015-08-24 18:55:40 -07:00
attachments feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -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(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
composer-signature feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
events feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
file-list fix(perf): Apply accountId to more queries, always run query plans in dev mode to flag SCANs 2015-08-26 14:10:28 -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(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -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 fix(notifications): Give notifications tag like HTML5 Notifications so you can de-dupe 2015-05-25 10:27:36 -07:00
notifications feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
onboarding feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
preferences feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
search-bar fix(perf): Apply accountId to more queries, always run query plans in dev mode to flag SCANs 2015-08-26 14:10:28 -07:00
settings feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
sidebar-fullcontact fix(perf): Apply accountId to more queries, always run query plans in dev mode to flag SCANs 2015-08-26 14:10:28 -07:00
sidebar-inbox-internal feat(accounts): Kill namespaces, long live accounts 2015-08-21 15:29:58 -07:00
thread-list feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -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 fix(build): Temporarily disable 'Task' tests Jenkins can't run, and avoid empty ui-variables files 2015-06-03 12:04:43 -07:00
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
worker-sync feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
worker-ui feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00