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)
Wed, Apr 3, 7:39 AM
Unknown Object (File)
Wed, Apr 3, 7:39 AM
Unknown Object (File)
Wed, Apr 3, 7:39 AM
Unknown Object (File)
Wed, Apr 3, 7:39 AM
Unknown Object (File)
Wed, Apr 3, 7:32 AM
Unknown Object (File)
Feb 23 2024, 1:11 AM
Unknown Object (File)
Feb 12 2024, 1:20 AM
Unknown Object (File)
Feb 12 2024, 1:15 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

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