Skip to content
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

Improve scene view #649

Merged
merged 36 commits into from
Feb 17, 2020
Merged

Improve scene view #649

merged 36 commits into from
Feb 17, 2020

Conversation

Pierre-Gilles
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles commented Jan 13, 2020

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:

  • If your changes affects code, did your write the tests?
  • Are tests passing? (npm test on both front/server)
  • Is the linter passing? (npm run eslint on both front/server)
  • Did you run prettier? (npm run prettier on both front/server)
  • 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 and the website.
  • Did you add fake requests data for the demo mode (front/src/config/demo.json) so that the demo website is working without a backend? (if needed) See 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

Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

@Pierre-Gilles Pierre-Gilles changed the title [WIP] Improve scene view by making it vertical [WIP] Improve scene view Jan 13, 2020
@codecov
Copy link

codecov bot commented Jan 23, 2020

Codecov Report

Merging #649 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #649   +/-   ##
=======================================
  Coverage   91.77%   91.77%           
=======================================
  Files         392      392           
  Lines        4866     4866           
=======================================
  Hits         4466     4466           
  Misses        400      400           
Flag Coverage Δ
#server 91.77% <0.00%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41ca02c...41ca02c. Read the comment docs.

@Pierre-Gilles Pierre-Gilles marked this pull request as ready for review February 17, 2020 14:15
@Pierre-Gilles Pierre-Gilles changed the title [WIP] Improve scene view Improve scene view Feb 17, 2020
@Pierre-Gilles Pierre-Gilles merged commit 5242a1a into master Feb 17, 2020
@Pierre-Gilles Pierre-Gilles deleted the scene-view branch February 17, 2020 14:37
R6n0 pushed a commit to R6n0/Gladys that referenced this pull request Dec 2, 2020
* Improve scene view by making it vertical

* Add trigger UI edition

* Improve display of trigger with units

* Use react-select in choose trigger card

* Translate add trigger card

* Migrate triggers to the scene table

* Fix device.get filtered by name

* Remove trigger table tests

* Remove triggers controllers`

* Translate chooseActionCard and use react-select

* Improve responsive of device state change trigger card

* Add action icon in config variable

* Display room in device state trigger select

* Improve responsive & sort device feature name

* Delay action box working

* Telegram card in scene view

* Add loading state on scene view

* Translate and bugfix delay card

* Translate & make send message work

* Add explanation text and placeholder

* Clean actions group if needed

* Add an error message in case saving the scene fail

* Add all translations

* Fix server-side code for lights.turn-on

* Fix scenes tests

* Remove trigger folder

* Handle triggers + add tests

* Fix scenes tests

* Add listener on EVENTS.ACTION.TRIGGERED

* Improve demo mode

* Add test on executeSingleAction

* Fix links active state

* Add send message action + tests

* Add more tests to room.get

* Improve code coverage on device.get

* Add more tests on scene.get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant