Lokkye
Avril 15, 2022, 12:44
6
Bonjour, je viens de faire une petite PR pour rajouter la duplication d’un scène. Lorsque l’on click sur le bouton copier, cela envoie vers une nouvelle page pour choisir le nouveau nom de la scene dupliqué.
GladysAssistant:master
← callemand:duplicate-scene
opened 12:41PM - 15 Apr 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:
- [x] 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)
- [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](https://community.gladysassistant.com/) for testing before merging.
- [x] 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
The purpose of this PR is a proposal to add scene duplication on edit scene page.
<img width="1429" alt="Screenshot 2022-04-15 at 14 40 22" src="https://user-images.githubusercontent.com/11317212/163571897-8fe399bf-cefb-4396-b47a-29935e5c8660.png">
<img width="1433" alt="Screenshot 2022-04-15 at 14 40 15" src="https://user-images.githubusercontent.com/11317212/163571903-a1ab4fd7-11f8-4169-a115-b4213c210e67.png">
6 « J'aime »