Mailspring/spec
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
..
fixtures add(specs): +101 specs and 403 assertions from Atom 2015-06-02 19:51:00 -07:00
6to5-spec.coffee
atom-reporter.coffee feat(logging): Developer bar, verbose logging to logstash, Electron 0.26.0 2015-05-19 17:02:46 -07:00
atom-spec.coffee
command-installer-spec.coffee
command-registry-spec.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
config-spec.coffee fix(config): Apply config change from Atom, process locking 2015-08-25 16:00:09 -07:00
context-menu-manager-spec.coffee
deserializer-manager-spec.coffee
jasmine-helper.coffee
language-mode-spec.coffee
notification-manager-spec.coffee
notification-spec.coffee
space-pen-extensions-spec.coffee
spec-bootstrap.coffee fix(asar): Support ASAR, and running of specs in prod builds 2015-05-21 14:41:30 -07:00
spec-helper-platform.coffee
spec-helper.coffee feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
spec-suite.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
squirrel-update-spec.coffee
time-reporter.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
window-spec.coffee fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
workspace-spec.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00