Page MenuHomePhabricator

[web-db] read drafts from SQLite database and dispatch to store
ClosedPublic

Authored by kamil on Apr 27 2023, 7:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 8:35 AM
Unknown Object (File)
Sat, Dec 14, 4:02 PM
Unknown Object (File)
Sat, Dec 14, 4:02 PM
Unknown Object (File)
Sat, Dec 14, 4:02 PM
Unknown Object (File)
Sat, Dec 14, 4:01 PM
Unknown Object (File)
Sat, Dec 14, 3:55 PM
Unknown Object (File)
Wed, Dec 4, 6:48 PM
Unknown Object (File)
Wed, Dec 4, 5:13 AM
Subscribers

Details

Summary

Read drafts from database and propagate to redux store.

Depends on D7664

Test Plan
  1. Reload web app
  2. Log if drafts are queried properly
  3. Check if the same drafts are visible in UI

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Apr 27 2023, 7:58 AM
tomek added inline comments.
web/database/sqlite-data-handler.js
50–64 ↗(On Diff #25850)

We have two ways of checking if a user is logged in in this effect: if (currentLoggedInUserID) and if (!loggedIn) - does it make sense to use both?

This revision is now accepted and ready to land.Apr 28 2023, 4:29 AM

address review, rebase before landing