]> Untitled Git - lemmy-ui.git/commit
Add long polling to update unread counts in navbar. (#1271)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 15 Jun 2023 00:28:20 +0000 (20:28 -0400)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2023 00:28:20 +0000 (20:28 -0400)
commit89be27bb9db8850b61d7bd2f7e1cb093642048d5
treea1b92d82ad2f95beeea546bfdde5cdd3b3d03063
parentd75e0506daeb460fa4952211a46ded944d57aa88
Add long polling to update unread counts in navbar. (#1271)

* Upping version.

* Add long-polling to update unread counts in navbar.

- Fixes #1148

* Using async for polling.

* Update src/shared/utils.ts

Co-authored-by: Sander Saarend <sander@saarend.com>
* Adding window visibility check, removing generic sleep.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
package.json
src/shared/components/app/navbar.tsx
src/shared/utils.ts