Mailspring/internal_packages
Ben Gotow d15b5080fb fix(stores): FocusedThreadStore, FocusedTagStore, speed improvements
Summary:
ThreadStore is now in the thread-list package.

Account sidebar no longer has random stuff dealing with search, no longer maintains selection apart from FocusedTagStore

Thread nav buttons are in the thread package

Account sidebar pulls selection from FocusedTagStore, no longer fires an Action to select Inbox, which was weird

Thread store is in thread-list package. No longer has any selection concept -> moved to FocusedThreadStore. Also looks at database changes to do "shallow" updates when only threads and not messages have changed, or when only messages of a few...

...threads have changed.

WorkspaceStore now handles both pushing AND popping the thread sheet. So all sheet behavior is here.

ThreadStore => FocusedThreadStore, selectThreadId => selectThread

Include all models in inbox-exports

It actually takes a long time to call Promise.reject because Bluebird generates stack traces. Resolve with false instead (100msec faster!)

Cache the model class map. All the requires take ~20msec per call to this method

ThreadList looks at FocusedThreadStore for selection

FocusedThreadStore, FocusedTagStore

Updated specs

Test Plan: Run tests

Reviewers: evan

Reviewed By: evan

Differential Revision: https://review.inboxapp.com/D1384
2015-03-31 17:19:17 -07:00
..
account-sidebar fix(stores): FocusedThreadStore, FocusedTagStore, speed improvements 2015-03-31 17:19:17 -07:00
attachments fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
calendar-bar fix(stores): FocusedThreadStore, FocusedTagStore, speed improvements 2015-03-31 17:19:17 -07:00
composer fix(participants): Paste contacts with names, and lots of specs 2015-03-31 15:54:16 -07:00
inbox-activity-bar feat(unread-notifications): Check that unread messages are in inbox 2015-03-27 16:37:13 -07:00
inbox-contact-chip fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
inbox-light-ui fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
inbox-participants fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
message-list fix(stores): FocusedThreadStore, FocusedTagStore, speed improvements 2015-03-31 17:19:17 -07:00
message-templates feat(selection): by default nothing is selectable. 2015-03-26 14:39:42 -04:00
mode-switch fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
notification-mailto fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
notification-update-available fix(*) Small visual tweaks and fixes - see summary 2015-03-25 18:22:52 -07:00
notifications fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
onboarding feat(selection): by default nothing is selectable. 2015-03-26 14:39:42 -04:00
search-bar feat(search): escape will blur and clear search 2015-03-30 16:43:38 -07:00
sidebar-fullcontact refactor(message-list): much faster message list loading 2015-03-31 16:32:14 -07:00
sidebar-inbox-internal fix(animations): Don't process API data while animations are in-flight 2015-03-30 18:08:38 -07:00
thread-list fix(stores): FocusedThreadStore, FocusedTagStore, speed improvements 2015-03-31 17:19:17 -07:00
tooltip fix(*) Small visual tweaks and fixes - see summary 2015-03-25 18:22:52 -07:00
unread-badge fix(speed): Mark packages as engine:atom, don't include coffee,cjsx in compiled app 2015-03-20 17:53:11 -07:00
unread-notifications fix(stores): FocusedThreadStore, FocusedTagStore, speed improvements 2015-03-31 17:19:17 -07:00