Page MenuHomePhabricator

[web] Extract useBadgeHandler
ClosedPublic

Authored by michal on Apr 6 2023, 7:28 AM.
Tags
None
Referenced Files
F3252186: D7327.id24728.diff
Fri, Nov 15, 6:06 PM
Unknown Object (File)
Fri, Nov 8, 9:58 AM
Unknown Object (File)
Tue, Nov 5, 10:04 PM
Unknown Object (File)
Tue, Nov 5, 10:04 PM
Unknown Object (File)
Tue, Nov 5, 2:28 AM
Unknown Object (File)
Thu, Oct 31, 11:19 PM
Unknown Object (File)
Thu, Oct 31, 11:19 PM
Unknown Object (File)
Thu, Oct 31, 11:19 PM
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
No Lint Coverage
Unit
No Test Coverage