Mailspring/packages/client-app/internal_packages/thread-search/lib
Mark Hahnenberg 280a5ba6e2 [client-sync] Fetch unknown search results
Summary:
When searching using IMAP/Gmail commands we sometimes get back UIDs for
messages that we have yet to sync. Previously we would just ignore these
results, which would decrease the quality search results for quite some
time during initial sync. This diff enables us to eagerly sync the unknown
messages we get back from the provider by creating a syncback task which
interrupts the sync loop and runs a sync task for the unknown UIDs.

Test Plan: Run locally, verify that we sync unknown messages

Reviewers: spang, evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D4101
2017-03-07 11:30:58 -08:00
..
main.es6 [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
search-actions.es6 [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
search-mailbox-perspective.es6 Revert "[client-app] Limit search to focused perspective" 2017-02-28 11:07:44 -08:00
search-query-subscription.es6 [client-sync] Fetch unknown search results 2017-03-07 11:30:58 -08:00
search-store.es6 [client-app] Refactor search query codegen into proper backend 2017-03-01 11:53:03 -08:00
thread-search-bar.jsx Revert "[client-app] Limit search to focused perspective" 2017-02-28 11:07:44 -08:00