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

Duplicate scene #1670

Merged
merged 10 commits into from Dec 18, 2022
Merged

Conversation

callemand
Copy link
Contributor

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

The purpose of this PR is a proposal to add scene duplication on edit scene page.

Screenshot 2022-12-12 at 19 52 49

Screenshot 2022-04-15 at 14 40 15

@callemand callemand mentioned this pull request Dec 13, 2022
9 tasks
@codecov
Copy link

codecov bot commented Dec 13, 2022

Codecov Report

Base: 97.25% // Head: 97.26% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (3805381) compared to base (a4eb84f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1670   +/-   ##
=======================================
  Coverage   97.25%   97.26%           
=======================================
  Files         642      643    +1     
  Lines        9671     9684   +13     
=======================================
+ Hits         9406     9419   +13     
  Misses        265      265           
Impacted Files Coverage Δ
server/api/routes.js 98.03% <ø> (ø)
server/api/controllers/scene.controller.js 100.00% <100.00%> (ø)
server/lib/scene/index.js 100.00% <100.00%> (ø)
server/lib/scene/scene.duplicate.js 100.00% <100.00%> (ø)
server/seeders/20190227043234-scene.js 100.00% <100.00%> (ø)

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.

@callemand callemand force-pushed the duplicate-scene branch 2 times, most recently from 7177655 to 30b5598 Compare December 14, 2022 14:43
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this PR 🙏

This is great work and it works very well on my machine 😄

I just have a few small feedbacks, it's really nothing.

After that, I'm good to merge!

front/src/config/i18n/en.json Outdated Show resolved Hide resolved
front/src/config/i18n/fr.json Outdated Show resolved Hide resolved
server/test/lib/scene/scene.duplicate.test.js Outdated Show resolved Hide resolved
server/test/lib/scene/scene.duplicate.test.js Show resolved Hide resolved
server/lib/scene/scene.duplicate.js Outdated Show resolved Hide resolved
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your changes it's perfect now 🙏

I just found a last tiny 1 line change that I didn't see last time, sorry 😂

I merge this right after the change! Thanks!

front/src/routes/scene/duplicate-scene/index.js Outdated Show resolved Hide resolved
Copy link
Contributor

@Pierre-Gilles Pierre-Gilles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes, it's good for me ! ✅

@Pierre-Gilles Pierre-Gilles merged commit 5154c19 into GladysAssistant:master Dec 18, 2022
@relativeci
Copy link

relativeci bot commented Dec 18, 2022

Job #905: Bundle Size — 6.97MiB (+0.17%).

5154c19(current) vs a4eb84f master#896(baseline)

Metrics (4 changes)
                 Current
Job #905
     Baseline
Job #896
Initial JS 3.02MiB(+0.39%) 3.01MiB
Initial CSS 293.9KiB(+0.11%) 293.57KiB
Cache Invalidation 47.26% 43.23%
Chunks 52 52
Assets 148 148
Modules 1242(+0.32%) 1238
Duplicate Modules 2 2
Duplicate Code 0.03% 0.03%
Packages 106 106
Duplicate Packages 8 8
Total size by type (2 changes)
                 Current
Job #905
     Baseline
Job #896
CSS 311.09KiB (+0.11%) 310.75KiB
Fonts 93.55KiB 93.55KiB
HTML 13.58KiB 13.58KiB
IMG 1.64MiB 1.64MiB
JS 4.92MiB (+0.24%) 4.91MiB
Media 0B 0B
Other 4.95KiB 4.95KiB

View job #905 reportView master branch activity

@callemand callemand deleted the duplicate-scene branch December 19, 2022 07:52
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.

None yet

2 participants