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)
Tue, Dec 24, 12:23 PM
Unknown Object (File)
Sat, Dec 21, 10:46 AM
Unknown Object (File)
Sat, Dec 21, 2:03 AM
Unknown Object (File)
Tue, Dec 17, 6:27 AM
Unknown Object (File)
Mon, Dec 16, 4:48 AM
Unknown Object (File)
Mon, Dec 16, 4:47 AM
Unknown Object (File)
Mon, Dec 16, 4:47 AM
Unknown Object (File)
Mon, Dec 16, 4:47 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
Branch
notify3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21284
Build 28958: Run Core Tests
Build 28957: arc lint + arc unit