Page MenuHomePhabricator

[web] Extract useBadgeHandler
ClosedPublic

Authored by michal on Apr 6 2023, 7:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 12, 2:55 PM
Unknown Object (File)
Sat, Jun 8, 12:31 PM
Unknown Object (File)
Wed, May 29, 6:41 AM
Unknown Object (File)
Wed, May 29, 6:41 AM
Unknown Object (File)
Wed, May 29, 6:41 AM
Unknown Object (File)
Tue, May 28, 10:13 AM
Unknown Object (File)
Tue, May 28, 10:13 AM
Unknown Object (File)
Tue, May 28, 10:13 AM
Subscribers

Details

Summary

Part of ENG-3350.
This diff extracts the code responsible for updating the tab title/ icon badge for the web/ desktop app. The logic will be changed in the later diff.

Test Plan

Open the web app in the browser and in the desktop app (without notifs). Check if sending a message updated the tab title (browser)/ badge (desktop), and reading it removes them.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable