Page MenuHomePhabricator

Separate "feed" and "notifications" better, allow stories to appear in notifications only
ClosedPublic

Authored by epriestley on Dec 10 2018, 10:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 22 2024, 5:54 PM
Unknown Object (File)
Oct 16 2024, 5:15 AM
Unknown Object (File)
Sep 26 2024, 4:53 PM
Unknown Object (File)
Sep 6 2024, 4:37 AM
Unknown Object (File)
Sep 3 2024, 12:09 AM
Unknown Object (File)
Sep 3 2024, 12:09 AM
Unknown Object (File)
Sep 3 2024, 12:09 AM
Unknown Object (File)
Sep 3 2024, 12:09 AM
Subscribers
None

Details

Summary

Depends on D19861. Ref T13222. See PHI996. Fixes T10743. Currently, notifications only work if a story also has a feed rendering.

Separate "visible in feed" and "visible in notifications", and make notifications query only notifications and vice versa.

Then, set the test notification stories to be visible in notifications only, not feed.

This could be refined a bit (there's no way to have the two views render different values today, for example) but since the only actual use case we have right now is test notifications I don't want to go too crazy future-proofing it. I could imagine doing some more of this kind of stuff in Conpherence eventually, though, perhaps.

Test Plan

Sent myself test notifications, saw them appear on my profile timeline and in the JS popup, and in my notifications menu, but not in feed.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable