Frontmatter
| id | 8686 |
| title | Update Ticket View Default Route to First Release Item |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 15, 2026, 1:26 PM |
| updatedAt | Jan 15, 2026, 1:32 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8686 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 15, 2026, 1:32 PM |
Update Ticket View Default Route to First Release Item
tobiu assigned to @tobiu on Jan 15, 2026, 1:31 PM

tobiu
Jan 15, 2026, 1:31 PM
Input from Gemini 3 Pro:
✦ I have updated
apps/portal/view/news/tickets/MainContainerController.mjsto implement the new default routing logic.Changes:
- Introduced
getDefaultRouteId()helper method.- The method iterates the tree store to find the second root node (which corresponds to the first Release folder, as "Backlog" is the first root).
- It returns the ID of the record immediately following this second root node (i.e., the first ticket in that release).
- Updated
onRouteDefaultto use this helper for both immediate navigation and the store load listener.This ensures that when users land on the Tickets view without a specific ID, they are taken to the most relevant recent content (the latest release) rather than the Backlog.
tobiu closed this issue on Jan 15, 2026, 1:32 PM
Goal: Change the default routing behavior in
Portal.view.news.tickets.MainContainerController.Current Behavior:
onRouteDefaultselects the item at index 1, which corresponds to the first item in the "Backlog" folder.Desired Behavior: Select the first item inside the first release folder. The logic should be:
parentId: null(this assumes the order is [Backlog, Release 1, Release 2...]).Task:
onRouteDefaultinapps/portal/view/news/tickets/MainContainerController.mjs.