5sControl / 5sControl/5s-webserver

fix bug A push notification popup "Low space disk"

Offen
#117 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @AlexGurski Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Summary: Всплывающее push-уведомление "Low space disk" появляется в столбик на каждое уведомление

Envornment:
http://192.168.1.110:3000/
http://192.168.1.111:3000/
https://5s-kaunas-hp.netlify.app/
Win 10 pro, win 11
Chrome 115.0.5790.99

Precondition:
Пользователь авторизован
Камеры авторизованы
На камерах назначены алгоритмы

Steps to reproduce:
1. Ожидать появления новых репортов
2. Игнорировать первое всплывающее push-уведомление "Low space disk"

Expected result:
При остатке менее 20% места на жестком диске отображается одно всплывающее push-уведомление "Low space disk".
После закрытия этого уведомления, чтобы оно не отображалось спустя короткое время.

Actual result:
При остатке менее 20% места на жестком диске отображается три всплывающих push-уведомления "Low space disk".
После закрытия этого уведомления, отображается снова спустя короткое время.

https://user-images.githubusercontent.com/86359211/257478259-6bf8091a-ba73-4cd0-9b86-0bba89eb683c.webm

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue describes a bug with duplicate 'Low space disk' push notifications appearing and reappearing. Look for notification handling code, likely in a frontend service worker or a notification component. Check for logic that triggers the notification based on disk space and ensures it only shows once. The video shows the behavior; reproduce by simulating low disk space in the test environments listed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.