Phase 1: Stable card positions during auto-refresh #176

Merged
mprihoda merged 1 commit from IW-175-phase-01 into IW-175 2026-01-28 08:30:59 +00:00
mprihoda commented 2026-01-28 08:30:52 +00:00 (Migrated from github.com)

Phase 1: Stable card positions during auto-refresh

Goals: Eliminate misclicks by replacing activity-based sorting with stable Issue ID sorting. Cards maintain their positions during auto-refresh when no worktrees are added or removed.

Changes:

  • Replace listByActivity with listByIssueId in ServerState
  • Update DashboardService to sort by issueId instead of WorktreePriority
  • Update CaskServer endpoints to use stable Issue ID ordering

Scenarios: 4 verified
Tests: 9 unit tests added/updated

Full review packet

🤖 Generated with Claude Code

## Phase 1: Stable card positions during auto-refresh **Goals**: Eliminate misclicks by replacing activity-based sorting with stable Issue ID sorting. Cards maintain their positions during auto-refresh when no worktrees are added or removed. **Changes**: - Replace `listByActivity` with `listByIssueId` in ServerState - Update DashboardService to sort by issueId instead of WorktreePriority - Update CaskServer endpoints to use stable Issue ID ordering **Scenarios**: 4 verified **Tests**: 9 unit tests added/updated [Full review packet](https://github.com/iterative-works/iw-cli/blob/IW-175-phase-01/project-management/issues/IW-175/review-packet-phase-01.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.