Mailspring/internal_packages/worker-sync/lib
Juan Tejada 9f998d1964 refactor(rip-current-account): Rips out AccountStore.current
Summary:
- WIP: Need to fix tests and some errors!
- Refactors Category class to hold information about its type
- Refactors CategoryStore to rely on observables instead of local caches
- Adds and updates Observables and helpers
- Refactors ContactStore to hold entire cache of contacts instead of per
  current account
  - Same for ContactRankingStore and other stores
- Refactors method names for AccountStore + some helpers
- Updates MailViewFilter to hold an account
  - Adds basic Unified filter
- Replaces AccountStore.current calls with either:
  - The account of the currently focused MailViewFilter
  - The account associated with a thread, message, file, etc...
  - A parameter to be passed in
  - Arbitrarily, the first account in the AccountsStore

Test Plan: - Unit tests

Reviewers: evan, bengotow

Differential Revision: https://phab.nylas.com/D2423
2016-01-08 14:22:13 -08:00
..
contact-rankings-cache.coffee refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
main.coffee feat(mail-rules): Per-account mail rules filter incoming, existing mail 2015-12-23 02:19:32 -05:00
nylas-long-connection.coffee refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
nylas-sync-worker-pool.coffee refactor(rip-current-account): Rips out AccountStore.current 2016-01-08 14:22:13 -08:00
nylas-sync-worker.coffee feat(transactions): Explicit (and faster) database transactions 2015-12-17 11:46:05 -08:00
refreshing-json-cache.coffee feat(transactions): Explicit (and faster) database transactions 2015-12-17 11:46:05 -08:00