Phase 3: Recent issues - Linear #123

Merged
mprihoda merged 3 commits from IW-88-phase-03 into IW-88 2026-01-14 17:51:50 +00:00
mprihoda commented 2026-01-14 17:49:50 +00:00 (Migrated from github.com)

Phase 3: Recent issues - Linear

Goals: Enable fetching and displaying recent Linear issues in the Create Worktree modal

What was built:

  • LinearClient.buildListRecentIssuesQuery() - Pure GraphQL query construction
  • LinearClient.parseListRecentIssuesResponse() - Pure JSON parsing
  • LinearClient.listRecentIssues() - HTTP execution with backend injection
  • Updated CaskServer.buildFetchRecentFunction for Linear tracker

Testing:

  • 8 unit tests (query building, response parsing, HTTP execution with mocks)

Patterns applied:

  • Same pure/effectful separation as GitHub implementation
  • Backend injection for testability (SyncBackendStub)
  • Reused Issue model from existing codebase

Review: review-phase-03-20260114-184500.md
Review Packet: review-packet-phase-03.md

🤖 Generated with Claude Code

## Phase 3: Recent issues - Linear **Goals**: Enable fetching and displaying recent Linear issues in the Create Worktree modal **What was built:** - `LinearClient.buildListRecentIssuesQuery()` - Pure GraphQL query construction - `LinearClient.parseListRecentIssuesResponse()` - Pure JSON parsing - `LinearClient.listRecentIssues()` - HTTP execution with backend injection - Updated `CaskServer.buildFetchRecentFunction` for Linear tracker **Testing:** - 8 unit tests (query building, response parsing, HTTP execution with mocks) **Patterns applied:** - Same pure/effectful separation as GitHub implementation - Backend injection for testability (SyncBackendStub) - Reused Issue model from existing codebase **Review:** [review-phase-03-20260114-184500.md](./project-management/issues/IW-88/review-phase-03-20260114-184500.md) **Review Packet:** [review-packet-phase-03.md](./project-management/issues/IW-88/review-packet-phase-03.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.