Commit graph

3348 commits

Author SHA1 Message Date
Juan Tejada 072490ebcc fix(send-later): Check if draft is valid before scheduling send later 2016-05-19 13:28:28 -07:00
Juan Tejada eeda318c15 fix(send-later): Update button to show Sending now when time is past 2016-05-19 12:47:21 -07:00
Juan Tejada 9ac83df24d fix(specs): Fix specs for TaskQueue 2016-05-19 12:33:31 -07:00
Evan Morikawa 73529d9db7 fix(spec): fix asynchronicity in NewEventCardSpec due to draft session 2016-05-19 12:30:13 -07:00
Ben Gotow cd40bb7e6d fix(win-launching): Only create hot window when one is used 2016-05-19 12:28:29 -07:00
Juan Tejada 11799c8ce8 fix(accts): Display perspective for a newly added acct correctly
- Will wait for categories to be ready before attempting to focus the
inbox for the new account, preventing a blank screen when a new account
is added
- Add temprary action to set the collapsed state of a sidebar action
after adding a new account
2016-05-19 12:12:22 -07:00
Evan Morikawa b8adb922e3 fix(spec): remove obsolete account store spec 2016-05-19 11:59:02 -07:00
Evan Morikawa bf9052391f fix(spec): fix config setting spy 2016-05-19 11:50:19 -07:00
Ben Gotow 3118f19c11 fix(tasks): Check Task is in registry, remove any non-tasks when loading 2016-05-19 11:35:48 -07:00
Evan Morikawa bf25a8efc2 fix(tasks): ensure NotifyPluginsOfTask gets properly serialized
Fixes:
https://sentry.nylas.com/sentry/edgehill/group/31200/
2016-05-19 11:31:21 -07:00
Juan Tejada 04e3a5a3a1 fix(sidebar): Add state to determine wether to show unified sidebar
- Adds a piece of global state that will be persisted to
`NylasEnv.savedState` indicating wether the accounts for the sidebar
should be reset whenever the FocusedPerspective changes
- #2257
2016-05-19 11:30:31 -07:00
Ben Gotow dcc665ce71 bump(version): 0.4.40 and changelog 2016-05-19 11:15:56 -07:00
Juan Tejada bb6a6b5b47 fix(hot-window): Correctly manage references to the hot window
- Fixes issue where app was not properly relaunching when all accounts were
removed
2016-05-19 10:15:32 -07:00
Ben Gotow 37019a599b fix(accounts): When removing, focus remaining accts before accountForId() stops working 2016-05-18 17:57:57 -07:00
Juan Tejada 7f735e9f41 fix(aliases): Properly set selected state on account update 2016-05-18 17:35:07 -07:00
Ben Gotow 394c5a3e4d fix(config): id was only added recently, use getId() 2016-05-18 17:27:46 -07:00
Ben Gotow 6dbf4ad51a fix(config): Don't loop config changes through ipc 2016-05-18 17:12:57 -07:00
Evan Morikawa c370f3583c refator(undo): convert UndoRedoStore from coffee to es6 2016-05-18 16:58:06 -07:00
Evan Morikawa 7091bc0784 fix(undo): can redo more than one undo item 2016-05-18 16:43:48 -07:00
Ben Gotow 1999e11504 fix(win32): Wait longer before quitting if no windows are open 2016-05-18 16:25:06 -07:00
Ben Gotow a8f54c25df fix(win32): Ignore path in argv when --squirrel flag is present 2016-05-18 16:25:06 -07:00
Jackie Luo 29b448989c fix(plugins): Update plugins list on install 2016-05-18 16:02:57 -07:00
Evan Morikawa 690229aad2 fix(db): can manually call _handleSetupError with no args 2016-05-18 15:44:47 -07:00
Ben Gotow 8b0f0a2323 fix(quit): Booleans on globals are not exposed through remote properly 2016-05-18 15:41:24 -07:00
Evan Morikawa 37eeb5a7a4 fix(scheduler): don't event events 1 second early 2016-05-18 15:37:26 -07:00
Jackie Luo fdc7b0aa5d 🎨(templates): Change language and remove gray box in demo template 2016-05-18 15:30:16 -07:00
Ben Gotow 5b5320997f fix(pkg-install): Use the package.json name, not the folder name 2016-05-18 15:25:18 -07:00
Evan Morikawa 7b692022e3 fix(event): add calendar icon to new event card 2016-05-18 14:21:22 -07:00
Ben Gotow a186f985ba bump(version): 0.4.39 2016-05-18 10:10:31 -07:00
Ben Gotow 98d3c1e8e9 fix(build): prebuild less was using wrong options, cache not used at runtime 2016-05-17 19:28:18 -07:00
Ben Gotow a46bcd1c34 fix(compile-cache): Write atomically to prevent process collisions 2016-05-17 19:28:01 -07:00
Ben Gotow 564d77421f perf(spellcheck): Limit misspellings to 15, recycle nodes 2016-05-17 18:48:01 -07:00
Ben Gotow 21303cecb5 fix(nylas-exports): Avoid repeatedly calling require inside lazyLoad 2016-05-17 18:37:20 -07:00
Evan Morikawa 0db70868a8 fix(composer): reduction in composer bootup time 2016-05-17 15:03:49 -07:00
Evan Morikawa 517a9cdd47 feat(perf): add perf monitoring to composer open time
Summary:
Add basic globally accessible performance monitoring.

Allows us to measure load times for composer windows (or whatever else we
want) and view the data as a Histogram on Mixpanel

Test Plan: manual

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2965
2016-05-17 14:23:14 -07:00
Evan Morikawa 6f355093e0 feat(composer): speed up composer loading & fix deactivate error 2016-05-17 12:37:46 -07:00
Ben Gotow aeeebb193f fix(db): additionalSQLiteConfig is not a function! 2016-05-17 12:34:35 -07:00
Evan Morikawa 056df36a8f fix(bootstrap): properly dedupe all node modules 2016-05-17 09:35:48 -07:00
Juan Tejada 835e008ca2 fix(build): Fix lint errors 2016-05-16 19:53:26 -07:00
Juan Tejada 907ee68aa7 fix(snooze): Fix path to main file in package.json 2016-05-16 17:53:42 -07:00
Juan Tejada 417b09f2ff fix(snooze): Sentry error: "Can't create Snooze Category"
- This error was still being thrown for a large number of accounts,
despite the fact that the N1-Snoozed category was being created
- This error was happening when adding a new account which did not already have a
snooze category in the backend:
  - When the account is added the AccountStore triggers more than once,
  causing the SnoozeStore to send more than one request to create the
  same category. Any request after the first one will fail because the
  category already exists
- The fix is not try to create a category unless the accounts have
actually changed
2016-05-16 16:21:27 -07:00
Ben Gotow 04cc32fef0 fix(new-event-helper): Add required windowKey 2016-05-16 16:49:15 -05:00
Ben Gotow bb40df97fe fix(config): Move all reads / writes to the main process
Summary:
Moves all reading / writing of config file to the main process,
to avoid needing to write code to lock across processes. This should also
be more efficient than re-loading the file in all processes when it's
saved.

Test Plan: Run tests

Reviewers: evan, jackie

Reviewed By: evan, jackie

Differential Revision: https://phab.nylas.com/D2963
2016-05-16 16:38:46 -05:00
Ben Gotow 17b474c14f fix(retry): When tasks fail, try fewer times: 2s, 4s, 8s, 16s, 30s 2016-05-16 15:44:41 -05:00
Evan Morikawa 5722847208 fix(reporting): fix undefined reference in error reporting 2016-05-16 13:31:44 -07:00
Evan Morikawa a53d351d37 fix(spec): update NylasEnv specs 2016-05-16 13:26:33 -07:00
Evan Morikawa c565af9042 fix(spec): Convert NylasEnvSpec from coffee to es6 2016-05-16 11:43:48 -07:00
Evan Morikawa 140f4f34ec fix(error): send all renderer errors to the browser process 2016-05-16 11:33:03 -07:00
Ben Gotow 345d006533 fix(connection): account.id => accountId 2016-05-16 03:26:23 -05:00
Ben Gotow dc76fc5b98 fix(account): JSON without label should not reset label 2016-05-16 01:59:30 -05:00