Page MenuHomePhabricator

[lib] Collapse CreateSidebar and SidebarSource notifs together
ClosedPublic

Authored by ashoat on Feb 23 2023, 1:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 3:52 PM
Unknown Object (File)
Oct 27 2024, 1:54 PM
Unknown Object (File)
Oct 18 2024, 5:43 PM
Unknown Object (File)
Oct 18 2024, 5:16 AM
Unknown Object (File)
Oct 18 2024, 5:16 AM
Unknown Object (File)
Oct 18 2024, 5:16 AM
Unknown Object (File)
Sep 27 2024, 5:56 PM
Unknown Object (File)
Sep 27 2024, 5:55 PM
Subscribers

Details

Summary

Before this diff, SidebarSource did not generate any notifs, and CreateSidebar did.

After this diff, technically SidebarSource generates a notif... but not really. Since SidebarSource and CreateSidebar get collapsed into each other, and CreateSidebar is the more recent message, AND the two messages are always generated together on the keyserver... the result is that they only ever generate one notif for the both of them.

The only reason for this is that I want to have access to the SidebarSource message in CreateSidebar's notificationTexts function so that I can check it for @-mentions.

Depends on D6868

Test Plan

In combination with the rest of the stack, I confirmed that a sidebar started in response to a text message that @-mentions somebody will result in the @-mentioned user receiving a custom notif that ends with "that tagged you"

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 23 2023, 1:37 PM
Harbormaster failed remote builds in B16850: Diff 23029!
This revision is now accepted and ready to land.Feb 24 2023, 11:50 PM