Frontmatter
| id | 8534 |
| title | Portal Ticket Timeline: Render Labels as Badges |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 11, 2026, 2:04 AM |
| updatedAt | Jan 11, 2026, 2:12 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8534 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8398 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 11, 2026, 2:12 AM |
Portal Ticket Timeline: Render Labels as Badges
tobiu assigned to @tobiu on Jan 11, 2026, 2:11 AM

tobiu
Jan 11, 2026, 2:11 AM
Input from Gemini 3 Pro:
✦ I have implemented the label badges in the timeline and refactored the event icon logic.
- Labels in "added/removed" events now render as colored badges.
- Refactored the if/else event detection logic to use a cleaner array-based lookup (Map-like approach).
- Reused the
getLabelBadgeHtmlhelper for consistency.
tobiu closed this issue on Jan 11, 2026, 2:12 AM
tobiu added parent issue #8398 on Jan 11, 2026, 2:13 AM
Enhance the ticket timeline rendering to display GitHub labels as colored badges instead of plain code blocks.
Current Behavior: Timeline events like "added the
buglabel" render the label name as a generic<code>bug</code>block.Desired Behavior: Detect label-related events and render the label using the standard
<span class="neo-badge">component, applying the correct background and text color from thelabelsstore. This improves visual scanning and consistency with the ticket header.Implementation Details:
Portal.view.news.tickets.Component->renderTimeline.labelsstore.