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

fix: hide create playlist drop box when dragging a rundown not in a multi-rundown playlist SOFIE-2462 #1181

Closed Julusian closed 1 month ago

Julusian commented 2 months ago

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a: Bug fix

Current Behavior

In the rundown list page, when dragging a rundown which is not grouped in a playlist, a dropbox is shown to create it in a new playlist. This has no visible effect, as the rundown is moved into a non-grouped playlist, giving the same result as before.

New Behavior

When dragging a rundown which is alone in a flattened playlist, don't show the drop box

Testing

Affected areas

This is a minor ui change

Other Information

Status

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 57.98%. Comparing base (580ff9e) to head (3ce5bac). Report is 14 commits behind head on release51.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release51 #1181 +/- ## ============================================= - Coverage 57.98% 57.98% -0.01% ============================================= Files 519 519 Lines 83770 83784 +14 Branches 3821 3078 -743 ============================================= + Hits 48577 48583 +6 - Misses 35168 35196 +28 + Partials 25 5 -20 ```

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