diff options
| author | Claudomator Agent <agent@claudomator.local> | 2026-07-06 05:12:47 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator.local> | 2026-07-06 05:12:47 +0000 |
| commit | d9db12a25a42d00e0f64ac87e10ac0b612b841a8 (patch) | |
| tree | 8bd36b95d0f9d7252c8d225b668903d023e501e7 /internal/api/epics.go | |
| parent | 18170fd5fc68cee039e2a8b471d3a7d502866454 (diff) | |
feat(web): extend createTaskCard with DI doc param, log-tail placeholder, elapsed timer (task 4)
- Export createTaskCard and add `doc = document` parameter; replace every
document.createElement call inside the function with doc.createElement,
enabling unit testing without a real DOM.
- RUNNING tasks: append a span.running-elapsed (data-started-at, elapsed
text) to the card header, consistent with renderRunningView so
updateRunningElapsed() picks it up automatically.
- PENDING/QUEUED tasks: append div.task-log-tail > p.task-log-placeholder
("Waiting to start…") — the queue column has no execution yet, so a
placeholder is shown instead of an empty log box.
- New web/test/task-card-di.test.mjs covers DI doc plumbing, placeholder
presence/absence, and elapsed-timer presence/absence across states.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/epics.go')
0 files changed, 0 insertions, 0 deletions
