-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 396a027 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
- Loading branch information
Showing
3 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters