Stuck unread badge debugging - visual viewport monitor debugging
Stuck unread badge debugging
Part of debugging https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2388
Parent MR: https://gitlab.com/gitlab-org/gitter/webapp/-/merge_requests/1871
- Various
debug
statements for more granular debugging -
TroupeUnreadItemsViewportMonitor
visual debugging-
_debugInViewport
/.debug-in-viewport
is used to visually show what theTroupeUnreadItemsViewportMonitor
script detects as in the viewport. Chat messages in range/view will have a slight purple background. You can enable this by settingwindow.localStorage.debug = 'app:unread-items-client'
in your browser
-
Edited by Eric Eastwood