feat: add ui block while brewing

- fix case value show invalid after come back from brewing finish (topping not save)
- add update machine status

Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
pakintada@gmail.com 2026-04-29 17:41:36 +07:00
parent 4cb98f8672
commit e25881d016
16 changed files with 371 additions and 17 deletions

View file

@ -1,3 +1,4 @@
import { updateMachineStatus } from '../stores/machineInfoStore';
import { addNotification } from '../stores/noti';
type AdbPayload = { type: string; payload: any };
@ -36,6 +37,7 @@ async function handleAdbPayload(raw_payload: string) {
console.log('current state', curr, 'next state', next);
addNotification('INFO:Machine Status Updated, ' + next);
updateMachineStatus(next);
}
break;
case 'error':