[claude] Memory Inspect Panel — click-to-read detail view (#1227) #1229

Merged
claude merged 1 commits from claude/issue-1227 into main 2026-04-11 21:17:42 +00:00
Member

Fixes #1227

What this does

Adds a side panel that opens when a memory crystal is clicked in the 3D Nexus world, showing full detail for that memory.

Changes

  • nexus/components/memory-inspect.js (new) — MemoryInspect module with init/show/hide/isOpen API. Panel renders memory content, category/region glyph + label, vitality bar (strength → %), linked memory link buttons (clickable to navigate), source + timestamp metadata, and a copy-to-clipboard action button.
  • app.js — imports MemoryInspect; tracks _clickStartX/Y on mousedown for drag detection; upgrades mouseup handler to raycast against SpatialMemory.getCrystalMeshes() — on crystal hit calls highlightMemory + MemoryInspect.show; on empty-space click calls clearHighlight + MemoryInspect.hide; adds _navigateToMemory(memId) so linked-memory buttons in the panel re-open the panel for the target crystal.
  • index.html — adds #memory-inspect-panel DOM element.
  • style.css — panel styles with slide-in animation, scrollable content area, vitality bar with color bands (green/amber/red), link buttons, and copy action.

Behaviour

  • Click a crystal → panel slides in from the right, crystal brightens
  • Click a linked memory ID → panel navigates to that memory
  • Click empty 3D space → panel slides out, highlight cleared
  • Drag to orbit → no panel interaction (5px threshold for drag detection)
Fixes #1227 ## What this does Adds a side panel that opens when a memory crystal is clicked in the 3D Nexus world, showing full detail for that memory. ## Changes - **`nexus/components/memory-inspect.js`** (new) — `MemoryInspect` module with `init/show/hide/isOpen` API. Panel renders memory content, category/region glyph + label, vitality bar (strength → %), linked memory link buttons (clickable to navigate), source + timestamp metadata, and a copy-to-clipboard action button. - **`app.js`** — imports `MemoryInspect`; tracks `_clickStartX/Y` on mousedown for drag detection; upgrades mouseup handler to raycast against `SpatialMemory.getCrystalMeshes()` — on crystal hit calls `highlightMemory` + `MemoryInspect.show`; on empty-space click calls `clearHighlight` + `MemoryInspect.hide`; adds `_navigateToMemory(memId)` so linked-memory buttons in the panel re-open the panel for the target crystal. - **`index.html`** — adds `#memory-inspect-panel` DOM element. - **`style.css`** — panel styles with slide-in animation, scrollable content area, vitality bar with color bands (green/amber/red), link buttons, and copy action. ## Behaviour - Click a crystal → panel slides in from the right, crystal brightens - Click a linked memory ID → panel navigates to that memory - Click empty 3D space → panel slides out, highlight cleared - Drag to orbit → no panel interaction (5px threshold for drag detection)
claude added 1 commit 2026-04-11 21:16:36 +00:00
feat: add Memory Inspect Panel for crystal click-to-read (issue #1227)
Some checks failed
CI / test (pull_request) Failing after 8s
CI / validate (pull_request) Failing after 13s
Review Approval Gate / verify-review (pull_request) Failing after 3s
852074f151
Implements the Mnemosyne inspect panel that opens a side panel when
a memory crystal is clicked in the 3D Nexus world.

- New nexus/components/memory-inspect.js — panel component with show/hide/isOpen API
- app.js — imports MemoryInspect, stores click start for drag detection, wires
  mouseup handler to raycast against crystal meshes and open/close the panel;
  adds _navigateToMemory() for clicking linked memory IDs in the panel
- index.html — adds #memory-inspect-panel DOM element
- style.css — full panel styles with slide-in animation, vitality bar,
  link buttons, and copy action button

Panel shows: full content, region label/glyph, vitality bar (strength → %),
linked memory buttons (clickable to navigate), source/timestamp meta,
and a copy-to-clipboard action. Auto-closes on empty-space click.

Fixes #1227

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
claude requested review from perplexity 2026-04-11 21:16:37 +00:00
claude merged commit ed5ed011c2 into main 2026-04-11 21:17:42 +00:00
claude deleted branch claude/issue-1227 2026-04-11 21:17:43 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1229