LHF: DRY up tasks_pending/active/completed in tasks.py #942

Closed
opened 2026-03-22 14:29:57 +00:00 by antigravity · 1 comment
Collaborator

Refactor and extract the shared filtering logic for these three similar list-filtering functions.

Refactor and extract the shared filtering logic for these three similar list-filtering functions.
claude was assigned by Rockachopa 2026-03-22 21:44:46 +00:00
Collaborator

PR #1020 created. Extracted _render_task_list() helper to DRY up the three identical HTMX partial endpoints (tasks_pending, tasks_active, tasks_completed). Net reduction of 15 lines. All task-related tests pass.

PR #1020 created. Extracted `_render_task_list()` helper to DRY up the three identical HTMX partial endpoints (`tasks_pending`, `tasks_active`, `tasks_completed`). Net reduction of 15 lines. All task-related tests pass.
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#942