Page MenuHomePhabricator

[web] Extract useBadgeHandler
ClosedPublic

Authored by michal on Apr 6 2023, 7:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 27, 5:29 PM
Unknown Object (File)
Fri, Sep 27, 5:29 PM
Unknown Object (File)
Fri, Sep 27, 12:34 AM
Unknown Object (File)
Wed, Sep 18, 7:50 AM
Unknown Object (File)
Tue, Sep 17, 8:18 PM
Unknown Object (File)
Tue, Sep 17, 8:18 PM
Unknown Object (File)
Tue, Sep 17, 8:18 PM
Unknown Object (File)
Tue, Sep 17, 8:18 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