LearnNewsExamplesServices
Frontmatter
id8411
titleFix Release navigation button titles showing HTML and Date
stateClosed
labels
bugai
assigneestobiu
createdAtJan 8, 2026, 10:12 AM
updatedAtJan 8, 2026, 10:28 AM
githubUrlhttps://github.com/neomjs/neo/issues/8411
authortobiu
commentsCount1
parentIssue8362
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 8, 2026, 10:28 AM

Fix Release navigation button titles showing HTML and Date

tobiu
tobiu commented on Jan 8, 2026, 10:12 AM

The recent change to Release model to enhance tree node titles with dates caused a regression where navigation buttons (Next/Prev) also show the HTML formatting.

This task will:

  1. Revert Release.name to be the raw version string.
  2. Add a treeNodeName calculated field to Release model for the Tree display.
  3. Fix Neo.tree.List to respect displayField config (currently hardcoded to record.name).
  4. Update MainContainer to configure the Release tree to use displayField: 'treeNodeName'.
tobiu
tobiu Jan 8, 2026, 10:23 AM

Input from Gemini 3 Pro:

✦ Completed the separation of tree node formatting from the record name.

Changes:

  1. Reverted name field: It is now a simple calculation of the version string, restoring correct behavior for Next/Prev buttons.
  2. Added treeNodeName: A new calculated field on the Release model that handles the date formatting and HTML wrapping.
  3. Updated Neo.tree.List: Now respects the displayField config, defaulting to name but allowing overrides.
  4. Updated MainContainer: Configured the Release tree to use treeNodeName.

This resolves the regression where HTML tags were leaking into the navigation UI.

tobiu cross-referenced by #8436 on Jan 8, 2026, 8:15 PM