Page MenuHomePhabricator

[web] Update `threadActivityStore[activeThread].lastNavigatedTo` state
ClosedPublic

Authored by atul on Oct 6 2023, 12:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 13, 4:52 AM
Unknown Object (File)
Apr 17 2024, 9:25 AM
Unknown Object (File)
Apr 17 2024, 9:25 AM
Unknown Object (File)
Apr 17 2024, 9:25 AM
Unknown Object (File)
Apr 17 2024, 9:24 AM
Unknown Object (File)
Apr 17 2024, 9:20 AM
Unknown Object (File)
Apr 6 2024, 5:04 PM
Unknown Object (File)
Mar 23 2024, 7:00 PM
Subscribers

Details

Summary

While the motivations for introducing threadActivityStore were about improving performance on native, we're making parallel changes to web for consistency.


Depends on D9402

Test Plan

Navigated to various threads and checked threadActivityStore updated as expected (this is safe to land, will introduce migrations that clean things up when ripping out lastNavigatedTo and lastPruned from messageStore.threads):

37af5f.png (228×774 px, 61 KB)

9da874.png (548×908 px, 74 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Oct 6 2023, 12:40 PM
atul edited the test plan for this revision. (Show Details)
atul added inline comments.
web/redux/redux-setup.js
331 ↗(On Diff #31755)

Removed this comment instead of updating it because I think it's pretty much paraphrasing the code below w/o pointing out anything novel/unintuitive/etc

This revision is now accepted and ready to land.Oct 9 2023, 2:00 PM
This revision was landed with ongoing or failed builds.Oct 9 2023, 2:16 PM
This revision was automatically updated to reflect the committed changes.