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
F13048515: D19864.id47441.diff
Thu, Apr 18, 8:32 PM
Unknown Object (File)
Wed, Apr 17, 3:06 PM
Unknown Object (File)
Sat, Apr 13, 7:02 PM
Unknown Object (File)
Sat, Apr 13, 6:28 PM
Unknown Object (File)
Thu, Apr 11, 7:16 AM
Unknown Object (File)
Fri, Apr 5, 3:13 PM
Unknown Object (File)
Sun, Mar 31, 6:59 AM
Unknown Object (File)
Sat, Mar 30, 4:30 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