Skip to content

Commit

Permalink
Merge branch 'release51' into release52
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarpl committed Sep 30, 2024
2 parents 8c154af + 5bc0155 commit e560a4c
Show file tree
Hide file tree
Showing 16 changed files with 99 additions and 54 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -587,13 +587,17 @@ jobs:
yarn
env:
CI: true
- name: Run generator
- name: Build OpenAPI client library
run: |
cd packages/openapi
yarn build
env:
CI: true
- name: Generate OpenAPI docs and server
run: |
cd packages/openapi
yarn gendocs
yarn genserver
yarn genclient:ts
env:
CI: true

Expand Down Expand Up @@ -682,7 +686,7 @@ jobs:
else
# make dependencies of `determine-npm-tag` available
yarn install --mode=skip-build
cd packages
PACKAGE_NAME="@sofie-automation/shared-lib"
PUBLISHED_VERSION=$(yarn npm info --json $PACKAGE_NAME | jq -c '.version' -r)
Expand All @@ -700,19 +704,11 @@ jobs:
yarn build
env:
CI: true
- name: Generate OpenAPI client library
if: ${{ steps.do-publish.outputs.tag }}
uses: hatamiarash7/[email protected]
with:
generator: typescript-fetch
openapi-file: ./packages/openapi/api/actions.yaml
output-dir: ./packages/openapi/client/ts
command-args: -p supportsES6=true
- name: Build OpenAPI client library
if: ${{ steps.do-publish.outputs.tag }}
run: |
cd packages/openapi
yarn build:main
yarn build
env:
CI: true
- name: Modify dependencies to use npm packages
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/prerelease-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,12 @@ jobs:
yarn build
env:
CI: true
- name: Generate OpenAPI client library
if: ${{ steps.do-publish.outputs.tag }}
uses: hatamiarash7/[email protected]
with:
generator: typescript-fetch
openapi-file: ./packages/openapi/api/actions.yaml
output-dir: ./packages/openapi/client/ts
command-args: -p supportsES6=true

- name: Build OpenAPI client library
if: ${{ steps.do-publish.outputs.tag }}
if: ${{ steps.do-publish.outputs.publish }}
run: |
cd packages/openapi
yarn build:main
yarn build
env:
CI: true
- name: Modify dependencies to use npm packages
Expand Down
13 changes: 13 additions & 0 deletions meteor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.51.0-in-testing.3](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.2...v1.51.0-in-testing.3) (2024-09-25)

## [1.51.0-in-testing.2](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.1...v1.51.0-in-testing.2) (2024-09-24)


### Bug Fixes

* allow replacement in replaceInfinitesFromPreviousPlayhead ([ebb154d](https://github.com/nrkno/sofie-core/commit/ebb154d6b59369588da400d8d921a00e41b84dc8))
* **BucketPanel:** Bucket AdLibs don't trigger when created before Rundown activation (SOFIE-3478) ([a16d977](https://github.com/nrkno/sofie-core/commit/a16d9777a301a6d7d69ea00be02b70c53cb9bdcc))
* **LinePartTimeline:** make rules for findMainPiece consistent, make infinite graphics Pieces display correctly ([153d100](https://github.com/nrkno/sofie-core/commit/153d100fb659546201a654af5c566b513951df88))
* **NoraFloatingInspector:** prevent Segment crash when trying to show a Piece with an invalid Nora `previewPayload` ([4a3a2e7](https://github.com/nrkno/sofie-core/commit/4a3a2e779c144b1c9e88c187cce2e5c80d34626d))
* resolve an issue with prompter moving when Parts become PartInstances and the prompter position is juuuust right ([a670a73](https://github.com/nrkno/sofie-core/commit/a670a73fa6bfb8331921a2bedd9c927952cfffcf))

## [1.51.0-in-testing.0](https://github.com/nrkno/sofie-core/compare/v1.50.4...v1.51.0-in-testing.0) (2024-08-19)


Expand Down
16 changes: 16 additions & 0 deletions packages/blueprints-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.51.0-in-testing.3](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.2...v1.51.0-in-testing.3) (2024-09-25)

**Note:** Version bump only for package @sofie-automation/blueprints-integration





# [1.51.0-in-testing.2](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.1...v1.51.0-in-testing.2) (2024-09-24)

**Note:** Version bump only for package @sofie-automation/blueprints-integration





# [1.51.0-in-testing.1](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.0...v1.51.0-in-testing.1) (2024-09-06)


Expand Down
2 changes: 1 addition & 1 deletion packages/job-worker/src/playout/timeline/piece.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function getPieceEnableInsidePart(
if (partHasEndTime && partTimings.toPartPostroll) {
if (!pieceEnable.duration) {
// make sure that the control object is shortened correctly
pieceEnable.duration = `#${partGroupId} - ${partTimings.toPartPostroll}`
pieceEnable.end = `#${partGroupId} - ${partTimings.toPartPostroll}`
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/job-worker/src/playout/timeline/rundown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ export function buildTimelineObjsForRundown(
// If there is a valid autonext out of the current part, then calculate the duration
currentPartEnable.duration =
partInstancesInfo.current.partInstance.part.expectedDuration +
partInstancesInfo.current.calculatedTimings.toPartDelay
partInstancesInfo.current.calculatedTimings.toPartDelay +
partInstancesInfo.current.calculatedTimings.toPartPostroll // autonext should have the postroll added to it to not confuse the timeline

if (
typeof currentPartEnable.start === 'number' &&
Expand Down
2 changes: 1 addition & 1 deletion packages/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"version": "1.52.0-in-development",
"npmClient": "yarn",
"useWorkspaces": true
}
}
16 changes: 16 additions & 0 deletions packages/mos-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.51.0-in-testing.3](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.2...v1.51.0-in-testing.3) (2024-09-25)

**Note:** Version bump only for package mos-gateway





# [1.51.0-in-testing.2](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.1...v1.51.0-in-testing.2) (2024-09-24)

**Note:** Version bump only for package mos-gateway





# [1.51.0-in-testing.1](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.0...v1.51.0-in-testing.1) (2024-09-06)


Expand Down
16 changes: 16 additions & 0 deletions packages/playout-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.51.0-in-testing.3](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.2...v1.51.0-in-testing.3) (2024-09-25)

**Note:** Version bump only for package playout-gateway





# [1.51.0-in-testing.2](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.1...v1.51.0-in-testing.2) (2024-09-24)

**Note:** Version bump only for package playout-gateway





# [1.51.0-in-testing.1](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.0...v1.51.0-in-testing.1) (2024-09-06)


Expand Down
16 changes: 16 additions & 0 deletions packages/server-core-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [1.51.0-in-testing.3](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.2...v1.51.0-in-testing.3) (2024-09-25)

**Note:** Version bump only for package @sofie-automation/server-core-integration





# [1.51.0-in-testing.2](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.1...v1.51.0-in-testing.2) (2024-09-24)

**Note:** Version bump only for package @sofie-automation/server-core-integration





# [1.51.0-in-testing.1](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.0...v1.51.0-in-testing.1) (2024-09-06)

**Note:** Version bump only for package @sofie-automation/server-core-integration
Expand Down
21 changes: 0 additions & 21 deletions packages/webui/src/client/lib/RenderLimiter.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/webui/src/client/ui/Shelf/BucketPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export const BucketPanel = React.memo(
)
},
(props: IBucketPanelProps, nextProps: IBucketPanelProps) => {
return !_.isEqual(props, nextProps)
return _.isEqual(props, nextProps)
}
)

Expand Down
4 changes: 2 additions & 2 deletions packages/webui/src/client/ui/Shelf/BucketPieceButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from 'react-dnd'
import { DragDropItemTypes } from '../DragDropItemTypes'
import { BucketAdLib } from '@sofie-automation/corelib/dist/dataModel/BucketAdLibPiece'
import { useContentStatusForAdlibPiece } from '../SegmentTimeline/withMediaObjectStatus'
import { useContentStatusForItem } from '../SegmentTimeline/withMediaObjectStatus'
import { BucketAdLibActionUi, BucketAdLibItem } from './RundownViewBuckets'
import { IBlueprintActionTriggerMode } from '@sofie-automation/blueprints-integration'
import { BucketId, PieceId } from '@sofie-automation/corelib/dist/dataModel/Ids'
Expand Down Expand Up @@ -60,7 +60,7 @@ class BucketPieceButtonBase extends DashboardPieceButtonBase<ButtonSourceCollect
export function BucketPieceButton(
props: React.PropsWithChildren<IDashboardButtonProps> & BucketPieceButtonBaseProps
): JSX.Element {
const contentStatus = useContentStatusForAdlibPiece(props.piece)
const contentStatus = useContentStatusForItem(props.piece)

const [, connectDropTarget] = useDrop<IBucketPieceDragObject, {}, {}>({
accept: DragDropItemTypes.BUCKET_ADLIB_PIECE,
Expand Down
2 changes: 1 addition & 1 deletion packages/webui/src/client/ui/Shelf/DashboardPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,6 @@ export const DashboardPanel = React.memo(
)
},
(props: IAdLibPanelProps, nextProps: IAdLibPanelProps) => {
return !_.isEqual(props, nextProps)
return _.isEqual(props, nextProps)
}
)
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const ShelfInspector = React.memo(
)
},
(prevProps, nextProps) => {
if (_.isEqual(nextProps, prevProps)) return false
return true
return _.isEqual(nextProps, prevProps)
}
)
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const TimelineDashboardPanel = React.memo(
return <TimelineDashboardPanelContent {...props} {...trackedProps} studio={trackedProps.studio} />
},
(props: IAdLibPanelProps, nextProps: IAdLibPanelProps) => {
return !_.isEqual(props, nextProps)
return _.isEqual(props, nextProps)
}
)

Expand Down

0 comments on commit e560a4c

Please sign in to comment.