Hola a todos
En una instalación nueva, cuando se define la ubicación de nuestra casa + una o más zonas, y luego se abre el mapa, este se muestra con un zoom mínimo:
Aquí, me habría parecido práctico que el zoom se ajustara para mostrar mis puntos de la manera más clara posible:
¿Es esto intencional o se trata de un olvido?
En el primer caso, me encantaría conocer la justificación detrás de esta elección.
En el segundo, me encantaría abrir un issue en GitHub y solucionarlo.
(En ambos casos, estoy feliz de todos modos )
Saludos,
Alex.
Hola @GziAzman y bienvenido a Gladys
Me parece que debería funcionar como describes… (hacer zoom en los puntos creados)
¡Claro que sí! Me encantaría un issue y una PR
¡Gracias!
@pierre-gilles Gracias por tu respuesta.
La PR está aquí
master ← GziAzman:fix-map-initial-bounding
ouvert 09:01AM - 18 Mar 24 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)
- [ ] 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 ([french forum](https://community.gladysassistant.com/)/[english forum](https://en-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).
- [ ] 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
CF #2041
**Note:**
This is my first pull request ever, if I made a mistake, I'd be glad if you direct me 🙂
(Nota: es mi primera PR en GitHub, así que si me equivoqué, no dudes en decírmelo).
En cuanto a la función, primero pensé que era un simple olvido. Pero al mirar el código, ya estaba todo listo. Solo se tenían en cuenta los marcadores « users ». Por eso abrí esta discusión, pensando que habría una justificación para ello.
Gracias por la PR @GziAzman , acabo de probarlo y funciona genial
Está fusionado y saldrá en la próxima versión de Gladys !
¡Está disponible en Gladys Assistant 4.38.1!:
Salut à tous !
Nouvelle version de Gladys aujourd’hui : Gladys Assistant 4.38.1
C’est une version qui apporte pas mal de correctifs :
Il est maintenant possible d’utiliser le streaming de caméra chiffré de bout en bout sur iOS !! Apple a (enfin) sorti l’API MediaSource sur iOS (qui était disponible sur Safari et iPadOS depuis longtemps), ce qui nous permet désormais de faire du streaming de flux vidéo de caméra, chiffré de bout en bout sur iPhone.
OpenWeather: Correction d’un…
¡Cierro este tema!