Repository navigation
feat(hq): 3D office tab — WebGL (three.js) floors per project, desks per room (v0.110.43) - #185
Merged
Merged
Conversation
…per room (v0.110.43) Owner 2026-10-22: "ui ux … 3d nhanh nhẹ đẹp"; decision 2026-10-22: WebGL in the current HQ first. three.js loads only when the tab opens; no shadows or post-processing, low-power GPU, loop only while visible, reduced motion honoured; the footer prints rooms, draw calls and ms per frame. Pure layout in lib/office-3d.ts with tests. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See CHANGELOG [0.110.43]. New "3D" tab in HQ: one floor per project, one desk + avatar per room, colour = state (needs breathes, working nods, idle grey), hover tooltip, click opens the room, sidebar repo filter honoured. three.js (MIT) is a dynamic import so other tabs pay nothing; no shadows/post-processing,
powerPreference: low-power, render loop only while the tab is visible,prefers-reduced-motionstops motion. Footer shows measured rooms / draw calls / ms per frame.Not verified: chunk size after tree-shaking (CI package-hq-ui builds it; whole library ≤ 417 KB gzip), browser RAM (no token in this session).
Tests: hq-ui tsc + eslint clean, office-3d 2/2, know 2/2. Gates: /sec OK (pnpm audit: 1 high
bracesvia shadcn CLI, pre-existing) · /rules ALLOWED · /aup-audit OK ·8sync ccc risk --releasemedium.🤖 Generated with Claude Code