Mailspring/internal_packages
Ben Gotow 310f8ba062 fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously
Summary:
atom-window `sendMessage` was not the same as `browserWindow.webContents.send`. WTF.

Save current namespace to config.cson so that it is never null when window opens

Don't re-create thread view on namespace change unless the namespace has changed

Tests for NamespaceStore state

Push worker immediately in workerForNamcespace to avoid creating two connections per namespace

Allow \n to be put into sreaming buffer, but only one

Clear streaming buffer when we're reconnecting to avoid processing same deltas twice (because of 400msec throttle)

Make `onProcessBuffer` more elegant—No functional changes

Test Plan: Run tests!

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D1551
2015-05-21 18:08:29 -07:00
..
account-sidebar fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
attachments fix(naming): Move atom/inbox/nilas refs to Nylas 2015-05-15 11:07:28 -07:00
calendar-bar refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
composer update linter to look at all less files 2015-05-21 14:50:40 -07:00
developer-bar fix(asar): Support ASAR, and running of specs in prod builds 2015-05-21 14:41:30 -07:00
file-list refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
inbox-contact-elements refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
light-ui refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
message-list fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
message-templates update linter to look at all less files 2015-05-21 14:50:40 -07:00
mode-switch refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
notification-mailto refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
notification-update-available refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
notifications fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
onboarding update linter to look at all less files 2015-05-21 14:50:40 -07:00
search-bar fix(asar): Support ASAR, and running of specs in prod builds 2015-05-21 14:41:30 -07:00
sidebar-fullcontact update linter to look at all less files 2015-05-21 14:50:40 -07:00
sidebar-inbox-internal update linter to look at all less files 2015-05-21 14:50:40 -07:00
thread-list fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
today refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
tooltip update linter to look at all less files 2015-05-21 14:50:40 -07:00
unread-badge refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
unread-notifications refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00