guim31
2. November 2022 um 17:23
1
Ich warne euch: Es wird wahrscheinlich nötig sein, den Titel / meine Nachricht zu bearbeiten, damit sie klarer wird ^^
Die Idee ist, die Informationen von den Tasten nicht mehr als ganze Zahlen (die nichts aussagen) zu verwalten, wie z.B.:
einfacher Klick: 1
Doppelklick: 2
langer Druck: 5
Ich zitiere @pierre-gilles , damit er zumindest versteht, worum es geht:
Ich war immer dafür, einen Selektor (input select) für diese Art von Taste einzusetzen, anstatt dieser ganzen Zahlen, die nicht sehr benutzerfreundlich sind!
Eure Meinungen / Ideen!
Hier der Link zu diesem Zitat:
J’ai toujours été pour mettre un sélecteur (input select) pour ce genre de bouton plutôt que ces entier pas très user-friendly !
Peut-être qu’on pourrait créer une demande de fonctionnalité pour pas que ce soit perdu ?
Also, wenn ich das richtig verstehe, geht es nur um Szenen?
Szenen und Dashboard-Anzeige!
Gladys, generell sollte man eigentlich keine ganzen Zahlen auf der Benutzeroberfläche haben.
Ich stimme dir da vollkommen zu
Ich denke auch an die von Gladys gesendeten Nachrichten, die eher « einfach » anzeigen sollten als den numerischen Wert, genauso bei den Präsenz-, Überschwemmungs-, Rauchmeldern usw.
Für das Dashboard und die Szenen beginnen wir mit der Arbeit:
master ← atrovato:button-click-user-friendly
ouvert 10:15AM - 04 Nov 22 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:
- ~~[ ] 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)
- [ ] 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.
- ~~[ ] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)~~
- ~~[ ] If you are adding a new features/services which needs explanation, did you modify the user documentation? See [the GitHub repo](https://github.com/GladysAssistant/v4-website) and the [website](https://gladysassistant.com).~~
- [x] Did you add fake requests data for the demo mode (`front/src/config/demo.js`) so that the demo website is working without a backend? (if needed) See [https://demo.gladysassistant.com](https://demo.gladysassistant.com).
NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
### Description of change
Override button click values by user friendly wording.
See https://community.gladysassistant.com/t/affichage-des-boutons-textuels-dans-les-scenes-et-tableau-de-bord-au-lieu-dentier/7644
#### Dashboard

#### Scene

EDIT: Für den Nachrichtenbereich habe ich mich noch nicht damit beschäftigt.
Ich habe gerade den PR von @AlexTrovato zu diesem Thema gemerged! Danke für den PR, und danke an @VonOx für alle Tests
Das wird im nächsten Gladys-Update veröffentlicht.
guim31
20. März 2023 um 08:49
7
Das wird uns das Leben so viel einfacher machen!
Diese Funktion ist in Gladys Assistant 4.18 enthalten!
Salut à tous !
Je suis rentré de congés cette semaine, et j’ai dépilé tout ce qui était en attente, et il y a des petites pépites
Tout n’est pas dans cette version ( il y avait beaucoup de PRs ! ), mais ces 2 fonctionnalités étaient à mon sens prête à partir. Le reste arrivera dans une prochaine version
Gestion native des boutons avec pression simple/double/relâche
Désormais, Gladys gère nativement les boutons pressions (type Xiaomi), qui permettent de lancer des actions…