Move the logic from a reducer to specs.
Depends on D9244
Paths
| Differential D9245 Authored by tomek on Sep 20 2023, 5:23 AM.
Details Summary Move the logic from a reducer to specs. Depends on D9244 Test Plan Open two clients and check if making operations (e.g. updating or joining a thread) generates the right ops on the other.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptSep 20 2023, 5:23 AM2023-09-20 05:23:15 (UTC-7) Harbormaster completed remote builds in B22758: Diff 31310.Sep 20 2023, 5:39 AM2023-09-20 05:39:40 (UTC-7) tomek added a child revision: D9257: [lib] Move entries updates logic into a spec.Sep 21 2023, 8:22 AM2023-09-21 08:22:52 (UTC-7) kamil added inline comments.
This revision is now accepted and ready to land.Sep 25 2023, 2:20 AM2023-09-25 02:20:07 (UTC-7) Comment Actions Add early return and use more functional approach
Harbormaster completed remote builds in B22946: Diff 31607.Oct 3 2023, 5:04 AM2023-10-03 05:04:47 (UTC-7) Closed by commit rCOMMf165401467fe: [lib] Create thread store ops from updates in a spec (authored by tomek). · Explain WhyOct 9 2023, 3:57 AM2023-10-09 03:57:28 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31776 lib/reducers/thread-reducer.js
lib/shared/updates/bad-device-token-spec.js
lib/shared/updates/delete-account-spec.js
lib/shared/updates/delete-thread-spec.js
|
Then why are we keeping styles like border and border-radius?
Don't these styles also affect the <textarea> tag? Are you sure we want to be removing these styles for that as well? Or should we break this into two separate selectors (one for input and another for textarea)?