Page MenuHomePhabricator

[keyserver] introduce fetchUnreadNotifs fetcher
AbandonedPublic

Authored by ginsu on Feb 8 2023, 11:13 PM.
Tags
None
Referenced Files
F3495220: D6667.diff
Thu, Dec 19, 7:46 AM
Unknown Object (File)
Fri, Nov 22, 1:22 AM
Unknown Object (File)
Fri, Nov 22, 1:21 AM
Unknown Object (File)
Fri, Nov 22, 1:14 AM
Unknown Object (File)
Oct 22 2024, 12:31 PM
Unknown Object (File)
Oct 22 2024, 3:10 AM
Unknown Object (File)
Oct 21 2024, 3:58 PM
Unknown Object (File)
Sep 20 2024, 10:33 PM
Subscribers

Details

Reviewers
ashoat
atul
tomek
Summary

introduce the fetchUnreadNotifs fetcher in notifications-fetcher. We want to extract this logic from rescind.js so that we can use it in other situations for example, when we want to rescind an unread reaction message notif when a user unreacts to a message

More context


Linear Task: ENG-2644

Test Plan

This will be further tested in subsequent diffs and there are no clear regressions with rescinding notifs

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu added reviewers: ashoat, atul, tomek.
ginsu edited the summary of this revision. (Show Details)
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Feb 8 2023, 11:28 PM
ashoat requested changes to this revision.Feb 9 2023, 8:31 AM

It's hard to review this without seeing the rest of the stack. Perhaps we should instead fetch this data in the existing SQL query in fetchCollapsableNotifs?

This revision now requires changes to proceed.Feb 9 2023, 8:31 AM

D6830 makes this diff no longer relevant