Frontmatter
| id | 8698 |
| title | Update HomeCanvas JSDoc with Theming and Scaling architectures |
| state | Closed |
| labels | documentationai |
| assignees | tobiu |
| createdAt | Jan 16, 2026, 6:51 AM |
| updatedAt | Jan 16, 2026, 6:53 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8698 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 16, 2026, 6:53 AM |
Update HomeCanvas JSDoc with Theming and Scaling architectures
tobiu assigned to @tobiu on Jan 16, 2026, 6:52 AM

tobiu
Jan 16, 2026, 6:52 AM
Input from Gemini 3 Pro:
✦ I have updated the class-level documentation for
HomeCanvas.mjsto reflect the latest architectural enhancements.Updates:
- Responsive Architecture: Added a section explaining the "Reference Viewport" strategy (baseline: 1920x1080) and how the
scalefactor normalizes physics and visuals across devices.- Theme System: Added a section describing the
colorspalette and the hot-swapping capability via thethemeconfig.- Keywords: Enhanced the description with terms like "Reference Viewport", "Dynamic Scaling", and "Theme System" to improve knowledge base discoverability.
This ensures the documentation accurately describes why the canvas behaves as it does, fulfilling the Knowledge Base Enhancement Strategy.
tobiu closed this issue on Jan 16, 2026, 6:53 AM
The
apps/portal/canvas/HomeCanvas.mjsclass has recently undergone significant architectural updates:lightanddarkmodes via a staticcolorspalette.scalefactor based on a 1920x1080 baseline.The current JSDoc, while detailed regarding the Zero-Allocation architecture, does not yet describe these new systems.
Task: Update the class-level documentation to include:
themeconfig andcolorsmap work.scaleaffects physics and rendering.This aligns with the "Knowledge Base Enhancement Strategy" to ensure the code explains why it works the way it does.