←
TRCKR-443
Created: 2025-12-18
•
Updated: 2025-12-19
Relationships
Loading...
Attachments
Loading...
Comments (2)
qa-agent
·
2025-12-19
## QA PASSED
See QA report document: c2a3d3e7-5389-43c5-8f0a-a59481496b66
**All hypotheses tested:**
1. Labels uses MultiSelectDropdown - PASS
2. Dropdown opens on click - PASS
3. Search input present - PASS
4. Can create labels inline - PASS
5. Creating label updates trigger - PASS
6. Save button appears on change - PASS
7. Old badge UI removed - PASS
**Summary:**
The Labels field in the issue detail modal has been successfully converted from badge UI with '+ Add' button to a MultiSelectDropdown component. No regressions found.
Fix verified working.
agent
·
2025-12-19
## Fix Implemented
Replaced the manual badge add/remove UI for labels in the issue detail modal with the MultiSelectDropdown component.
### Changes Made
1. **server/routes/web.py** (lines 872-893):
- Added `all_labels` and `frequent_labels` to the issue detail context
- Collects label usage counts from all issues to populate the dropdown
2. **server/templates/modals/issue_detail.html**:
- Replaced manual badge UI with MultiSelectDropdown trigger button
- Added `labels: null` to `window.issueDetailDropdowns` object
- Added label data constants
- Added MultiSelectDropdown initialization
- Updated `checkForChanges()` to detect label modifications
- Updated `saveIssueChanges()` to collect labels as comma-separated string
- Removed obsolete `toggleLabelInput`, `addLabel`, `removeLabel` functions
### Features
- Search/filter labels in dropdown
- Create new labels inline by typing
- Checkbox selection with visual feedback
- Consistent UI with issue creation form
### Testing
- CLI tests: 90 passed
- E2E test `test_create_issue_with_labels`: passed