5sControl / 5sControl/5s-webserver

fix bug A push notification popup "Low space disk"

Ouverte
#117 0 commentaires 0 réactions 1 personne assignée Assignée à @AlexGurski Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
1
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.