summaryrefslogtreecommitdiff
path: root/claudomator
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator.local>2026-07-06 01:38:50 +0000
committerClaudomator Agent <agent@claudomator.local>2026-07-06 01:38:50 +0000
commit0ca84d28c6d358591582b5d61ef66ed0e266e260 (patch)
tree11f0c6ce60783e99b7cf304903e081aed58e17e2 /claudomator
parent54be094e65ffafe69e3490cbe9b5ae37d1fa927d (diff)
fix(web): reviewer findings on Tasks board column model (task 1)
Finding 1 (Important): replace inline per-column sort comparators in groupTasksByColumn with calls to the existing sortTasksByDate(tasks, descend) helper. The old inline code fell back to epoch 0 for missing created_at, sorting dateless tasks FIRST in ascending columns — diverging from the rest of the codebase's convention (sortTasksByDate puts them LAST). Add two new tests asserting that a task with no created_at sorts LAST in both an ascending column (queue) and a descending column (interrupted). Finding 2 (Important): revert web/test/tab-persistence.test.mjs — the two 'stories' assertions introduced in 54be094 were out of Task 1's scope and belong to Task 2. Restore the original 'queue' assertions so commit messages accurately reflect their contents; Task 2 will re-apply the fix intentionally. Finding 3 (Minor): add the missing state-list uniqueness assertion to the 'every column key is unique' test: assert.equal(new Set(allStates).size, allStates.length) so a state appearing in two columns is caught. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'claudomator')
0 files changed, 0 insertions, 0 deletions