We have to apply the ops from each update before generating ops for the next update.
https://linear.app/comm/issue/ENG-8932/thread-updates-are-incorrectly-reduced
Depends on D12956
Differential D12957 Authored by tomek on Aug 2 2024, 4:35 AM.
Details Summary We have to apply the ops from each update before generating ops for the next update. https://linear.app/comm/issue/ENG-8932/thread-updates-are-incorrectly-reduced Depends on D12956 Test Plan Modified the code so that a change_thread_settings operation, that updates name, color and unread status of a thread, is processed. Made sure that the changes were correctly applied on web.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptAug 2 2024, 4:35 AM2024-08-02 04:35:06 (UTC-7) Harbormaster completed remote builds in B30869: Diff 43036.Aug 2 2024, 5:06 AM2024-08-02 05:06:35 (UTC-7) This revision is now accepted and ready to land.Aug 2 2024, 7:41 AM2024-08-02 07:41:39 (UTC-7) Closed by commit rCOMMb1919741e731: [lib] Correctly handle generating ops from multiple updates (authored by tomek). · Explain WhyAug 2 2024, 8:38 AM2024-08-02 08:38:16 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 43054 lib/reducers/thread-reducer.js
|