Page MenuHomePhabricator

[keyserver] introduce fetchUnreadNotifs fetcher
AbandonedPublic

Authored by ginsu on Feb 8 2023, 11:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 24 2024, 12:30 AM
Unknown Object (File)
Feb 19 2024, 6:18 PM
Unknown Object (File)
Feb 19 2024, 11:04 AM
Unknown Object (File)
Feb 19 2024, 9:01 AM
Unknown Object (File)
Feb 10 2024, 5:54 AM
Unknown Object (File)
Dec 27 2023, 8:14 AM
Unknown Object (File)
Dec 16 2023, 10:56 PM
Unknown Object (File)
Aug 27 2023, 9:13 AM
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