-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weather module #961
Weather module #961
Conversation
9ba5faa
to
51a8680
Compare
Codecov Report
@@ Coverage Diff @@
## master #961 +/- ##
=======================================
Coverage 94.51% 94.51%
=======================================
Files 485 485
Lines 6438 6438
=======================================
Hits 6085 6085
Misses 353 353
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi !
Thanks for your pull request, it looks really nice and I'm looking forward to merge this in Gladys Assistant 👍
Just one question, are we losing the big weather icon like it was before?
Maybe it could be nice to still have it when it "compressed" mode?
Second question, it seems your PR is breaking the demo mode of Gladys Assistant (demo.gladysassistant.com)
Here is what I see in demo mode:
To test the demo mode, you need to create a .env
file in your "front" folder, with the value:
DEMO_MODE=true
And restart locally the frontend.
Let me know if you have any questions, and again thank you very much for your work here 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope @Pierre-Gilles agree my comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's some amazing work here 👏
Congrats for your great work, I'm merging this in Gladys right now!
@all-contributors please add @callemand for code |
I've put up a pull request to add @callemand! 🎉 |
@callemand could you maybe put a profile picture (or just an avatar, not necessarily your face) to your GitHub account? :) So it looks better on the README: |
…sistant#961) * Refactoring Weather module to display more informations and forecast * Prettier front * Front eslint * Front pretty * Fix icon weather and debug mode * Fix after atrovato review Co-authored-by: Pierre-Gilles Leymarie <pierregilles.leymarie@gmail.com>
Pull Request check-list
To ensure your Pull Request can be accepted as fast as possible, make sure to review and check all of these items:
npm test
on both front/server)npm run eslint
on both front/server)npm run prettier
on both front/server)npm run compare-translations
on front)NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
Description of change
Based on "#504" but use openweather api.
Ajout du nom de la maison servant de point de géolocalisation
Ajout du taux d’humidité et de la vitesse du vent
Ajout des prévisions météo horaires pour les 8 prochaines heures avec icônes et températures
Ajout des prévisions météo horaires pour les 7 prochains jours avec icônes et températures min et max
Screenshots