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)
Sat, Nov 2, 1:01 AM
Unknown Object (File)
Sat, Nov 2, 1:01 AM
Unknown Object (File)
Sat, Nov 2, 1:01 AM
Unknown Object (File)
Sat, Nov 2, 12:55 AM
Unknown Object (File)
Oct 21 2024, 2:08 AM
Unknown Object (File)
Sep 30 2024, 3:33 AM
Unknown Object (File)
Sep 26 2024, 4:13 PM
Unknown Object (File)
Sep 26 2024, 4:10 PM
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