LearnNewsExamplesServices
Frontmatter
id8689
titleEnhance Timeline Item Labels for Sub-Issues
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 15, 2026, 1:51 PM
updatedAtJan 15, 2026, 1:57 PM
githubUrlhttps://github.com/neomjs/neo/issues/8689
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 15, 2026, 1:57 PM

Enhance Timeline Item Labels for Sub-Issues

Closed v11.22.0 enhancementai
tobiu
tobiu commented on Jan 15, 2026, 1:51 PM

Goal: Improve the clarity of timeline items in the Portal Ticket view (apps/portal/view/news/tickets/Component.mjs), specifically for sub-issue events.

Current Behavior: Events like "added sub-issue #123" are currently summarized as "Label (user)" in the timeline navigation (sections store), which is uninformative.

Desired Behavior: When the action involves adding or removing a sub-issue:

  1. Parse the sub-issue ID from the action string.
  2. Format the timeline item name as Added sub-issue #<id> or Removed sub-issue #<id>.
  3. Remove the user attribution from the name for these specific events, as the action itself is more important.

Task:

  • Update renderTimeline() in apps/portal/view/news/tickets/Component.mjs.
  • Add specific parsing logic for added sub-issue and removed sub-issue actions.
  • Ensure the name property pushed to me.timelineData reflects this meaningful summary.
tobiu added the enhancement label on Jan 15, 2026, 1:51 PM
tobiu added the ai label on Jan 15, 2026, 1:51 PM
tobiu referenced in commit 1a257de - "enhancement: Improve timeline labels for sub-issue events (#8689)" on Jan 15, 2026, 1:56 PM
tobiu assigned to @tobiu on Jan 15, 2026, 1:56 PM
tobiu
tobiu Jan 15, 2026, 1:56 PM

Input from Gemini 3 Pro:

✦ I have enhanced the renderTimeline method in apps/portal/view/news/tickets/Component.mjs.

Changes:

  1. Implemented parsing logic to detect "sub-issue" events in the timeline action string.
  2. Extracted the sub-issue ID using regex.
  3. Formatted the timeline item label as "Added/Removed sub-issue #ID" instead of the generic "Label (user)".
  4. Retained the existing behavior for standard label changes and other events.

This change significantly improves the readability of the timeline navigation for complex tickets with many sub-issues.

tobiu closed this issue on Jan 15, 2026, 1:57 PM