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

feat: refactor singular-live device SOFIE-2492 #337

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

Julusian
Copy link
Member

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a: Code improvement

New Behavior

Refactors the Telemetrics device to the new structure

Testing Instructions

Other Information

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

@Julusian Julusian requested a review from a team as a code owner June 26, 2024 13:53
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 45.16129% with 17 lines in your changes missing coverage. Please review.

Project coverage is 55.42%. Comparing base (d220c78) to head (a556832).

Files Patch % Lines
...te-resolver/src/integrations/singularLive/index.ts 44.44% 15 Missing ⚠️
...ges/timeline-state-resolver/src/service/devices.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           release51     #337      +/-   ##
=============================================
+ Coverage      54.84%   55.42%   +0.57%     
=============================================
  Files            129      129              
  Lines          10095    10054      -41     
  Branches        2484     2416      -68     
=============================================
+ Hits            5537     5572      +35     
- Misses          4176     4480     +304     
+ Partials         382        2     -380     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

}
})
if (oldSingularLiveState) {
_.each(oldSingularLiveState.compositions, (composition: SingularComposition, compositionName) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

minor note: Perhaps we should refactor away the underscore dependencies as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

I almost did, but there is a _.isEqual somewhere here which I'm not aware of a direct replacement for, so didn't feel it worth changing these other references

@Julusian Julusian merged commit 2d08c7c into release51 Jun 27, 2024
36 checks passed
@Julusian Julusian deleted the feat/refactor-singular-device branch June 27, 2024 09:41
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.

3 participants