<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claudomator.git/web/test/task-card-di.test.mjs, branch main</title>
<subtitle>claudomator — task automation server
</subtitle>
<id>https://git.terst.org/claudomator.git/atom?h=main</id>
<link rel='self' href='https://git.terst.org/claudomator.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/'/>
<updated>2026-07-06T05:26:24+00:00</updated>
<entry>
<title>fix(web): correct elapsed timer class/location, log-tail coverage, and tests (task 4 reviewer findings)</title>
<updated>2026-07-06T05:26:24+00:00</updated>
<author>
<name>Claudomator Agent</name>
<email>agent@claudomator.local</email>
</author>
<published>2026-07-06T05:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/commit/?id=d2cbe9aa07afdc0aac33c959803d6a6aaef69b8e'/>
<id>urn:sha1:d2cbe9aa07afdc0aac33c959803d6a6aaef69b8e</id>
<content type='text'>
- Move elapsed timer span from card header to after meta block; add
  task-elapsed class alongside running-elapsed (Finding 1)
- Replace PENDING/QUEUED-only log-tail div with full if/else: placeholder
  div.task-log-tail-placeholder for queue states, div.task-log-tail with
  dataset.logTarget for all other states (Finding 2)
- Delete web/test/task-card-di.test.mjs; append correct tests to
  web/test/tasks-board.test.mjs covering log-tail and elapsed timer
  contracts (Finding 3)
- Thread doc parameter through createEditForm, renderSubtaskRollup, and
  renderQuestionFooter so createTaskCard is fully testable without a
  browser DOM

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat(web): extend createTaskCard with DI doc param, log-tail placeholder, elapsed timer (task 4)</title>
<updated>2026-07-06T05:12:47+00:00</updated>
<author>
<name>Claudomator Agent</name>
<email>agent@claudomator.local</email>
</author>
<published>2026-07-06T05:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.terst.org/claudomator.git/commit/?id=d9db12a25a42d00e0f64ac87e10ac0b612b841a8'/>
<id>urn:sha1:d9db12a25a42d00e0f64ac87e10ac0b612b841a8</id>
<content type='text'>
- 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 &gt; 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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
