nrkno / sofie-core

Sofie Core: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
124 stars 40 forks source link

feat: action triggers styleClassNames SOFIE-3138 #1192

Closed Julusian closed 1 month ago

Julusian commented 1 month ago

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a: Feature

New Behavior

This adds the concept of stylePresets to action triggers, and propogates them in the previews to the input-gateway.

This allows the input gateway to perform additional styling, defined as part of the config of the input devices. See https://github.com/nrkno/sofie-input-gateway/pull/21 for more info.

Testing

Affected areas

This PR affects the input-gateway integration

Time Frame

Other Information

Status

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 6.66667% with 56 lines in your changes are missing coverage. Please review.

Project coverage is 58.05%. Comparing base (b7d3db7) to head (2ffa4bb).

Files Patch % Lines
...r/api/deviceTriggers/StudioDeviceTriggerManager.ts 2.12% 46 Missing :warning:
meteor/lib/collections/TriggeredActions.ts 0.00% 6 Missing :warning:
meteor/server/api/triggeredActions.ts 0.00% 2 Missing :warning:
meteor/server/publications/triggeredActionsUI.ts 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feat/R51-live-status-gateway-on-R50 #1192 +/- ## ======================================================================= - Coverage 58.08% 58.05% -0.04% ======================================================================= Files 483 483 Lines 79483 79524 +41 Branches 3500 4135 +635 ======================================================================= - Hits 46169 46165 -4 - Misses 33289 33303 +14 - Partials 25 56 +31 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.