Mailspring/packages/client-app/internal_packages/thread-list
Juan Tejada b6a1fc5234 [client-app] Fix measurement of thread-list action metrics
Summary:
We detect when a thread is removed from the thread-list by listening to
`Actions.threadListDidUpdate`. However, we were not firing the action at
the correct moment.

Before this commit, we fired the action on the root `ThreadList`'s
`componentDidUpdate`, however did this not actually fire when the
child list actually updated/removed threads from the list.

This sort of used to work because before 396a027bcb
the root ThreadList component re-rendered all the time, so it fired the
action, but after initial sync, we would never actually report any
thread-list action metrics at all

Test Plan: manual

Reviewers: spang, halla, evan

Reviewed By: halla, evan

Differential Revision: https://phab.nylas.com/D4051
2017-02-28 14:07:52 -08:00
..
assets [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
lib [client-app] Fix measurement of thread-list action metrics 2017-02-28 14:07:52 -08:00
spec [client-app] For consistency, proxy marking unread thru ThreadListActionStore 2017-02-21 12:31:07 -08:00
stylesheets [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
package.json [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00