guim31
August 30, 2023, 8:33am
1
I just encountered a problem while editing a dashboard and deleting a widget.
When I try to delete the widget that contains my alarm info, pressing the little ‹ x › deletes the widget below…
A bit annoying!
If I click the ‹ x › on the bottom widget, the correct one is deleted.
To get around it I had to move the bottom widget to another column temporarily so I could safely delete the top one.
I’ll try to reproduce it tomorrow; after that I think it’s more of a display issue than anything else.
If you delete the first one, what’s probably happening is that the second one takes the first’s place (normal, it shifts up), except that the display isn’t refreshed so you get the impression that the second one was deleted (when it’s not).
I recommend you switch to the « Devices » box anyway
1 Like
guim31
August 30, 2023, 5:29pm
3
Ah ok, I didn’t want to take the risk of having to recreate this part of the dashboard, but I could also test, see if it’s simply a display issue
I’m in the process of "migrating" all my widgets to the new one, yes
Indeed, I can reproduce the bug, it’s an old bug that must have been there from the beginning
It’s indeed a display-only bug (deletion does affect the correct widget), which occurs when you delete a « appareils de la pièce » widget above another « appareils de la pièce » widget of the same room only (very specific case).
Bug fixed in this PR :
master ← fix-edit-device-in-room
ouvert 08:39AM - 31 Aug 23 UTC
### Pull Request check-list
To ensure your Pull Request can be accepted as fa… st as possible, make sure to review and check all of these items:
- [x] If your changes affects code, did your write the tests?
- [x] Are tests passing? (`npm test` on both front/server)
- [x] Is the linter passing? (`npm run eslint` on both front/server)
- [x] Did you run prettier? (`npm run prettier` on both front/server)
- [x] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [x] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to [the community](https://community.gladysassistant.com/) for testing before merging.
### Description of change
Fix refresh of device in rooms edition widget
2 Likes
Fix available in Gladys Assistant 4.28:
Salut à tous !
C’est lundi, c’est l’heure d’une nouvelle release Gladys
Et il y a plein de nouveautés dans Gladys Assistant 4.28 !!
Expiration des états de capteurs
Désormais, les « vieux » états de capteurs ne seront plus affichés sur le tableau de bord, et seront remplacé par une indication que l’état n’est plus à jour :
[Screenshot 2023-09-11 at 15.55.56]
Pratique pour trouver les capteurs qui n’envoient plus de valeurs !
La délai par défaut est de 48 heures et peut-être modif…
1 Like