Frontmatter
| id | 8461 |
| title | Fix Portal Release buttons missing text due to missing name field |
| state | Closed |
| labels | airefactoring |
| assignees | tobiu |
| createdAt | Jan 9, 2026, 12:37 PM |
| updatedAt | Jan 9, 2026, 12:48 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8461 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 9, 2026, 12:48 PM |
Fix Portal Release buttons missing text due to missing name field
tobiu assigned to @tobiu on Jan 9, 2026, 12:48 PM

tobiu
Jan 9, 2026, 12:48 PM
Input from tobiu:
◆ Refactoring complete.
Changes Implemented:
Portal.view.shared.content.PageContainer:
- Added
buttonTextFieldconfig (default:'name').- Updated
afterSetNextPageRecordandafterSetPreviousPageRecordto use dynamic field access.Portal.view.shared.content.Container:
- Added
buttonTextFieldconfig.- Passed it down to the
PageContaineritem inconstruct().Portal.view.news.release.MainContainer:
- Set
buttonTextField: 'id'to correctly display release versions (e.g., "11.19.0") instead ofundefined.Portal.view.news.release.MainContainerStateProvider:
- Cleaned up unused
nextPageTextandpreviousPageTextvariables.This restores the navigation button text for Release Notes while maintaining the correct behavior for other content types (like Guides) that rely on the default
namefield.
tobiu closed this issue on Jan 9, 2026, 12:48 PM
The Portal App's
PageContainer(shared view) currently hardcodes the propertynameto populate the text of the 'Previous' and 'Next' navigation buttons. However,Portal.model.Releasedoes not usename, but relies onidortitlefor identification, and we want to useidfor the button text in this context.Fix:
PageContainer: Introduce abuttonTextFieldconfig (defaulting to'name') to allow customizing which field is used for button text.Portal.view.shared.content.Container.Portal.view.news.release.MainContainer, setbuttonTextFieldto'id'.previousPageTextandnextPageTextvariables inPortal.view.news.release.MainContainerStateProvider.