Page MenuHomePhabricator

[web] Extract useBadgeHandler
ClosedPublic

Authored by michal on Apr 6 2023, 7:28 AM.
Tags
None
Referenced Files
F2822616: D7327.id24730.diff
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
Unknown Object (File)
Tue, Sep 17, 8:12 PM
Unknown Object (File)
Sat, Sep 14, 5:11 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
Lint Not Applicable
Unit
Tests Not Applicable