The feed hears new posts as they come

decePub opens PrivaPub's streaming API (one WebSocket for the persona, its
token given as the socket's protocol, never in a URL) and subscribes to the
stream of the feed in view: home, a list, local, federated, a hashtag or
notifications. New posts wait behind the "new" button as polled ones did;
a deletion or an edit applies at once. Polling stays for the feeds PrivaPub
does not stream and for any feed while the socket is down, which opens again
after a pause growing to a minute. The e2e test sees a post made elsewhere
in seconds and its deletion take the card away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-10-05 04:15:54 +02:00
1 parent 6d5cf17723
commit 963565b316
7 files changed
+312 -5

No files matched your search

+6
View File
@@ -1190,4 +1190,10 @@
<data name="It will not be published." xml:space="preserve">
<value>It will not be published.</value>
</data>
<data name="stream" xml:space="preserve">
<value>stream</value>
</data>
<data name="closed, polling" xml:space="preserve">
<value>closed, polling</value>
</data>
</root>