Mailspring/internal_packages
Mark Hahnenberg 668c2935c9 [thread-search] Improve local thread search
Summary:
Previously we waited to build the local ThreadSearch index until we were
done with the initial mail sync. This is undesirable because inboxes can
be very large, making local sync useless for a number of hours after a
user adds an account. This diff removes that restriction.

This diff also adds a new rudimentary new grammar (along with accompanying lexer
and parser) for local thread search queries. This grammar is then
translated into the appropriate SQL queries on the ThreadSearch index
table. More advanced features (e.g. in:category, date ranges, etc) can be added
easily in the future by augmenting this simple search query language.

Test Plan: Run locally, new unit tests

Reviewers: juan, evan, khamidou

Reviewed By: khamidou

Differential Revision: https://phab.nylas.com/D3614
2017-01-11 14:26:42 -08:00
..
account-sidebar feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
attachments deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
category-picker fix(category-picker): Handle the case where new category creation fails 2017-01-10 16:23:53 -08:00
composer fix(Linting errors) 2017-01-05 14:39:25 -08:00
composer-emoji fix(import): require 'rx' from 'nylas-exports' 2016-12-15 15:32:47 -05:00
composer-markdown feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
composer-signature fix(lint): update files to for new linter version 2016-11-15 10:20:39 -08:00
composer-spellcheck fix(spellchecker) Fix spellchecker specs 2016-11-17 14:51:24 -08:00
composer-templates fix(spec): add support for async specs and disable misbehaving ones 2016-12-15 13:02:00 -05:00
composer-translate rm(*): Internal packages don’t need engine version locking 2016-11-29 15:12:52 -08:00
draft-list fix(import): require 'rx' from 'nylas-exports' 2016-12-15 15:32:47 -05:00
events deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
github-contact-card feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
keybase Create a wrapper around legacy N1 APIs. 2017-01-09 15:18:43 -08:00
main-calendar feat(event-search): Add event search to calendar 2016-11-15 17:27:31 -08:00
message-autoload-images fix(lint): update files to for new linter version 2016-11-15 10:20:39 -08:00
message-list fix(spinner): Use a constant spinner when loading inline images 2017-01-09 10:46:09 -08:00
message-view-on-github feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
mode-switch fix(copy): Updating language for onboarding tour 2016-09-14 14:16:19 -04:00
notifications feat(sync-status): Add messaging in other areas when syncing 2017-01-03 13:27:15 -08:00
onboarding feat(onboarding): Display a possible issue when credentials are incorrect 2017-01-11 11:19:38 -08:00
participant-profile Create a wrapper around legacy N1 APIs. 2017-01-09 15:18:43 -08:00
personal-level-indicators feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
phishing-detection feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
plugins feat(plugin): don't show isHiddenOnPluginsPage 2016-11-16 16:00:56 -08:00
preferences fix(preference-accounts): Don't select accounts that no longer exist 2017-01-11 11:19:00 -08:00
print fix(thread-popout) Add missing packages to the 'thread-popout' window 2016-10-18 11:02:30 -07:00
remove-tracking-pixels rm(*): Internal packages don’t need engine version locking 2016-11-29 15:12:52 -08:00
screenshot-mode feat(package): require 'engines': {'nylas': '*'} in package.json 2016-04-25 15:06:37 -07:00
search-index [thread-search] Improve local thread search 2017-01-11 14:26:42 -08:00
send-and-archive deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
system-tray deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
theme-picker deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
thread-list feat(off): disable/hide snooze, mail rules, misc minor plugins 2017-01-06 15:39:09 -08:00
thread-search [thread-search] Improve local thread search 2017-01-11 14:26:42 -08:00
thread-snooze fix(sync-status): Change old per model status, in favor of per folder 2016-12-15 11:17:20 -08:00
ui-dark build(*): electron-compile, electron-packager instead of custom tooling 2016-11-09 13:52:10 -08:00
ui-darkside (darkside) fixing composer fields spacing (#3020) 2016-11-07 09:49:25 -08:00
ui-less-is-more fix(lint): fix minor linter issue 2016-05-09 13:42:18 -04:00
ui-light build(*): electron-compile, electron-packager instead of custom tooling 2016-11-09 13:52:10 -08:00
ui-taiga feat(sidebar-notifs) Create sidebar notifications to replace old bars 2016-10-04 08:08:23 -07:00
ui-ubuntu fix(size): remove unused docs & screenshots 2016-09-01 11:32:52 -07:00
undo-redo deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
unread-notifications fix(spec): add support for async specs and disable misbehaving ones 2016-12-15 13:02:00 -05:00
verify-install-location lint(*): Bump to ESLint 3.8 2016-10-17 18:07:35 -07:00
worker-sync fix(sync-worker): Don't call _determineWorkerPool() twice 2016-12-22 12:43:45 -08:00
worker-ui fix(sync-status):Use weighted percentage avg for sync status progress bar 2016-12-21 18:30:54 -05:00