Repository navigation
feat(web): add memory detail modal showing full content (#56) - #63
Conversation
The /home list and search results render each memory with a
truncate class, so long content was clipped with no way to read it
in full.
Add GET /home/memory/{id} returning an HTMX modal fragment with the
complete content in a scrollable, wrap-safe region plus created_at /
updated_at and metadata badges. List rows and search result rows are
now clickable (hx-get into a #memory-detail-target container) to open
the modal.
Regression test seeds a 20KB-content memory and asserts the detail
endpoint returns the full untruncated content and metadata.
|
Review of PR #63 at 🔴 BlockingNone. CI: build pending / clippy / test pending at review time (fmt pass). Logic review is source-based (PR description + diff sufficient); will re-check CI on re-review. 🟡 Warning #1 — inline
|
The /home list and search results render each memory with a truncate class, so long content was clipped with no way to read it in full.
Add GET /home/memory/{id} returning an HTMX modal fragment with the complete content in a scrollable, wrap-safe region plus created_at / updated_at and metadata badges. List rows and search result rows are now clickable (hx-get into a #memory-detail-target container) to open the modal.
Regression test seeds a 20KB-content memory and asserts the detail endpoint returns the full untruncated content and metadata.