feat: Add support for Kairos layer effects#454
Conversation
|
Caution Review failedPull request was closed or merged during review WalkthroughAdds end-to-end support for a new Kairos ChangesKairos scene-layer-effect end-to-end support
Sequence Diagram(s)sequenceDiagram
participant Timeline
participant KairosStateBuilder
participant diffKairosStates
participant sendCommand
participant KairosAPI
Timeline->>KairosStateBuilder: fromTimeline(MappingKairosType.SceneLayerEffect)
KairosStateBuilder->>KairosStateBuilder: _applySceneLayerEffect → sceneLayerEffects[ref]
KairosStateBuilder-->>diffKairosStates: KairosDeviceState (old, new)
diffKairosStates->>diffKairosStates: diffSceneLayerEffects → KairosSceneLayerEffectCommand[]
diffKairosStates->>sendCommand: scene-layer-effect command
sendCommand->>KairosAPI: updateSceneLayerEffect*(ref, values)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
83fcebd to
67457bc
Compare
|
67457bc to
e444fe4
Compare
|



About the Contributor
This pull request is posted on behalf of the NRK.
Type of Contribution
This is a: Feature
Current Behavior
TSR doesn't currently support controlling Kairos Scene-Layer-Effects.
New Behavior
Adds control of Kairos Scene-Layer-Effects.
Status