HomePhabricator
Diffusion Comm a04df3fc5391

[web] Extract useBadgeHandler

Description

[web] Extract useBadgeHandler

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.

Reviewers: kamil, inka, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7327

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Apr 6 2023, 7:09 AM
Reviewer
ashoat
Differential Revision
D7327: [web] Extract useBadgeHandler
Parents
rCOMM750e68fa633a: [desktop] Type windows notifs module
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMa04df3fc5391: [web] Extract useBadgeHandler (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Apr 11 2023, 7:02 AM