Commit graph

2149 commits

Author SHA1 Message Date
Evan Morikawa 0606d9009e Merge pull request #1145 from mbilker/fix-linux-spellchecker
Fix logic for en_US default dictionary on Linux
2016-01-29 10:16:20 -08:00
Juan Tejada c674be10ec fix(lint): Indentation 2016-01-29 10:01:11 -08:00
Ben Gotow f1a9080518 feat(me): Display "Me (Account Label)" in unified inbox 2016-01-29 09:29:25 -08:00
Ben Gotow 21aa4b4291 perf(accounts): Cache accountForId - need ordered map...
In general, we call the functions in AccountStore and CategoryStore / constantly / and inside of critical places like thread list render. Would be nice to create a safe and generic way of caching things and invalidating them when data changes.
2016-01-29 00:42:56 -08:00
Ben Gotow 08935e1044 fix(msg-list): Stop computing timestamps inside invisible tooltip 2016-01-29 00:37:32 -08:00
Ben Gotow 0aac00756a fix(query): Invalidate in-flight updates when query changes 2016-01-29 00:31:58 -08:00
Ben Gotow 183cbaff17 fix(config): observe fires immediately, causing re-renders 2016-01-29 00:31:10 -08:00
Ben Gotow 140162dcd3 fix(db): Pool, flush change records rather than cancel queries 2016-01-28 23:20:19 -08:00
Ben Gotow 45d897ce0a fix(json-blob): ClientIds on JSONBlob should just be key 2016-01-28 23:20:19 -08:00
Juan Tejada d3766c1990 fix(thread-model): Remove check that prevents thread to update correctly
- Since Thread#labels and Thread#folders are now aliased to
  Thread#categories, Thread#fromJSON had to populate the categories array
  correctly. However it, was only being populated from json if the
  categories array was undefined, which prevented the categories from
  being populated when API updates were received.
2016-01-28 19:55:42 -08:00
Juan Tejada be73b8bea8 fix(account-switcher): Don't display "All Accounts" when only 1 account 2016-01-28 19:53:12 -08:00
mbilker 6da8b2c824 fix(spellchecker): add back in split call
Fixes the spec test when only the language (e.g. 'en') is supplied and still
recognize the language.
2016-01-28 22:10:01 -05:00
mbilker a559e41ba0 fix(spellchecker): check both replacements of '_' and '-' in dictionary array 2016-01-28 22:10:01 -05:00
mbilker dbdd460e71 fix(spellchecker): broken array check logic for en_US default 2016-01-28 22:10:01 -05:00
Greg Bowler 4b68f47040 Check metaKey and ctrlKey presence for multi platform support
Fixes #388
2016-01-28 18:34:59 -08:00
Evan Morikawa 6620779ee2 fix(message): fix truncation of messages
It would seem the document.documentElement.scrollHeight can return 0 when
the document.body.scrollHeight reliably returns the correct height.
Changed to fallback to various height checking mechanisms.

Fixes #425
Fixes #1102
Fixes #1153
2016-01-28 18:07:43 -08:00
Evan Morikawa 256b240b70 fix(quoted): fix quoted text issue with single blockquotes
Fixes #1084
Also fixes broken tokenizing text field specs
Also protects `MessageBodyExtension`s from errors
2016-01-28 17:25:36 -08:00
Ben Gotow 25db6c696d fix(labels): Never show labels UX for threads split across folders 2016-01-28 16:57:24 -08:00
Ben Gotow ef5a8fc8e9 fix(important): Hide important in message column of unified unless Gmail 2016-01-28 16:57:24 -08:00
Ben Gotow ef7c98af2c fix(account-sidebar): onToggleCollapsed => onCollapseToggled 2016-01-28 16:57:24 -08:00
Ben Gotow f4ed37c1e1 fix(drag-drop): Fix drop styles in account sidebar 2016-01-28 16:57:24 -08:00
Evan Morikawa b276445c86 fix(composer): don't blur input field when app blurs
Fixes #852
2016-01-28 16:37:07 -08:00
Evan Morikawa cfc937e661 fix(sql): fix single quote escaping in array queries 2016-01-28 16:28:10 -08:00
Juan Tejada c83a6899ac fix(syncback-category-task): Correct request path when updating 2016-01-28 16:25:17 -08:00
Juan Tejada 896c1e1fe9 fix(sidebar): Prevent editing items in OutlineView when not allowed
- Fix check in OutlineViewItem
2016-01-28 16:21:21 -08:00
Evan Morikawa 15cafbac4d fix(apm): no longer overrides apm
Summary: Fixes #39

Test Plan: new tests

Reviewers: juan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2481
2016-01-28 16:06:27 -08:00
Ben Gotow 0fe0542bf9 fix(unified): Add a unified icon. designer gets back tues. 2016-01-28 16:01:22 -08:00
Ben Gotow a4e37c66f4 fix(specs): Re-enable draft-store specs 2016-01-28 15:48:08 -08:00
Ben Gotow eb3b308dc8 bump(version): 0.4.0 beta 2016-01-28 15:48:08 -08:00
Juan Tejada 74c72e0915 add(docs): Add docs for OutlineView and OutlineViewItem
- Renames some stuff
2016-01-28 15:28:15 -08:00
Ben Gotow e39662983d fix(important): Fix bugs in "important" label categorization 2016-01-28 15:27:03 -08:00
Ben Gotow 52a7a6625f fix(linter): Switching between Coffee + ES6 is hard... 2016-01-28 14:59:17 -08:00
Ben Gotow d1415585d5 fix(contact-search): Keep only ranked contacts, query for others. Massive perf boost. 2016-01-28 14:56:15 -08:00
Drew Regitsky bb6f74d5f2 fix(templates): small CSS fix in preferences page 2016-01-28 14:51:31 -08:00
Evan Morikawa 14edd8a7c7 fix(keymap): don't use alt key in Windows keymaps 2016-01-28 14:26:56 -08:00
Evan Morikawa bca538bb28 fix(keymap): change win32 keymaps to use ctrl-alt instead of cmd-alt 2016-01-28 14:18:44 -08:00
Juan Tejada f00f7c56f8 add(specs): Add specs for MailboxPerspective
- Renames canApplyToThreads -> canReceiveThreads and applyToThreads ->
  receiveThreads
- Add initial specs and better documentation for
  MailboxPerspective.canReceiveThreads.
2016-01-28 14:11:50 -08:00
Juan Tejada 79c103ae15 fix(perspective): Update MailboxPerspective.canApplyToThreads
- Checks if the account ids of the threads that want to be applied are
  contained inside the perspectives account ids. E.g.:
  - I can move thread from account A to unified inbox or inbox A, but
    not to inbox B.
  - I can move threads from account A to a folder in account A but not a
    folder in account B
- Update data transferred in drag + other minor updates
2016-01-28 13:30:08 -08:00
Michael Grinich 14a2ae928b add levelup theme 2016-01-28 13:23:10 -08:00
Evan Morikawa 24bf09b81e fix(resources): update build resources link 2016-01-28 12:03:23 -08:00
Evan Morikawa d2dd04d51f fix(resources): update build resources link 2016-01-28 12:02:27 -08:00
Evan Morikawa 67edcc836f feat(startup): new option to launch on system start
Summary:
adds new option to launch on system start

Also adds the `--background` flag to launch N1 in the background (aka not
show the main window).

Test Plan: Manual

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2474
2016-01-28 12:02:08 -08:00
Ben Gotow 63102ba732 fix(message-list): Spec fixes, all stubs need accountId 2016-01-28 11:14:04 -08:00
Juan Tejada 09c82c76a3 fix(count): Fix unread count for badge and tray icon in mac 2016-01-28 11:10:05 -08:00
Juan Tejada 03cbcd91fe update(analytics): Add missing action: removeAttachment 2016-01-28 11:02:27 -08:00
Ben Gotow 3b03f141b1 fix(message-list): Only display labels when usesLabels() 2016-01-28 10:46:33 -08:00
Ben Gotow 0baff09d42 Update analytics to remove references to deleted Actions 2016-01-28 10:38:02 -08:00
Ben Gotow 3e5312dc39 Remove indexes which used accountId as the first param... not faster 2016-01-28 10:03:32 -08:00
Juan Tejada cf7b8f1a47 Prevent creation of context menu twice for nested items of OutlineView 2016-01-28 01:35:29 -08:00
Juan Tejada 8be8bfcab2 Fix in upload store when deleting draft 2016-01-28 01:29:33 -08:00