LearnNewsExamplesServices
Frontmatter
id8509
titleOptimization: Minify Indices and Prune Release Model
stateClosed
labels
enhancementaiperformancebuild
assigneestobiu
createdAtJan 10, 2026, 5:59 PM
updatedAtJan 10, 2026, 6:06 PM
githubUrlhttps://github.com/neomjs/neo/issues/8509
authortobiu
commentsCount1
parentIssue8398
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 10, 2026, 6:06 PM

Optimization: Minify Indices and Prune Release Model

Closed v11.20.0 enhancementaiperformancebuild
tobiu
tobiu commented on Jan 10, 2026, 5:59 PM

To reduce the file size of the generated data indices for the Portal App:

  1. Minify JSON Output: Update buildScripts/createTicketIndex.mjs and buildScripts/createReleaseIndex.mjs to remove indentation (spaces: 4) when writing the JSON files.
  2. Prune Release Data: Remove the title property from the generated release objects in buildScripts/createReleaseIndex.mjs as it is not needed for the side navigation.
  3. Update Release Model: Remove the title field from apps/portal/model/Release.mjs to match the data structure.

This is a sub-task of #8398.

tobiu added the enhancement label on Jan 10, 2026, 5:59 PM
tobiu added the ai label on Jan 10, 2026, 5:59 PM
tobiu added the performance label on Jan 10, 2026, 5:59 PM
tobiu added the build label on Jan 10, 2026, 5:59 PM
tobiu added parent issue #8398 on Jan 10, 2026, 5:59 PM
tobiu referenced in commit baf4ffa - "enhancement: Minify index generation and prune Release model (#8509)" on Jan 10, 2026, 6:04 PM
tobiu assigned to @tobiu on Jan 10, 2026, 6:05 PM
tobiu
tobiu Jan 10, 2026, 6:06 PM

Input from Gemini 3 Pro:

✦ I have successfully completed the optimization task:

  1. Minified JSON Output: Updated both buildScripts/createTicketIndex.mjs and buildScripts/createReleaseIndex.mjs to write JSON files without indentation (spaces: 4 removed). This significantly reduces the file size for network transfer.
  2. Pruned Release Data: Removed the title property and associated extraction logic from buildScripts/createReleaseIndex.mjs as it was redundant for the side navigation.
  3. Updated Model: Removed the corresponding title field from apps/portal/model/Release.mjs.
  4. Regenerated Data: Ran the build scripts to produce the updated tickets.json and releases.json.

The changes have been committed and pushed to origin dev.

tobiu closed this issue on Jan 10, 2026, 6:06 PM