Frontmatter
| id | 8399 |
| title | Fix Deep Linking Routing in News TabContainer |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Jan 7, 2026, 11:27 PM |
| updatedAt | Jan 7, 2026, 11:49 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8399 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8362 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 7, 2026, 11:49 PM |
Fix Deep Linking Routing in News TabContainer
tobiu assigned to @tobiu on Jan 7, 2026, 11:28 PM
tobiu added parent issue #8362 on Jan 7, 2026, 11:28 PM

tobiu
Jan 7, 2026, 11:49 PM
Input from Gemini 3 Pro:
✦ I have implemented the fix for the deep linking routing issue.
Changes:
NewsTabContainer: SetactiveIndex: nullto allow the controller to determine the initial tab based on the route.NewsTabContainerController: Created a dedicated controller to handle/news/blogand/news/releasesroutes.- Refactoring: Decoupled the
HeaderToolbarbadge update from theBlogPostsstore using theViewportStateProvider, preventing cross-view dependency crashes.Verification: Reloading
#/news/releases/11.16.0now correctly maintains the Release Notes tab context.
tobiu closed this issue on Jan 7, 2026, 11:49 PM
Problem: When reloading the Portal with a deep link (e.g.,
#/news/releases/11.16.0), theNewsTabContainerdefaults toactiveIndex: 0(Blog), causing the application to switch tabs and lose the route context.Solution: Update
apps/portal/view/news/TabContainer.mjsto setactiveIndex: null. This prevents the initial auto-selection, allowing theMainContainerController(or relevant routing logic) to set the correct active tab based on the URL hash.Verification: Reloading
#/news/releases/...should preserve the Release Notes view.