[claude] Floating bookshelves with spine labels of merged PRs (#264) #335
Reference in New Issue
Block a user
Delete Branch "claude/issue-264"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #264
What this does
Adds two floating bookshelves to the Nexus 3D scene, each holding a row of standing books whose spines display merged PR numbers and titles.
Implementation
createSpineTexture(prNum, title, bgColor)— renders a canvas texture with PR number in accent blue and title rotated 90° (spine convention)buildBookshelf(books, position, rotationY)— builds a THREE.Group with shelf plank, end panels, accent glow strip, and individual book meshes using 6-face material arrays (spine texture on the +Z face)initBookshelves()— fetches up to 20 merged PRs from the Gitea API, strips[claude]prefixes and(#N)suffixes for cleaner labels, splits across two shelves-8.5, 1.5, -4.5) and right-back (8.5, 1.5, -4.5) with a gentle sinusoidal bobuserData.zoomLabelfor the existing zoom-on-click system