mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Three bugs fixed: 1. Badge stays "processing" after job completes: pollJobs() never called fetchRawMaterials() when a job reached terminal status, so raw.processingStatus stayed processing in the store. Fix: detect terminal job status in pollJobs, trigger fetchRawMaterials to sync. 2. "Completed" dot pulses instead of solid: dotClass() treated completed the same as in-progress (target === cur → active). Fix: add isTerminal computed (includes completed), return done for all dots at or before the terminal position — no pulse animation. 3. Stage label stays orange at terminal: same cause — active class applied regardless of terminal state. Fix: use done class for terminal labels (green instead of orange). Also: v-if on JobStageBar now shows for terminal status jobs (not just stage !== queued), so completed/failed stage bars remain visible. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| TEST_CASES.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| yarn.lock | ||