sofie-core
sofie-core copied to clipboard
SOFIE-47 | add automatic configuration of peripheral devices if there is only 1 studio
About the Contributor
superfly.tv
Type of Contribution
This is a:
Feature
Current Behavior
Currently, a new device needs to be manually configured after first launch & discovery by Sofie
New Behavior
This PR adds automatic configuration of the new device, attaching it to the studio, but only if there is exactly 1 studio configured
Testing
- [x] I have added one or more unit tests for this PR
- [ ] I have updated the relevant unit tests
- [ ] No unit test changes are needed for this PR
Affected areas
This PR affects the behavior of Sofie after a new device connects for the first time
Time Frame
Not urgent, but we would like to get this merged into the in-development release
Other Information
Status
- [x] PR is ready to be reviewed.
- [x] The functionality has been tested by the author.
- [x] Relevant unit tests has been added / updated.
- [x] Relevant documentation (code comments, system documentation) has been added / updated.
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
:x: Patch coverage is 90.24390% with 4 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| meteor/server/api/peripheralDevice.ts | 90.24% | 4 Missing :warning: |
:loudspeaker: Thoughts on this report? Let us know!
