Mailspring/src
dillon 6608b21da9 fix(NUX): show when initial sync is taking place
Summary:
fixes T3563

todo
[x] check with @bengotow and @evan -- does this solution make sense to you?
[x] decide on the actual visual cue to the user -- @bengotow you suggested a loader or spinner, but i was thinking that actual copy should be used so it doesn't look like an unhelpful spinner which goes indefinitely. what do you think of the copy here?
[ ] implement spinner similar to sending a draft
[ ] write tests
[ ] verify that we're showing progress in a helpful way

problem
- new users would see nothing in edgehill after they log in, with no indication on why they can't see any of their mail
- in actuality, our backend is actively pulling all their mail to serve it to edgehill
- new users think edgehill is broken because they're unaware of the work that our backend was doing

solution
- when the backend sends deltas to edgehill, we show a message in the activity bar saying that we're trying to get their mail
- we'll show the sync progress

Test Plan: still need to add tests. all previous tests still green.

Reviewers: bengotow, evan

Subscribers: sdw, bengotow, evan

Maniphest Tasks: T3563

Differential Revision: https://phab.nylas.com/D2032
2015-09-18 16:15:15 -07:00
..
browser fix(atom-window): The worker window should also auto-reload on crash 2015-09-14 11:43:24 -07:00
components fix capitalization of JavaScript and CoffeeScript 2015-09-18 11:10:14 -07:00
flux fix(NUX): show when initial sync is taking place 2015-09-18 16:15:15 -07:00
react-remote tweak(react-remote): If window is closed very quickly, do not send sizing (Sentry 2888) 2015-09-09 15:25:52 -07:00
services fix(composer): much better specs for composer & quoted text 2015-09-03 19:41:56 -07:00
tasks fix(migration-path): Very basic database versioning with re-fetch 2015-07-16 17:47:02 -07:00
6to5.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
atom.coffee fix capitalization of JavaScript and CoffeeScript 2015-09-18 11:10:14 -07:00
buffered-node-process.coffee feat(logging): Developer bar, verbose logging to logstash, Electron 0.26.0 2015-05-19 17:02:46 -07:00
buffered-process.coffee feat(logging): Developer bar, verbose logging to logstash, Electron 0.26.0 2015-05-19 17:02:46 -07:00
canvas-utils.coffee fix(styles): fix button padding and styles 2015-07-23 12:22:27 -07:00
chrome-user-agent-stylesheet-string.coffee feat(composer): sanitizes and inlines CSS styles for replies and fwd 2015-09-01 11:53:38 -07:00
cjsx.js fix(contact-chips): Contact chips are editable and have much better style 2015-08-03 13:06:28 -07:00
clipboard.coffee feat(docs): doc site generation, doc organization into sections, docs for actions and more 2015-05-13 11:44:28 -07:00
coffee-cache.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
color.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
command-installer.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
command-registry.coffee feat(offline-mode, undo-redo): Tasks handle network errors better and retry, undo/redo based on tasks 2015-07-07 13:38:53 -04:00
component-registry.coffee feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
config-schema.coffee cleanup(atom): Get rid of core.autoHideMenuBar option—we'll never show a menu bar on windows 2015-09-11 14:56:21 -07:00
config-utils.js refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
config.coffee fix(config): Apply config change from Atom, process locking 2015-08-25 16:00:09 -07:00
database-object-registry.coffee refactor(models): Enables 3rd party plugins to add Models & Tasks 2015-08-19 16:25:56 -07:00
deserializer-manager.coffee feat(docs): doc site generation, doc organization into sections, docs for actions and more 2015-05-13 11:44:28 -07:00
dom-utils.coffee fix(spellcheck): On Windows, right clicking a word doesn't select it 2015-09-10 10:53:27 -07:00
error-reporter.js fix(errors): Send 400 errors from the Nylas API to Sentry 2015-09-08 18:09:11 -07:00
item-registry.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
keymap-extensions.coffee fix(keymaps): JSON => CSON during cibuild final phase 2015-08-18 14:50:53 -07:00
launch-services.coffee fix(mailto): Linux support for mailto links 2015-09-15 14:26:47 -07:00
less-compile-cache.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
mail-view-filter.coffee fix(search): Fix for broken search display 2015-09-04 15:31:03 -07:00
menu-helpers.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
menu-manager.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
module-cache.coffee refactor(code): replace all instances of atom-shell and AtomShell and atomShell 2015-05-20 10:20:10 -07:00
package-manager.coffee feat(work): Create the "Work" window, move TaskQueue, Nylas sync workers 2015-08-27 16:39:40 -07:00
package.coffee refactor(models): Enables 3rd party plugins to add Models & Tasks 2015-08-19 16:25:56 -07:00
priority-ui-coordinator.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
regexp-utils.coffee fix(reply): better coverge for reply-all participants 2015-09-14 16:18:55 -04:00
scope-descriptor.coffee feat(docs): doc site generation, doc organization into sections, docs for actions and more 2015-05-13 11:44:28 -07:00
scoped-properties.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
serializable-registry.coffee fix(object-serialization): Constrain use of __constructorName, fix infinite recursion, remove hackiness 2015-08-21 16:08:24 -07:00
sheet-container.cjsx 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
sheet-toolbar.cjsx tweak(win32): Hide the app menu on Windows, show in a right-side button instead 2015-09-11 14:49:26 -07:00
sheet.cjsx fix(search): Fix for broken search display 2015-09-04 15:31:03 -07:00
space-pen-extensions.coffee feat(logging): Developer bar, verbose logging to logstash, Electron 0.26.0 2015-05-19 17:02:46 -07:00
space-pen-utils.js refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
style-manager.coffee feat(docs): doc site generation, doc organization into sections, docs for actions and more 2015-05-13 11:44:28 -07:00
styles-element.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
subscriber-mixin.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
task-bootstrap.coffee feat(logging): Developer bar, verbose logging to logstash, Electron 0.26.0 2015-05-19 17:02:46 -07:00
task-registry.coffee refactor(models): Enables 3rd party plugins to add Models & Tasks 2015-08-19 16:25:56 -07:00
task.coffee UndoRedoButton now shows 2015-07-31 13:12:47 -07:00
theme-manager.coffee feat(theming): Definitely not hacker mode. I don't know what you're talking about. 2015-06-05 11:40:44 -07:00
theme-package.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
window-bootstrap.coffee feat(salesforce): associate threads with SF objects 2015-04-30 11:35:38 -07:00
window-event-handler.coffee cleanup(atom): Get rid of core.autoHideMenuBar option—we'll never show a menu bar on windows 2015-09-11 14:56:21 -07:00
window-secondary-bootstrap.coffee feat(salesforce): associate threads with SF objects 2015-04-30 11:35:38 -07:00
window-thin-bootstrap.coffee feat(preferences): WIP Preferences panel 2015-08-14 15:40:11 -07:00
window.coffee fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00