Frontmatter
| id | 8688 |
| title | Fix: Correct Default Expansion Logic (Revert Release, Apply to Ticket Index) |
| state | Closed |
| labels | bugaibuild |
| assignees | tobiu |
| createdAt | Jan 15, 2026, 1:39 PM |
| updatedAt | Jan 15, 2026, 1:46 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8688 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 15, 2026, 1:46 PM |
Fix: Correct Default Expansion Logic (Revert Release, Apply to Ticket Index)
tobiu assigned to @tobiu on Jan 15, 2026, 1:43 PM

tobiu
Jan 15, 2026, 1:46 PM
Input from Gemini 3 Pro:
✦ I have corrected the default expansion logic in the build scripts.
Changes:
- Reverted
buildScripts/createReleaseIndex.mjs: The Release Notes tree now correctly expands the first major version group (index 0) by default.- Updated
buildScripts/createTicketIndex.mjs: The Ticket tree now expands the second group (index 1, the latest release) by default, keeping the "Backlog" (index 0) collapsed.- Data Regeneration: Both
releases.jsonandtickets.jsonhave been updated with the correctcollapsedstates.This ensures the user experience is intuitive: Release Notes show the latest version immediately, while Tickets hide the Backlog to focus on the active release work.
tobiu closed this issue on Jan 15, 2026, 1:46 PM
Goal: Correct the default expansion logic in the build scripts.
Correction: The previous change to
buildScripts/createReleaseIndex.mjswas incorrect; the intention was to apply this logic to the Ticket Index (buildScripts/createTicketIndex.mjs) because the first group in Tickets is "Backlog" (which should be collapsed), whereas the first group in Releases is the latest version (which should likely be expanded, or maybe the user wants Releases to stay as is).Tasks:
buildScripts/createReleaseIndex.mjs: Set expansion back toindex === 0.buildScripts/createTicketIndex.mjs: Change expansion logic to expandindex === 1(the first real release) and collapseindex === 0("Backlog").