Commit graph

3804 commits

Author SHA1 Message Date
Ben Gotow 4cd60e1042 fix(darkside): remove notifications shadow 2016-11-04 11:32:14 -07:00
Ben Gotow d214a52192 fix(prefs): Only scroll to top when switching tabs 2016-11-04 11:32:14 -07:00
Evan Morikawa 596777a427 bump(submodule): update SFDC 2016-11-04 11:22:51 -07:00
Evan Morikawa c3cd67257a fix(form): support cmd+enter and not optimistic submission on all enter 2016-11-04 11:12:51 -07:00
Ben Gotow 5a2ec1c3f6 Revert "💄(messages): Remove email-frame max-width styles"
This reverts commit 9637c9547f.
2016-11-04 11:05:14 -07:00
Halla Moore a269a103e1 Revert "💄(messages): Remove max-width styles"
This reverts commit 45dc4a08be.
2016-11-04 11:03:22 -07:00
Ben Gotow 9637c9547f 💄(messages): Remove email-frame max-width styles 2016-11-04 11:01:16 -07:00
Ben Gotow b1faf6ef22 fix(composer): Check for empty as well as original body 2016-11-04 10:58:34 -07:00
Ben Gotow 403d2096b8 fix(gh-sidebar): Don’t customize <h2> styling 2016-11-04 10:58:34 -07:00
Halla Moore 45dc4a08be 💄(messages): Remove max-width styles
Although some word-wrapping may look better at 800px, it looks much worse
when we can't properly display html emails that are meant for a wider area.
It also just seems a little weird to limit our users in this way.
2016-11-04 10:52:51 -07:00
Juan Tejada ff61527d75 fix(search): Prevent duplicate results from search query
This is a temporary fix which adds defensive code to prevent duplicate results
from being returned from the thread search query which causes N1 to enter a loop
and freeze (#3001).

Duplicate results from the search query likely indicate that a thread
was indexed twice, which was not the case before. The cause for this is
still at large.
2016-11-04 10:50:10 -07:00
Ben Gotow 919697c070 fix(theme-picker): Regression in design of theme picker 2016-11-04 10:29:59 -07:00
Ben Gotow 3873f31817 fix(mac-notifier): Manually install on darwin (for now) 2016-11-04 10:29:59 -07:00
Evan Morikawa 37eeb67033 fix(form): Have submit button say "update" when necessary 2016-11-04 09:28:55 -07:00
Juan Tejada 9f42a150ac :lipstick(sidebar): Update reminders icon: 2016-11-03 23:07:47 -07:00
Juan Tejada 3fc9ee7927 💄(attachments): Fix file attachment styles 2016-11-03 23:02:15 -07:00
Juan Tejada 2c63ae944b fix(attachments) Add default value for filePreviewPaths in case they are not provided 2016-11-03 18:26:11 -07:00
Juan Tejada 91199b673c fix(attachments): Fix several bugs in attachment components
- Fix several styling issues
- Adjust the generated size of the thumbnail preview to fill all of the
available space
2016-11-03 17:55:40 -07:00
Ben Gotow 52731f947b fix(decorators): Carry container config through decorators 2016-11-03 17:54:47 -07:00
Ben Gotow dbe59f4326 fix(popovers): Don’t apply minimum width to all 2016-11-03 17:52:10 -07:00
Ben Gotow be3d2f0b44 fix(auth): Add partition back to webview 2016-11-03 17:42:20 -07:00
Evan Morikawa dbc5a97cdd fix(travis): PUBLISH_BUILD only on mirror 2016-11-03 11:31:58 -07:00
Juan Tejada b6761b049e update(changelog) 2016-11-03 09:18:54 -07:00
Evan Morikawa aeece86cbe fix(spec): bump submodule spec fixes 2016-11-03 08:57:11 -07:00
Juan Tejada 44bfb03375 fix(lint) 2016-11-03 00:08:55 -07:00
Evan Morikawa 5a7b11c4bf fix(plugin): remove from plugin list 2016-11-02 18:03:56 -07:00
Juan Tejada f7e162c1a8 bump(version): 0.4.202 2016-11-02 18:03:31 -07:00
Halla Moore e5e7a72608 feat(cal) Add a mini month view to the corner of the calendar
Summary: Title says it all!

Test Plan: Manual

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3373
2016-11-02 17:45:12 -07:00
Evan Morikawa 637020fdb6 fix(form): add currentFormValues to GeneratedForm 2016-11-02 17:43:56 -07:00
Juan Tejada 1183b852f0 bump(version): 0.4.201 2016-11-02 17:33:32 -07:00
Juan Tejada 189b15e586 feat(attachments): Generate and display thumbnail previews for files (mac only)
Summary: Adds option to view preview thumbnails for attachments. This commit updates the FileDownloadStore to generate file thumbnail previews for attachments via `qlmanage` and displays them in the AttachmentItem component.

Test Plan: Manual

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3393
2016-11-02 17:27:53 -07:00
Jackie Luo 4efcbb4fc3 fix(email-frame): Refactor if/else for frame height 2016-11-02 15:56:27 -07:00
Jackie Luo 57c25b7fa9 fix(email-frame): Revert to body scrollHeight if documentElement's is zero 2016-11-02 15:35:58 -07:00
Jackie Luo bf95181ea8 fix(logging): Remove console.log() 2016-11-02 15:35:58 -07:00
Jackie Luo e1a5e6e1ea fix(email-frame): Prioritize documentElement for scroll height 2016-11-02 15:35:58 -07:00
Evan Morikawa ff2e626037 fix(travis): fix conditional check in before_install 2016-11-02 14:54:17 -07:00
Ben Gotow 16e2b6036b fix(onboarding): Respect hot window dimensions 2016-11-02 13:31:30 -07:00
Ben Gotow c59fc486d7 fix(search): Rename package, fix column naming issue 2016-11-02 13:13:16 -07:00
Ben Gotow 432012a6bc feat(search): Fix slow queries with FTS5 on Contacts 2016-11-02 13:03:28 -07:00
Evan Morikawa ec7133dff1 fix(travis): Fix travis build script
fix(travis): Fix travis error

add debug to travis

bump(submodule)

Silence
2016-11-02 13:02:31 -07:00
Halla Moore 6f571a323f fix(decaffeination) Remove second arg from some slice calls
Decaffination replaces someString[index..-1] with
someString.slice(index, -1 + 1), which is bizzare. This commit changes those
instances to someString.slice(index).
2016-11-02 12:40:01 -07:00
Evan Morikawa c651d272b0 fix(travis): Fix path to encrypted files 2016-11-02 12:26:45 -07:00
Evan Morikawa 73775ad31a feat(travis): allow builds on mirror 2016-11-02 12:23:19 -07:00
Juan Tejada f336d13c23 fix(selection): Add index to Contact table to improve perf when selecting threads
Thread selection triggers a query on the Contacts table by account_id,
email and name. Add an index to improve this query
2016-11-02 12:15:31 -07:00
Juan Tejada 13e46af4d7 bump(submodule) 2016-11-02 11:58:34 -07:00
Juan Tejada 13586d2886 fix(specs): Add regression test for list-selection 2016-11-02 11:46:28 -07:00
Halla Moore d996273b7b fix(email-frame) Only use documentElement scrollHeight if it is taller than body
There are cases where the documentElement has a scrollHeight of 0, even if
the body has a larger scrollHeight. Before, we were always using the
documentElement if it was present. Now, we use the maximum scrollHeight.
2016-11-02 11:38:26 -07:00
Juan Tejada 7865da6b7d fix(list-selection): Properly iterate over the selected indexes when expanding selection
This commit fixes a bug in which you couldn't shift select threads from
the bottom to the top (i.e. select a thread, shift-click a thread on top of it
would not select the range of threads).

This bug was introduced by a translation from coffeescript to JS.
Specifically, by converting

```
for idx in [startIdx..endIdx]
```

to
```
for (let idx = startIdx; idx <= endIdx; idx++) { ... }
```

The coffeescript range syntax for `[x..y]` automatically generates the
correct range when x > y or when x < y, generating a descending or
ascending range respectively.
However, our transaltion simply iterated ascendingly from `startIdx`
to `endIdx`, which would be a no-op when the `startIdx` was greater than
the `endIdx`, which was the case when shift-selecting threads from bottom to top.
2016-11-02 11:33:01 -07:00
Evan Morikawa 4692484094 fix(forms): fix window launcher and gen form 2016-11-02 11:19:35 -07:00
Juan Tejada 5fa379bccf fix(es6): Convert FileDownloadStore to JS 2016-11-01 18:12:24 -07:00