Feed updates (Closes #344) (#356)

* Rework feed polling to correctly detect when new content is available (close #344)

* Tweak how the tuner works for consistency

* Improve the feed-update behavior after posting

* Load latest notifications when opening the tab
This commit is contained in:
Paul Frazee 2023-03-22 15:46:49 -05:00 committed by GitHub
parent 449f9243f3
commit f6f1fe2558
5 changed files with 49 additions and 72 deletions

View file

@ -166,7 +166,7 @@ export const ComposePost = observer(function ComposePost({
setIsProcessing(false)
return
}
store.me.mainFeed.loadLatest()
store.me.mainFeed.checkForLatest({autoPrepend: true})
onPost?.()
hackfixOnClose()
Toast.show(`Your ${replyTo ? 'reply' : 'post'} has been published`)