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

Button click user friendly #1642

Merged

Conversation

atrovato
Copy link
Contributor

@atrovato atrovato commented Nov 4, 2022

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 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 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 and the website.
  • 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.

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

image

Scene

image

@codecov
Copy link

codecov bot commented Nov 4, 2022

Codecov Report

Base: 97.54% // Head: 97.54% // No change to project coverage 👍

Coverage data is based on head (f1a5360) compared to base (0e1b0f8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1642   +/-   ##
=======================================
  Coverage   97.54%   97.54%           
=======================================
  Files         649      649           
  Lines        9829     9829           
=======================================
  Hits         9588     9588           
  Misses        241      241           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@atrovato atrovato force-pushed the button-click-user-friendly branch from f742fd1 to 7f6a543 Compare December 10, 2022 12:13
@atrovato atrovato requested review from VonOx and Pierre-Gilles and removed request for VonOx December 10, 2022 12:13
@atrovato atrovato marked this pull request as ready for review December 10, 2022 12:14
@VonOx
Copy link
Contributor

VonOx commented Dec 10, 2022

@Pierre-Gilles can you build front dev? I will test with gladys plus.

@Pierre-Gilles
Copy link
Contributor

Great PR @atrovato ! Thanks 🙏

@VonOx Done ✅

You can find a build here: #1674 (comment)

Ping me anytime you want a new build, I will rebase my branch ;)

@VonOx
Copy link
Contributor

VonOx commented Dec 16, 2022

@atrovato I can't save a scene with this trigger

image

UI is ok

@atrovato atrovato force-pushed the button-click-user-friendly branch from 7f6a543 to 7b27c46 Compare January 4, 2023 14:10
@atrovato
Copy link
Contributor Author

atrovato commented Jan 4, 2023

I had an error on update valie method in the "button click" trigger.
Now fixed @VonOx
And I rebase this branch with master.

@VonOx
Copy link
Contributor

VonOx commented Jan 15, 2023

@atrovato state is not displayed after saving
image

If I use master codebase it is ( after saving with your PR )
image

@atrovato atrovato force-pushed the button-click-user-friendly branch from 7b27c46 to f8fcf7d Compare January 20, 2023 18:53
@atrovato
Copy link
Contributor Author

@VonOx Thank you.
I fixed it, and add this case in demo mode.

@Pierre-Gilles
Copy link
Contributor

@VonOx Could you re-test on your side ? :)

@atrovato atrovato force-pushed the button-click-user-friendly branch from f8fcf7d to 74a386d Compare February 10, 2023 05:22
@VonOx
Copy link
Contributor

VonOx commented Feb 15, 2023

Yes @Pierre-Gilles I just need a test build on #1674

@Pierre-Gilles
Copy link
Contributor

@VonOx Done in #1711. Build will be ready in a few minutes.

@atrovato Could you setup front builds on your own repository so it's automatic on your PR? :) It's not very fluid if I need to manually create a PR for every commit, we lose a lot of time 😅

@VonOx
Copy link
Contributor

VonOx commented Feb 18, 2023

Everything is OK, can be merged

@atrovato atrovato force-pushed the button-click-user-friendly branch from 74a386d to f1a5360 Compare February 18, 2023 17:32
@Pierre-Gilles Pierre-Gilles merged commit 5f8632e into GladysAssistant:master Mar 20, 2023
@Pierre-Gilles
Copy link
Contributor

Thanks @VonOx ! Merged

@relativeci
Copy link

relativeci bot commented Mar 20, 2023

Job #1148: Bundle Size — 7.21MiB (+0.1%).

5f8632e(current) vs 50b2ed4 master#1096(baseline)

⚠️ Bundle contains 5 duplicate packages

Metrics (5 changes)
                 Current
Job #1148
     Baseline
Job #1096
Initial JS 4.22MiB(+0.12%) 4.22MiB
Initial CSS 300.25KiB 300.25KiB
Cache Invalidation 62.76% 0%
Chunks 51 51
Assets 149 149
Modules 1300(-2.91%) 1339
Duplicate Modules 20(+1900%) 1
Duplicate Code 0.81%(+8000%) 0.01%
Packages 116 116
Duplicate Packages 4 4
Total size by type (1 change)
                 Current
Job #1148
     Baseline
Job #1096
CSS 313.38KiB 313.38KiB
Fonts 93.55KiB 93.55KiB
HTML 13.58KiB 13.58KiB
IMG 1.66MiB 1.66MiB
JS 5.13MiB (+0.14%) 5.12MiB
Media 0B 0B
Other 15.74KiB 15.74KiB

View job #1148 reportView master branch activity

@atrovato atrovato deleted the button-click-user-friendly branch March 21, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants