←
TRCKR-48
Created: 2025-12-08
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (7)
agent
·
2025-12-08
Comprehensive status terminology changes implemented successfully.
## Changes Made
### 1. Core Status Values (trckr.py:78, 80)
- Updated IssueStatus from ['draft', 'ready', 'active', 'review'] to ['triage', 'todo', 'in-progress', 'in-review']
- Updated ProjectStatus from ['draft'] to ['triage'] (active remains as-is for projects)
- Made CLI case-insensitive so users can type either 'todo' or 'ToDo'
- Updated default status from 'ready' to 'todo' (line 382)
### 2. TUI Display Names (tui.py:198-214)
- Created STATUS_DISPLAY mapping: triage→Triage, todo→ToDo, in-progress→In Progress, in-review→In Review
- Created PROJECT_STATUS_DISPLAY mapping: triage→Triage (active stays Active)
- Updated _colorize_issue_status() (line 5079) to use get_status_display() for display names
- Updated _colorize_project_status() (line 5092) to use get_project_status_display()
### 3. TUI Status Options Updated
- IssueEditScreen RadioSet (line 1348): Updated status list and now shows display names
- ProjectEditScreen RadioSet (line 1677): Updated with new triage status
- IssueDetailScreen._edit_status() (line 684): Updated QuickEditScreen options with new hotkeys:
- g=Triage, t=ToDo, p=In Progress, b=Blocked, r=In Review, d=Done, e=Archived
- QuickEditScreen in main app (line 5586): Updated issue status quick-edit options
- QuickEditScreen for projects (line 5688): Updated project status options
- AddCommentScreen (line 3745): Updated issue status transition dropdown
- Settings screen (line 4576): Updated default status options
### 4. Default Values Updated
- Settings defaults (line 173, 4787): Changed default_status from 'ready' to 'todo'
- IssueEditScreen defaults (line 1111, 1311): Updated from 'ready'/'draft' to 'todo'/'triage'
- Project defaults (line 920, 973, 1676): Updated from 'draft' to 'triage'
### 5. Test Files Updated
- conftest.py: Updated create_issue() default from 'ready' to 'todo', create_project() from 'draft' to 'triage'
- All test files: Updated 146 references across 16 files
- Fixed project tests to use 'active' (not 'in-progress') since active is valid for projects
- Fixed TUI test hotkey from 'o' to 'd' for Done status
## Verification
- All 794 tests passing
- 79% code coverage maintained
- Installed and verified CLI accepts both stub and display forms
- TUI displays capitalized versions throughout (DataTables, detail screens, edit screens)
## Key Implementation Details
- RadioButton IDs store the stub value (e.g., id='in-progress')
- RadioButton labels show the display name (e.g., 'In Progress')
- IssueEditScreen now uses button.id instead of button.label when saving (line 1412)
- This ensures stubs are stored in JSON but display names shown in UI
joe
·
2025-12-08
none of these are done
joe
·
2025-12-08
We reverted this to the older style, re-implement this naming change
joe
·
2025-12-08
Stub versions still in the issues datatable status column
joe
·
2025-12-08
The stub versions are still being shown in the TUI
joe
·
2025-12-08
I still see a bunch of old statuses in the existing json that should be updated from "ready" to "todo"
joe
·
2025-12-08
I still see the old statuses in many places in the tui. do a comprehensive search to find and root them out. Also, ensure that the Capitalized "UI Version" is displayed instead of the stub in the UI.