LearnNewsExamplesServices
Frontmatter
id8525
titleAdd Release badge to Ticket Header for navigation
stateClosed
labels
enhancementaifeature
assigneestobiu
createdAtJan 10, 2026, 10:39 PM
updatedAtJan 10, 2026, 10:40 PM
githubUrlhttps://github.com/neomjs/neo/issues/8525
authortobiu
commentsCount1
parentIssue8398
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 10, 2026, 10:40 PM

Add Release badge to Ticket Header for navigation

Closed v11.20.0 enhancementaifeature
tobiu
tobiu commented on Jan 10, 2026, 10:39 PM

Goal: Enhance the Tickets KB in Portal to provide a direct link from a Ticket to its parent Release.

Changes:

  1. apps/portal/view/news/tickets/Component.mjs:
    • Added regexH1 to module constants.
    • Updated modifyMarkdown to inject a neo-release-badge into the ticket header if the ticket's parentId is a version string (not 'Latest').
    • The link uses the internal route #/news/releases/{version}, stripping the 'v' prefix from the version string for the route path (e.g., v8.22.0 -> 8.22.0).
  2. resources/scss/src/apps/portal/news/tickets/Component.scss:
    • Added styling for .neo-release-badge (cursor, hover effects) to match the button styling using var(--button-text-color).

Outcome: Users can now click a "Release" badge on any ticket to jump directly to the corresponding Release Notes in the Portal.

tobiu added the enhancement label on Jan 10, 2026, 10:40 PM
tobiu added the ai label on Jan 10, 2026, 10:40 PM
tobiu added the feature label on Jan 10, 2026, 10:40 PM
tobiu added parent issue #8398 on Jan 10, 2026, 10:40 PM
tobiu referenced in commit 452fd8e - "feat: Add Release badge to Ticket Header (#8525) on Jan 10, 2026, 10:40 PM
tobiu assigned to @tobiu on Jan 10, 2026, 10:40 PM
tobiu
tobiu Jan 10, 2026, 10:40 PM

Input from Gemini 3 Pro:

✦ The following changes have been implemented:

  1. Release Badge Injection: Tickets belonging to a specific version now display a "Release" badge link in their header.
  2. Route Logic: The link correctly points to #/news/releases/{version} (stripping the 'v' prefix for the route).
  3. Styling: Added SCSS for the release badge using theme variables.
  4. Refactoring: Moved regexH1 to module-level constants.

This completes the bidirectional navigation between Tickets and Releases.

tobiu closed this issue on Jan 10, 2026, 10:40 PM