Page MenuHomePhabricator

Make sure drafts are not persisted via redux-persist but a placeholder is created upon rehydration
ClosedPublic

Authored by marcin on Nov 16 2022, 4:33 AM.
Tags
None
Referenced Files
F3382212: D5645.id18755.diff
Thu, Nov 28, 9:06 AM
Unknown Object (File)
Mon, Nov 25, 8:24 PM
Unknown Object (File)
Mon, Nov 25, 2:06 PM
Unknown Object (File)
Sun, Nov 24, 4:44 PM
Unknown Object (File)
Sun, Nov 24, 3:55 PM
Unknown Object (File)
Sun, Nov 24, 3:53 PM
Unknown Object (File)
Sun, Nov 24, 3:44 PM
Unknown Object (File)
Sun, Nov 24, 3:36 PM
Subscribers

Details

Summary

This differential prevents drafts from being persisted in redux persist

Test Plan

Make sure eslint and flow do not point errors. This is trival test plan, but no other is possible before we implement relevant reducers.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 16 2022, 4:35 AM
Harbormaster failed remote builds in B13466: Diff 18465!
ashoat requested changes to this revision.Nov 16 2022, 7:18 PM
ashoat added inline comments.
native/redux/persist.js
422–433 ↗(On Diff #18469)

Just add draftStore to the blacklist please

This revision now requires changes to proceed.Nov 16 2022, 7:18 PM

Add draftStore to blacklist instead of using unnecessary custom trahsform

This revision is now accepted and ready to land.Nov 17 2022, 9:52 AM

On the web side, we'll want to do the opposite and add this to the whitelist