nrkno / sofie-core

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

feat: support external url dropzones #1146

Closed mint-dewit closed 7 months ago

mint-dewit commented 7 months ago

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a Feature

New Behavior

As of this PR is is possible for plugins to veer off the MOS plugin spec and provide a special drop page to be used for drag and drop operations. Sofie will listen for messages from both the external panel and the dropzone page. This mechanism allows us to work around limitations for drag and drop under cross origin policies.

Other Information

We intend to add public documentation for this mechanism as part of another task.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.14%. Comparing base (842c6e3) to head (155397f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release50 #1146 +/- ## ============================================= + Coverage 58.12% 58.14% +0.01% ============================================= Files 480 480 Lines 78832 78854 +22 Branches 4124 3582 -542 ============================================= + Hits 45824 45847 +23 - Misses 32953 33002 +49 + Partials 55 5 -50 ```

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