Commit graph

780 commits

Author SHA1 Message Date
Ben Gotow
7a1be10ca1 Sentry fix: pressing the left/rright arrow keys in an empty To field throws an exc 2019-06-23 01:00:36 -05:00
Ben Gotow
900ccdbc73 Sentry fix: Occasionally value.focusBlock is null when markdown shortcut fires 2019-06-23 00:47:50 -05:00
Ben Gotow
5bb9e80404 Sentry fix: Only display sender responses inline if the email has a From: line 2019-06-23 00:47:09 -05:00
Ben Gotow
67605e983f Sentry fix: don’t count on theme names being valid CSS selectors 2019-06-23 00:43:48 -05:00
Ben Gotow
0134c8a4b3 Sentry fix: Don’t allow labels to be selected as the Gmail trash folder, see description
This is neat but Gmail has very specific semantics around labels vs the “spam”, “trash” and “all mail” folders. If you choose a label as your Trash the email still appears in all mail and Mailspring freaks out in several places. We could fix support for this scenarrio, but it’s unlikely this is what users actually want.
2019-06-23 00:27:20 -05:00
Ben Gotow
1c485ae213 Sentry fix: reproduce issue with reminder metadata not transfered to thread, increase timeout 2019-06-22 23:47:04 -05:00
Ben Gotow
808c7581a4 Sentry fix: handling events from a second instance being launched before app setup crashes 2019-06-22 23:28:30 -05:00
Ben Gotow
8edc9f0fc6 When Slate fails, include the shape (not content) of the offending draft in the error report and recover 2019-06-22 01:05:37 -05:00
Ben Gotow
50d61d36fa Sentry fix: A draft with an empty string body is populated 2019-06-22 00:25:33 -05:00
Ben Gotow
684eb2d420 Sentry fix: Cannot read property 'setHeightQuietly' of null 2019-06-21 23:25:41 -05:00
Ben Gotow
e35d44109c Bump master to 1.6.3 2019-06-21 23:25:17 -05:00
Ben Gotow
278bf219bf Improve performance of client queries - accountId is redundant and triggers use of wrong index 2019-06-18 02:37:52 -05:00
Ben Gotow
0a2feaa88d Fix self-triggering opens on server-created drafts (message ID not set by Mailspring) 2019-06-18 01:25:55 -05:00
Ben Gotow
9b506c55d3 When message list is in descending order, avoid mutating state in-place 2019-06-17 13:37:26 -05:00
Ben Gotow
2c630c47bc Draft “commit time” is the time the write starts, not the time the write finishes 2019-06-17 12:45:07 -05:00
Ben Gotow
adbae6657c Beta feedback: mailbox permalink dates are in unix time, not JS time 2019-06-17 01:08:41 -05:00
Ben Gotow
763232b177 Bump down composer toolbar item padding slightly to avoid wrapping 2019-06-17 00:59:29 -05:00
Ben Gotow
6d4e805437 Tighten padding of composer action bar buttons so they fit at narrowest size 2019-06-16 22:00:18 -05:00
Ben Gotow
9c242f5bb2 Fix linter error 2019-06-16 21:57:19 -05:00
Ben Gotow
3b15c3b887 Improve performance of modals and the preferences sheet animation 2019-06-16 20:23:19 -05:00
Ben Gotow
bf246e64e7 Improve theme support in new event RSVP cards 2019-06-16 19:57:22 -05:00
Ben Gotow
b189b0e65a Don’t query for “related threads” if the contacts sidebar is closed 2019-06-16 19:44:08 -05:00
Ben Gotow
cfef571559 Improve performance of body <> bodyEditorValue by making both mutations lazy 2019-06-16 16:47:40 -05:00
Ben Gotow
60c613fe7d Sentry fix: Warn about a greater range of fs errors, don’t collect them 2019-06-16 16:46:20 -05:00
Ben Gotow
b28931dad4 Sentry fix: Handle scenario where messge, thread specified for new draft cannot be found 2019-06-16 15:34:40 -05:00
Ben Gotow
aee42e31c8 Sentry fix: Clicking upgrade before the SSO URL has been retrieved should work 2019-06-16 15:22:57 -05:00
Ben Gotow
f1bdd892ed Sentry fix: Additional rare null-scenario handling 2019-06-16 15:22:22 -05:00
Ben Gotow
c50cfaf3ff Sentry fix: Handle case where spawning a background query runner fails immediately 2019-06-16 14:57:30 -05:00
Ben Gotow
0405cfc31c Sentry fix: Handle null in a few strange places / rare cases 2019-06-16 14:40:53 -05:00
Ben Gotow
a4eb7d6ee2 Sentry fix: guard more aggressively against creating tasks when folders are missing 2019-06-16 14:25:55 -05:00
Ben Gotow
b70e27a66a Sentry fix: when the web contents have crashed, we can’t mount a dialog to the window reliably 2019-06-16 13:55:03 -05:00
Ben Gotow
7db9258f5a Sentry fix: Crash when popping out a draft before it’s loaded 2019-06-16 13:51:53 -05:00
Ben Gotow
31a9f7e257 Sentry fix: Fix undefined reference in IdentityStore 2019-06-16 13:43:40 -05:00
Ben Gotow
808f516a09 Sentry fix: Linux theme config can reference a theme that cannot be found
Error: Cannot read property 'data' of null
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 175, col 61, in __getAllIconPaths
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 212, col 17, in getIconFromTheme
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 245, col 14, in getIconPath
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 269, col 10, in Object.getIcon
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/native-notifications.ts", line 111, col 30, in NativeNotifications.getIcon
2019-06-16 13:37:45 -05:00
Ben Gotow
acfe38e485 Sentry fix: race condition can cause finalize to be called after captureWindow destroyed 2019-06-16 13:34:54 -05:00
Ben Gotow
3994c6e67f Sentry fix: Don’t report completely empty error payloads to Sentry 2019-06-16 13:33:31 -05:00
Ben Gotow
88dc7bb6b9 Sentry fix: “Cannot read property 'split' of undefined” in linux theme resolution 2019-06-16 13:24:46 -05:00
Ben Gotow
1547234040 Don’t waste CPU animating the tooltip “dots” when in the background 2019-06-16 12:04:53 -05:00
Ben Gotow
62d2c700b8 Handle changes in same ms as lastCommitTime, committed but not finished, when sending 2019-06-14 11:38:43 -05:00
Ben Gotow
ad13cab209 Fix support for select-all + copy of email message contents 2019-06-14 02:16:56 -05:00
Ben Gotow
e549d48299 Copy-pasting out and back in to the editor uses Slate’s representation, not HTML 2019-06-14 02:12:30 -05:00
Ben Gotow
6167938af2 Allow copy-paste of void nodes (images) in Slate by changing fix to #787 2019-06-14 02:11:48 -05:00
Ben Gotow
4d06593b93 Add a small hack to allow copy-pasting just an image in the composer 2019-06-14 01:53:30 -05:00
Ben Gotow
33048e3388 Allow Slate’s default drag-and-drop behavior to pass through the file dropzone 2019-06-14 01:45:38 -05:00
Ben Gotow
ee909d5ceb Improve the styling of inline image attachments in the composer 2019-06-14 01:45:00 -05:00
Ben Gotow
c02a3b33f1 window.onerror is not always calleed with an error object (resizeobserver issue) 2019-06-13 22:51:10 -05:00
Ben Gotow
9e31412654 Profile and improve resize performance, fix “resize observer loop” error 2019-06-13 22:50:32 -05:00
Ben Gotow
1808e52b05 Update changelog for 1.6.2 release (pending testing) 2019-06-11 02:24:16 -05:00
Ben Gotow
5ad85ff7cb Semver caret syntax is patch-only for 0.x.x, fork to update slate-edit-list peerDep 2019-06-11 01:48:25 -05:00
Ben Gotow
3eda735e06 Pin to exact versions of slate dependencies 2019-06-11 01:07:46 -05:00