Commit graph

2678 commits

Author SHA1 Message Date
Juan Tejada
a43a73c35d fix(empty-state): Limit scaling factor for animation
- Fix display: none in css
2016-03-25 10:56:49 -07:00
Juan Tejada
843751ea94 fix(styles): Remove unused style in empty-state.less 2016-03-25 10:48:32 -07:00
Juan Tejada
648ac13339 fix(empty-state): Make sure inbox zero /always/ animates
- Animation plays on mount, so always unmount the empty state component instead
  of hiding it.
2016-03-25 10:46:32 -07:00
Juan Tejada
8a3c2730cb fix(tray): Re add old icon assets for tray icon for win32 and linux 2016-03-25 10:05:17 -07:00
Juan Tejada
30055abf34 feat(inbox-zero): Adds inbox zero animations and empty states
Summary: Adds inbox zero animations and empty states

Test Plan: Manual

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2801
2016-03-25 09:56:02 -07:00
Ben Gotow
394d85cecf fix(drafts): Use the appropriate account and alias 2016-03-24 19:35:24 -07:00
Ben Gotow
f846447f12 fix(send): Don't queue an upload task if there are no files 2016-03-24 19:30:47 -07:00
Jackie Luo
03bc634e79 lint(thread-counts-store): Remove semicolon 2016-03-24 17:19:43 -07:00
Ben Gotow
b05ea801b0 fix(popover): Add isMounted check, Sentry 20951 2016-03-24 17:18:50 -07:00
Ben Gotow
3fa93c2730 fix(composer): Sentry 9688 2016-03-24 17:18:50 -07:00
Ben Gotow
45effe60b2 fix(db): Don't log query plans for SCAN Thread-Counts, which are fine 2016-03-24 17:18:50 -07:00
Jackie Luo
3e36e10f07 lint(themes): Add import to ui-variables 2016-03-24 16:56:49 -07:00
Ben Gotow
352ad9f31b bump(version): 0.4.18 2016-03-24 16:53:01 -07:00
Ben Gotow
c963f05032 fix(counts): typo 2016-03-24 16:48:55 -07:00
Ben Gotow
997acbf906 fix(counts): Collect metrics about -unread, reset when found 2016-03-24 16:48:15 -07:00
Ben Gotow
c1b3f87d71 fix(autolinker): Don't include trailing ? or . in URLs 2016-03-24 16:35:11 -07:00
Jackie Luo
2fedf7f091 fix(themes): Re-add disclosure triangles to Taiga 2016-03-24 16:19:41 -07:00
Juan Tejada
5d90cb40b0 🎨(selected-stack): Update text color for clear selection btn 2016-03-24 15:47:49 -07:00
Ben Gotow
cbce8fb79b fix(search): Display search API errors in transient notiication bar 2016-03-24 15:42:05 -07:00
Ben Gotow
3908496565 fix(search): Increase search timeout to 45s 2016-03-24 15:16:43 -07:00
Ben Gotow
fc33e97bf8 perf(*): Replace _.omit, refresh scrollbar height less often 2016-03-24 15:14:41 -07:00
Juan Tejada
4bfb4fe916 patch(thread-list): Limit number of injected icons in narrow mode to 1
- Update InjectedComponentSet to take a limit for the amount of matching
  components to render
2016-03-24 12:32:01 -07:00
Juan Tejada
e5c0a2d8ee fix(specs): Add check when patching Google Inbox keymaps from 07d218d
- This was preventing the specs from running
2016-03-24 12:04:10 -07:00
Juan Tejada
d3ca6e592d feat(list): Add ThreadIcon injected region to narrow thread-list 2016-03-24 12:00:49 -07:00
Jackie Luo
d6bc6e7bc5 fix(composer-emoji): Return if no search results are found 2016-03-24 11:57:49 -07:00
Ben Gotow
1d97b6811a fix(selection): Make the clear selection button a button 2016-03-24 10:57:12 -07:00
Jackie Luo
d0b001012e feat(composer-emoji): Add emoji button to composer
Summary: The emoji picker allows users to insert emoji to their messages on click. A few emoji that don't render properly in Chromium are replaced with PNGs, both in the composer view and the message list view, but only the Unicode characters are sent in the message bodies.

Test Plan: TODO

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2787
2016-03-24 10:45:48 -07:00
Ben Gotow
ac70ed3064 fix(undo-redo): Remove initial state check 2016-03-24 10:42:15 -07:00
Ben Gotow
844dbc07b6 Merge pull request #1808 from rittbys/master
Changed GoogleInbox to Inbox by Gmail (TEMPORARY PATCH)
2016-03-24 10:27:27 -07:00
Ben Gotow
27000e1965 fix(autolinker): Only match top ten tld's when schme not present 2016-03-24 10:14:47 -07:00
Ben Gotow
75ff8282a8 perf(autolinker): Use requestIdleCallback to fix hanging on large bodies 2016-03-23 19:03:21 -07:00
Juan Tejada
75c9b116bb fix(date-utils): Fix isPastDate using moment 2016-03-23 18:44:23 -07:00
Juan Tejada
6b982f8975 fix(specs): Fix specs for account store token initialization 2016-03-23 18:10:15 -07:00
Juan Tejada
95cd1945de fix(snooze): Correctly display snoozed until label 2016-03-23 18:00:46 -07:00
Juan Tejada
4a6d9d1085 fix(send-later): Close popover in inline composer when msg scheduled 2016-03-23 17:46:24 -07:00
Juan Tejada
176e3d05c3 fix(popover): Reduce animation length to 100ms 2016-03-23 17:43:43 -07:00
Juan Tejada
9413459311 fix(styles): Fix styles for attachment and upload items 2016-03-23 17:16:25 -07:00
Jackie Luo
f059e65acc fix(composer-emoji): Return null if no matching node is found 2016-03-23 17:01:14 -07:00
Jackie Luo
e574c2ecf7 fix(composer-emoji): Fix setBaseAndExtent bug 2016-03-23 16:48:35 -07:00
Ben Gotow
380d0a9e76 fix(mixpanel): Consolidate reply / replyAll actions 2016-03-23 16:02:30 -07:00
Ben Gotow
0a8e578e9f fix(tokens): Don't assume that keytar is sync, don't wipe until next save 2016-03-23 15:56:34 -07:00
Juan Tejada
0056773769 fix(signatures): Fix signature switching between accounts in composer 2016-03-23 15:23:13 -07:00
Ben Gotow
01cad1351c fix(qs): Handle query subscription errors, => ES6 2016-03-23 11:49:47 -07:00
Juan Tejada
7f73e0455f fix(attachments): Fix error handling when saving uploads to disk
- Fixes sentry 11705
2016-03-22 18:57:56 -07:00
Dakota Nelson
f3250e5395 Add extensibility in composer recipient chips
Summary:
Allow for injection into the composer's list of recipients to indicate
something about each recipient (i.e. for the PGP plugin, allow an
indicator as to whether or not each recipient has a PGP key
available)

Test Plan: Tested locally

Reviewers: juan

Reviewed By: juan

Subscribers: bengotow

Differential Revision: https://phab.nylas.com/D2761
2016-03-22 17:08:54 -07:00
Ben Gotow
1ca13ed366 fix(attachments): Add warning for ENOSPC as well 2016-03-22 16:37:24 -07:00
Ben Gotow
cbc59b2d5c fix(attachments): Present filesystem access errors 2016-03-22 16:28:36 -07:00
Ben Gotow
92bff6ca5a fix(drafts): Formalize draft factory, add reply "behaviors" #1722
Summary:
This diff implements a behavior change described in https://github.com/nylas/N1/issues/1722.

Reply buttons should prefer to focus an existing draft in reply to the same message, if one is pristine, altering it as necessary to switch between reply / reply-all. If no pristine reply is already there, it creates one.

Reply keyboard shortcuts should do the same, but more strictly - the shortcuts should switch between reply / reply-all for an existing draft regardless of whether it's pristine.

This diff also cleans up the DraftStore and moves all the draft creation itself to a new DraftFactory object. This makes it much easier to see what's going on in the DraftStore, and I also refactored away the "newMessageWithContext" method, which was breaking the logic for Reply vs Forward between a bunch of different helper methods and was hard to follow.

Test Plan: They're all wrecked. Will fix after concept is greenlighted

Reviewers: evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2776
2016-03-22 15:47:51 -07:00
Juan Tejada
c07bead684 🎨(composer): Reduce contenteditable min height 2016-03-22 14:51:38 -07:00
Juan Tejada
a6f9e84c9a fix(tasks): Properly handle DraftNotFoundError in DestroyDraftTask
- Fix reference to actual DestroyDraftTask class inside
  syncback-draft-task
2016-03-22 14:34:09 -07:00