Mailspring/spec
Evan Morikawa de0f2374fe feat(calendar): can pick which calendars you want displayed
Summary:
Adds a resizable column next to the calendar that lets you pick which
calendars you want to turn on and off.

The picker sidebar styling mimics that of the main account sidebar.

Calendars are grouped by account.

We store the disabled calendars in in your config.

I added a `notIn` SQL method so it'll perform `WHERE calendarId NOT IN
['a', 'b', ...]` instead of `NOT (WHERE calendarId IN ['a', 'b', 'c'])`

I wanted it to be an exclusion (instead of inclusion) list so the default
was "all on" and we didn't need to always fetch the full list of
calendarIds from the database to compare against.

This also fixed a test that was failing constantly: The Query Subscription
Pool Spec was not being properly reset on each test. As a result, the test
would fail with an instance of a query subscription that Jasmine would
attempt to pretty print. Jasmine would fail to pretty print it because of
a jasmine bug that fails to properly display Objects with null prototypes.
The DatabaseStore's EventEmitter has a property with a null prototyp
causing the error

Test Plan: manual

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3336
2016-10-13 11:37:19 -04:00
..
components feat(calendar): can pick which calendars you want displayed 2016-10-13 11:37:19 -04:00
fixtures es6(db): Didn’t wait for NylasLint… 2016-09-21 09:45:11 -07:00
models feat(calendar): can pick which calendars you want displayed 2016-10-13 11:37:19 -04:00
services feat(paste): Paste accepts more HTML, paste and match style now available 2015-12-07 15:34:03 -08:00
stores fix+🎨(notifs): Cleanup, handle nonexistent thread when opening notification 2016-10-01 00:08:19 -07:00
tasks feat(sidebar-notifs) Create sidebar notifications to replace old bars 2016-10-04 08:08:23 -07:00
action-bridge-spec.coffee es6(db): Move DatabaseStore to ES6 2016-09-30 15:24:34 -07:00
auto-update-manager-spec.coffee fix(autoupdater): Change feed URL when Nylas ID or accounts changes 2016-08-18 13:22:56 -07:00
buffered-process-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
component-registry-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
database-object-registry-spec.coffee es6(db): Didn’t wait for NylasLint… 2016-09-21 09:45:11 -07:00
date-utils-spec.es6 Better support 24-hour time (#2622) 2016-07-28 17:42:14 -07:00
default-client-helper-spec.coffee feat(win32): Allow N1 to become the system-wide mailto: handler 2016-10-12 16:05:36 -07:00
dom-utils-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
extension-registry-spec.coffee feat(babel6): Detect when packages don't have a default export 2016-05-06 11:54:57 -07:00
jasmine-helper.coffee cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
jasmine.js feat(calendar): can pick which calendars you want displayed 2016-10-13 11:37:19 -04:00
list-selection-spec.coffee feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
mail-rules-processor-spec.coffee fix(mail-rules): Catch and disable mail rules building bad actions 2015-12-28 18:39:06 -08:00
mailbox-perspective-spec.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
menu-manager-spec.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
module-cache-spec.coffee fix(specs): Update specs following 0.29.2 > 0.34.3 move 2015-11-17 17:40:06 -08:00
n1-spec-reporter.cjsx cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
nylas-api-spec.coffee es6(db): Move DatabaseStore to ES6 2016-09-30 15:24:34 -07:00
nylas-env-spec.es6 fix(specs): Fix specs on Linux 2016-06-15 16:30:52 -07:00
nylas-protocol-handler-spec.es6 fix(specs) convert nylas-protocol-handler-spec to ES6 (#2886) 2016-10-12 11:38:30 -07:00
nylas-test-utils.coffee cson(cleanup): Remove imports, only used for config.cson now 2016-04-24 20:33:34 -05:00
package-manager-spec.coffee es6(db): Move DatabaseStore to ES6 2016-09-30 15:24:34 -07:00
package-spec.coffee cleanup(specs): Remove space-pen. Goodbye, jQuery! 2016-04-26 13:14:07 -07:00
quoted-html-transformer-spec.coffee fix(quoted-text): Don’t add <body>, <head> accidentally to text when transforming 2016-07-28 13:33:59 -07:00
quoted-plain-text-transformer-spec.coffee feat(paste): Paste accepts more HTML, paste and match style now available 2015-12-07 15:34:03 -08:00
spec-bootstrap.coffee Revert "fix(promise): Don't use deprecated Promise.longStackTraces()" 2016-09-20 17:23:53 -04:00
spec-helper-platform.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
spec-helper.coffee fix(spec): remove unused spec helpers 2016-10-12 11:04:38 -04:00
spec-suite.coffee fix(quoted-text): Check that message is reply 2016-07-21 17:45:47 -07:00
spellchecker-spec.jsx fix(spellchecker): Use cross-platform misspellings, fix lint error 2016-10-12 17:07:22 -07:00
style-manager-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
styles-element-spec.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
task-factory-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
theme-manager-spec.coffee fix(themes): Properly set theme on the hot window 2016-06-09 14:12:44 -07:00
time-override.coffee Revert "fix(task-queue): performLocal now operates serially" 2016-09-26 17:04:23 -07:00
time-reporter.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
undo-stack-spec.es6 fix(specs): Fix merge conflicts and some specs 2016-05-24 19:04:20 -07:00
utils-spec.coffee es6(db): DatabaseTransaction & Query moved to ES6 2016-09-26 23:46:46 -07:00