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, Sep 30, 3:33 AM
Unknown Object (File)
Thu, Sep 26, 4:13 PM
Unknown Object (File)
Thu, Sep 26, 4:10 PM
Unknown Object (File)
Fri, Sep 20, 1:45 PM
Unknown Object (File)
Sep 16 2024, 1:56 AM
Unknown Object (File)
Sep 8 2024, 6:45 AM
Unknown Object (File)
Aug 30 2024, 4:35 AM
Unknown Object (File)
Aug 29 2024, 10:37 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
No Lint Coverage
Unit
No Test Coverage

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