summaryrefslogtreecommitdiff
path: root/internal/task
AgeCommit message (Collapse)Author
2026-04-08task 6: reorder task helpers before public APIPaul Buetow
2026-04-08Task 9: extract SortTasks helpersPaul Buetow
2026-03-03bump up version to 0.11.2Paul Buetow
Patch release: code quality improvements based on 100 Go Mistakes analysis. - Fixed race condition in global RNG - Optimized render performance by lazy-calling .View() - Improved map pre-allocation - Handled or explicitly silenced unchecked errors - Removed unused functions and fields - Updated deprecated library methods
2026-02-28refactor(task): move debug state into debugConfig structPaul Buetow
DIP/MEDIUM task (UUID 2f64277a): the two bare package-level vars (debugWriter, debugFile) were mutable shared state that prevented concurrent test isolation. Introduce private debugConfig struct and a single package-level instance (dbg). SetDebugLog and run() are updated to use dbg.writer / dbg.file. The public API is unchanged so main.go needs no modification. Add TestSetDebugLog covering: invalid-path error (negative), enable, log write reaching the file, reconfiguration, and disable. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28refactor(task): centralize Taskwarrior date format as task.DateFormatPaul Buetow
DRY/MEDIUM task (UUID 2c74960f): the format string "20060102T150405Z" was hardcoded in 5+ places across the task and ui packages. - Export task.DateFormat constant from internal/task/task.go - Replace hardcoded string in task.go and stats.go with DateFormat - Update internal/ui/helpers.go to alias the constant (taskDateFormat = task.DateFormat) rather than repeating the string literal - Replace all 6 raw string literals in table.go with task.DateFormat - Remove duplicate dueText() from table.go; its only call site now uses formatDueText() from helpers.go, which also normalises to midnight UTC for more accurate day-difference calculations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2025-06-28feat: add project field support to TaskSamuraiPaul Buetow
Add comprehensive project field support including: - Project column in table view with automatic width calculation - 'J' hotkey to edit project in both table and detail views - Project field in task detail view (between Start and Entry) - Search functionality includes project names - Enter key on project column allows inline editing The project field integrates seamlessly with Taskwarrior's native project support and follows the same UI patterns as other editable fields in the application. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28fix: resolve test failures and improve code qualityPaul Buetow
- Fix file handle leak in SetDebugLog by tracking and closing previous files - Add stderr capture to all taskwarrior commands for better error messages - Fix timezone issues in date handling tests by normalizing to UTC - Change Update method to pointer receiver for consistency - Update all test type assertions to handle pointer receivers correctly - Remove unused imports and variables All tests now pass successfully. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27fix unit testPaul Buetow
2025-06-27Fix multiple bugs and improve error handlingPaul Buetow
- Fix file handle leak in SetDebugLog by properly closing previous debug files - Capture and display stderr from all taskwarrior commands for better error messages - Handle browser launch errors with status bar notifications - Add validation for task IDs to prevent negative/zero IDs - Add mutual exclusion for editing modes to prevent UI state conflicts - Add bounds checking for array access in expandedCellView - Cache compiled regular expressions for search performance - Add CLAUDE.md file with project documentation for AI assistance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22Clean up unused RunArgs commentsPaul Bütow
2025-06-22Add generic task command hotkeyPaul Bütow
2025-06-22Fix add task hotkeyPaul Bütow
2025-06-21Add in-table editing shortcutsPaul Bütow
2025-06-21Add dynamic column widths and overdue sortingPaul Bütow
2025-06-20Space separated tags and table column spacingPaul Bütow
2025-06-20sort: prioritize started tasksPaul Bütow
2025-06-20Fix undo for completed tasksPaul Bütow
2025-06-20Change task sorting to prioritize priorityPaul Bütow
2025-06-20Merge pull request #31 from ↵Paul Bütow
snonux/codex/sort-tasks-by-due-date,-priority,-tag,-and-id Implement task sorting by due date and priority
2025-06-20Add task sortingPaul Bütow
2025-06-20Add done and delete hotkeysPaul Bütow
2025-06-20fix annotation replacementPaul Bütow
2025-06-20Add A hotkey to replace annotationsPaul Bütow
2025-06-20Add annotate hotkeyPaul Bütow
2025-06-20Add debug logging and fix edit for started tasksPaul Bütow
2025-06-20feat: color started tasks and add start/stop hotkeysPaul Bütow
2025-06-20Fix editor invocation and table alignmentPaul Bütow
2025-06-20Add external editor supportPaul Bütow
2025-06-20Add cell navigation, editor hotkey, stats and filterPaul Bütow
2025-06-20Add task manipulation helpers and testsPaul Bütow
2025-06-19Add table-based UI and extend task fieldsPaul Bütow
2025-06-19Add Taskwarrior CLI testsPaul Bütow