Custom streaming overlay #774
-
We would like add a new streaming board, based on the attempt board. Could you guide us, to where in the code we should look, and how to add a new streaming board? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Basically yes. The Attempt board is actually 4 components. The attempt board itself, the break countdown timer, the athlete countdown timer, and a component that shows the down signal and decision lights. The code for these parts is written in JavaScript as standard web components using the LitElement library, and is found in owlcms/frontend/components (AttemptBoard.js, DecisionElement.js, TimerElement.js) These components are fed information by Java back-end classes.
The minimum changes would be for you to copy AttemptBoard.js to another name, change all the naming so that is called something else inside (change the class name, change the is() function, change the define function at the bottom of the file). |
Beta Was this translation helpful? Give feedback.
-
In order to test your code and get hot-code deploy for the JavaScript, you will need to add Instructions for building and packaging are at https://github.com/jflamy/owlcms4/blob/v24/BUILDING.md |
Beta Was this translation helpful? Give feedback.
In order to test your code and get hot-code deploy for the JavaScript, you will need to add
-Dvaadin.frontend.hotdeploy=true
to your IDE launch.Instructions for building and packaging are at https://github.com/jflamy/owlcms4/blob/v24/BUILDING.md