8000 fix: action trigger settings ui previews by Julusian · Pull Request #1309 · Sofie-Automation/sofie-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: action trigger settings ui previews #1309

New issue

Have a question about this project? Sign up 8000 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

Merged

Conversation

Julusian
Copy link
Contributor
@Julusian Julusian commented Nov 1, 2024

About the Contributor

This pull request is posted on behalf of the BBC

Type of Contribution

This is a: Bug fix

Current Behavior

When using the 'Action Triggers' settings page, it would not correctly show previews related to the current segment.
This was due to the ui subscribing to the 'parts' collection, but then using the 'uiparts' collection.
Q) should this be using parts or ui parts? I want to say parts as this is a settings page, but its trying to match playout behaviour so maybe should be using uiparts? it only needs the document ids, so it probably doesn't matter.

Additionally, when performing a take, this would not be reflected correctly in this ui, the tracker hook was missing a dependency.

I also found that the uiPartInstances publication had a rundownIds parameter that was unused by the publication implementation. This would cause the publication to be restarted unnecessarily, so has been removed.

Testing

  • 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 Action Triggers settings ui

Time Frame

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 November 1, 2024 13:41
@Julusian Julusian added the Contribution from BBC Contributions sponsored by BBC (bbc.co.uk) label Nov 1, 2024
Copy link
codecov bot commented Nov 1, 2024

Codecov Report

Attention: Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

Project coverage is 60.67%. Comparing base (c5b833d) to head (005a0e5).
Report is 96 commits behind head on release52.

Files with missing lines Patch % Lines
...server/publications/partInstancesUI/publication.ts 0.00% 5 Missing and 1 partial ⚠️
meteor/server/publications/partsUI/publication.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           release52    #1309      +/-   ##
=============================================
+ Coverage      60.61%   60.67%   +0.06%     
=============================================
  Files            459      461       +2     
  Lines          78733    78872     +139     
  Branches        4849     5055     +206     
=============================================
+ Hits           47721    47855     +134     
+ Misses         30871    30780      -91     
- Partials         141      237      +96     

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

@Julusian Julusian force-pushed the upstream/fix-action-triggers-previews branch from be4ea19 to 005a0e5 Compare November 1, 2024 13:45
@jstarpl jstarpl merged commit a886bc4 into Sofie-Automation:release52 Nov 26, 2024
45 of 46 checks passed
@Julusian Julusian deleted the upstream/fix-action-triggers-previews branch November 27, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution from BBC Contributions sponsored by BBC (bbc.co.uk)
Development

Successfully merging this pull request may close these issues.

2 participants
0