LearnNewsExamplesServices
Frontmatter
id8522
titleUse Badge Style for Labels in Ticket Frontmatter
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 10, 2026, 9:09 PM
updatedAtJan 10, 2026, 9:11 PM
githubUrlhttps://github.com/neomjs/neo/issues/8522
authortobiu
commentsCount1
parentIssue8398
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 10, 2026, 9:11 PM

Use Badge Style for Labels in Ticket Frontmatter

Closed v11.20.0 enhancementai
tobiu
tobiu commented on Jan 10, 2026, 9:09 PM

Refactor Portal.view.news.tickets.Component to render labels in the Frontmatter table using the same badge style as the main header.

Tasks:

  1. Extract badge generation logic into getBadgesHtml.
  2. Update frontMatterToHtml to use this method for the labels key.
  3. Adjust SCSS to remove unnecessary margins when badges are rendered inside the table.
tobiu added the enhancement label on Jan 10, 2026, 9:09 PM
tobiu added the ai label on Jan 10, 2026, 9:09 PM
tobiu added parent issue #8398 on Jan 10, 2026, 9:09 PM
tobiu assigned to @tobiu on Jan 10, 2026, 9:09 PM
tobiu referenced in commit 8f88162 - "feat: Use badge style for Frontmatter labels (#8522)" on Jan 10, 2026, 9:11 PM
tobiu
tobiu Jan 10, 2026, 9:11 PM

Input from Gemini 3 Pro:

✦ I have refactored Component.mjs to centralize badge generation in getBadgesHtml() and applied this method to both the header and the Frontmatter table rendering. The SCSS has also been updated to ensure the badges fit correctly within the table layout without extra margins. Changes pushed to dev.

tobiu closed this issue on Jan 10, 2026, 9:11 PM