Page MenuHomePhabricator

Implement multiple keyserver unread count on web and desktop on top of IndexedDB
ClosedPublic

Authored by marcin on Mar 14 2024, 6:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 3:35 PM
Unknown Object (File)
Thu, Oct 24, 6:45 AM
Unknown Object (File)
Thu, Oct 24, 1:43 AM
Unknown Object (File)
Oct 15 2024, 7:17 PM
Unknown Object (File)
Oct 15 2024, 2:48 PM
Unknown Object (File)
Oct 15 2024, 2:48 PM
Unknown Object (File)
Oct 15 2024, 2:48 PM
Unknown Object (File)
Oct 15 2024, 2:48 PM
Subscribers

Details

Summary

This differential implements unread count handling from multiple keyservers

Test Plan
  1. Ensure that unread count is working properly.
  2. Toggle developer tools and ensure that there is relevant entry in IndexDB the corresponds to unread count for the keyserver that we logged in to.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-6501
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

  1. Fix potential issues related to desktop-web code version discrepancy.

Fix eslint by adding hook dependency

michal added inline comments.
web/push-notif/notif-crypto-utils.js
520–531 ↗(On Diff #38101)

I don't like depending on ordering and indexes so alternatively we could do something like this. But both are fine.

This revision is now accepted and ready to land.Mar 18 2024, 7:00 AM
  1. Update queryNotifsUnreadCountStorage function not to rely on array ordering.
  2. Rebase before landing