Commit graph

873 commits

Author SHA1 Message Date
Ben Gotow ece7f2e649 tweak(win32): Hide the app menu on Windows, show in a right-side button instead 2015-09-11 14:49:26 -07:00
Ben Gotow c7f38cc851 fix(spellcheck): Remove premature optimizations and avoid spellcheck on word being typed
Fixes T3537
2015-09-11 11:12:25 -07:00
Ben Gotow 2ff8fdc30c bump(version): 0.3.6
Lots of bug fixes! See the commit history for more details. Many fixes in this release were reported from Sentry / user testing on Sept 8.
2015-09-10 19:01:15 -07:00
Ben Gotow b75710278f tweak(event-card): Use 12-hour time rather than 24-hour time 2015-09-10 19:00:33 -07:00
Ben Gotow 1e705b9fb1 tweak(action-bridge): Always process.nextTick inbound IPC events, see comment 2015-09-10 18:50:14 -07:00
Ben Gotow e4494990a9 tweak(tooltip): Fix Sentry 2938 2015-09-10 18:37:15 -07:00
Ben Gotow dc7f225669 tweak(win32): Make the window toolbar white on windows 2015-09-10 12:41:12 -07:00
Ben Gotow 257540f2b4 fix(composer): Always open new composer windows from the main window so that AccountStore.current() is correct
Fixes T3479
2015-09-10 11:16:42 -07:00
Ben Gotow 47a891b48c fix(spellcheck): On Windows, right clicking a word doesn't select it
Summary: Minor tweaks so that the word is selected and spellcheck / replacement works

Test Plan: No test coverage at the moment - need to think about ways to test selection

Reviewers: evan, dillon

Reviewed By: dillon

Differential Revision: https://phab.nylas.com/D2006
2015-09-10 10:53:27 -07:00
dillon 8f71cee43b feat(categories): enable creating new labels and folders. addresses T3351.
Summary:
write tests for adding/removing existing labels and popover closing

add more tests

address code review comments

fix the tests

add test for creating label

add test for creating label and queueing change label task

add test for creating a folder

add syncback category task spec

make the rest of the tests pass

remove unnecessary parens

add a few more tests

add last test

Test Plan: added some tests. all tests green

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2010
2015-09-10 10:34:09 -07:00
Ben Gotow 1fbebd3dff fix(scroll-region): Handle edge case where React nodes are not available (Sentry 2763) 2015-09-10 10:29:11 -07:00
Evan Morikawa 626a76622c refactor(package): remove old, unused, or private package. Adds examples
Moved to git@github.com:nylas/N1-private-packages.git

Also started an "examples" folder at the root level with an example Github
package
2015-09-10 12:57:40 -04:00
Ben Gotow 3b342b2e20 fix(run-package-specs): Return if the user cancels out of the dialog (Sentry 812) 2015-09-09 17:26:34 -07:00
Ben Gotow cf73768003 fix(thread-list-store): Preserve selection through moveThreads
Summary: Small change that resets focus and keyboard selection after moving threads

Test Plan: Run existing tests, plan to overhaul this whole class so no additioanl tests atm

Reviewers: dillon, evan

Reviewed By: evan

Maniphest Tasks: T3382

Differential Revision: https://phab.nylas.com/D1996
2015-09-09 16:09:51 -07:00
Evan Morikawa 558e2d4112 fix(search): fix UI issues with search and add test
Summary:
Fixes:
- Search bar dropdown doesn’t go away if you focus into a message
- If a search times out, it continues to display nothing
- Clicked “Inbox” from a search and it didn’t clear the search box

Test Plan: edgehill --test

Reviewers: dillon, bengotow

Reviewed By: dillon, bengotow

Differential Revision: https://phab.nylas.com/D2000
2015-09-09 16:04:13 -07:00
Evan Morikawa 792a9b4140 fix(style): ignore corrupt inline styles 2015-09-09 16:02:47 -07:00
Ben Gotow aa1c11f400 tweak(sheet-container): No deferred calls to setState! Will fix perf issues in another patch (Sentry 1525) 2015-09-09 15:55:30 -07:00
Ben Gotow 6f152530d6 fix(message-toolbar): Handle scenario where toolbar items rapidly removed (Sentry 2861) 2015-09-09 15:27:42 -07:00
Ben Gotow 48f4667205 tweak(react-remote): If window is closed very quickly, do not send sizing (Sentry 2888) 2015-09-09 15:25:52 -07:00
Ben Gotow 62663c09ca tweak(category-picker): Be slightly more robust against missing inbox 2015-09-09 15:20:34 -07:00
Ben Gotow 94973cc980 perf(delta-sync): Don't update work UI when window is hidden, don't save config as often (synchronous IPC) 2015-09-09 15:03:40 -07:00
Ben Gotow 8b236fde67 fix(loading-cover): Prevent strange overflow caused by position:absolute
Fixes T3539
2015-09-09 14:41:04 -07:00
Ben Gotow 21817887d6 fix(workspace): Pop to root sheet when switching view modes 2015-09-09 14:27:18 -07:00
Ben Gotow 229c5578f7 fix(thread-list): Depressed+active state needs to be different for immediate click feedback 2015-09-09 14:05:03 -07:00
Ben Gotow 918b299eb4 tweak(empty-state): Hellen only has one L 2015-09-09 14:05:03 -07:00
Ben Gotow 0a98d4d075 fix(workspace-mode): Add to config schema so it defaults to list properly 2015-09-09 14:05:03 -07:00
Ben Gotow 6a0cb6a0b1 tweak(menus): "Enter" and "Exit" fullscreen instead of "Toggle" 2015-09-09 14:05:03 -07:00
Ben Gotow 34767e3914 tweak(menus): Move Reload, Show Activity Window to Developer menu 2015-09-09 14:05:03 -07:00
Ben Gotow 87a5a5ec18 tweak(prefs): Remove the font size option until it's implemented 2015-09-09 14:05:03 -07:00
Evan Morikawa 4080f63907 fix(syncback): Handle synback errors better
Fixes "Cannot read property "method" of undefined in SyncbackDraftTest.
Now with more specs!
2015-09-09 11:44:36 -07:00
Ben Gotow 5b410b7f73 fix(draft-list-store): Upgrade draft list store to NylasStore, fix issue where @_view is null 2015-09-08 18:39:00 -07:00
Evan Morikawa 689c76922d fix(draft): DraftCountStore updates after send now 2015-09-08 18:32:35 -07:00
Ben Gotow efc283a94d fix(errors): Send 400 errors from the Nylas API to Sentry 2015-09-08 18:09:11 -07:00
Ben Gotow 283ceed179 fix(composer): Show "No Guesses Found" for misspellings without corrections, invalidate cache when learning spelling 2015-09-08 17:52:26 -07:00
Ben Gotow 3a24c13d2c bump(version): 0.3.5
- Important flag for Gmail
- Fixes for drafts not disappearing
- Subject line display
2015-09-08 17:16:51 -07:00
Ben Gotow 084eb84f81 fix(window-controls): Proper @1x assets to avoid tiny white aliasing
Fixes T3501
2015-09-08 14:32:49 -07:00
EthanBlackburn 1ba1df8103 Archive button no longer appears in sent folder
Summary: Archive button doesnt appear in sent folder

Test Plan: tested manually

Reviewers: evan, bengotow

Reviewed By: bengotow

Maniphest Tasks: T3428

Differential Revision: https://phab.nylas.com/D1987
2015-09-08 14:16:51 -07:00
Ben Gotow 16eb6fd07b fix(react-remote): Put a title on the container region
Fixes T3512
2015-09-08 14:03:59 -07:00
Ben Gotow a6c44d3e9f fix(mail-important): Fix broken specs when getStandardCategory('important') returns null 2015-09-08 13:45:46 -07:00
Evan Morikawa 395bd80da2 fix(draft-list): draft list removes draft when the message sends
Summary:
This started when I noticed that drafts weren't dissapearing from the
draft list after send. This was a pretty big bug because if you ever
clicked on one again and tried to re-send it would throw a 400 error
saying the draft id doesn't exist.

This uncovered a few fundamental issues with the DB.

First of all, the reason the draft list wasn't updating was because the DB
trigger that happened when we got in a new message, was being ignored
since the diff contained no drafts (it's now a message).

The bigger issue was that if you had a draft with only a clientId, gave it
a serverId, and tried to call "save", the REPLACE INTO method would not
update the old object, but rather create a second duplicate. This is
because the `id` field was being used as the PRIMARY KEY, and in this
case, that `id` field changed! The fix was to change the PRIMARY KEY to be
the `cilent_id` instead of the `id` and use that as the REPLACE INTO
index.

We still need the `id` field; however, because all of our reads depend on
that field usually being the serverId

Fixes T3507

Test Plan: See new and updated tests

Reviewers: dillon, bengotow

Reviewed By: bengotow

Maniphest Tasks: T3507

Differential Revision: https://phab.nylas.com/D1992
2015-09-08 13:11:34 -07:00
Ben Gotow 3f3ec441ae feat(important): Improtant flags you can enable optionally for Gmail accounts
Summary: Fixes T3477

Test Plan: Tests are forthcoming

Reviewers: dillon, evan

Reviewed By: evan

Maniphest Tasks: T3477

Differential Revision: https://phab.nylas.com/D1990
2015-09-08 10:53:07 -07:00
dillon 47cfb25984 fix(account-sidebar): fall back on provider icon if fetching user gravatar fails. fixes T3497.
Summary: simple markup & styles fix

Test Plan: tested manually. all tests still green.

Reviewers: bengotow

Maniphest Tasks: T3497

Differential Revision: https://phab.nylas.com/D1993
2015-09-08 10:48:02 -07:00
dillon 74b13ebc2d fix(composer-view): always show subject, unless replyToMessageId exists. fixes T3495.
Summary: add showing subject when replyToMessageId exists

Test Plan: added test. all previous tests remain green.

Reviewers: bengotow, evan

Reviewed By: evan

Maniphest Tasks: T3495

Differential Revision: https://phab.nylas.com/D1989
2015-09-08 10:27:50 -07:00
Evan Morikawa e95cc44418 fix(draft): remove old local draft after sending
Fixes T3507
2015-09-06 18:59:07 -07:00
Evan Morikawa 582da68fff bump(version): 0.3.4
Critical fix to popout drafts
2015-09-06 14:58:35 -07:00
Evan Morikawa cc2dc8888b fix(draft): fix popout draft error & add tests
Fixes T3506
2015-09-06 14:55:06 -07:00
Ben Gotow f685505fe7 bump(version): 0.3.3
- Critical fix for broken search drill-down
2015-09-04 15:45:46 -07:00
Ben Gotow dd58d793b7 fix(mixpanel): Also include app version and platform in people analytics 2015-09-04 15:33:57 -07:00
Ben Gotow 815a50dd32 fix(search): Fix for broken search display 2015-09-04 15:31:03 -07:00
Evan Morikawa f8cb9a81eb fix(db): remove db temp files as well 2015-09-04 14:34:24 -07:00