v2 event timer (#274)

* lint: cleanup unused

* refactor: rename component to avoid conflict

* style: gap in element row

* refactor: rename playstate -> playback

* refactor: cleanup usages of timer and prepare integration manager

* style: re-arrange button order

* refactor: improve event loading

* feat(timer-service): hot reload

* fix: issue with duration input

* chore: cleanup debug

* refactor: resolve poll from runtime store

* refactor: cleanup merge

* refactor: small improvements in timer hot-reload
This commit is contained in:
Carlos Valente
2022-12-26 12:58:33 +01:00
committed by GitHub
parent 062ff7226a
commit 110d3fb7a3
39 changed files with 637 additions and 601 deletions
@@ -1,11 +1,11 @@
import { useTimer } from '../../../../common/hooks/useSocket';
import { Playstate } from '../../../../common/models/OntimeTypes';
import { Playback } from '../../../../common/models/OntimeTypes';
import { clamp } from '../../../../common/utils/math';
import style from './EventBlockProgressBar.module.scss';
interface EventBlockProgressBarProps {
playback?: Playstate;
playback?: Playback;
}
export default function EventBlockProgressBar(props: EventBlockProgressBarProps) {