supermemory/apps
abhay-codes07 34b0b3db59
fix(web): keep highlights card active index in range on refresh
The Daily Brief refreshes on its own every few hours, replacing the items
array, and the paging controls also let the user sit on a later index. When a
refresh returns fewer highlights than before, activeIndex was left pointing
past the end of the new list, so currentItem became undefined and the card
rendered the "Add some documents" empty state even though highlights existed,
with no pagination shown to recover from it.

Clamp activeIndex back into range whenever items changes, alongside the
existing reply/expansion reset. Also drops a now-unnecessary
useExhaustiveDependencies suppression, since the effect body now reads
items.length so items is a real dependency.
2026-07-22 16:56:55 +05:30
..
browser-extension feat(extension): Add support across gemini & claude, live tool tip, auto complete support (#971) 2026-07-21 13:12:20 -07:00
docs fix(docs): prefix raw internal href/src literals with /docs (#1333) 2026-07-22 00:40:16 -07:00
mcp docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
memory-graph-playground fix(deps): bump next to 16.0.7 in memory-graph-playground (critical CVE) (#1082) 2026-06-16 21:10:32 -07:00
raycast-extension feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
web fix(web): keep highlights card active index in range on refresh 2026-07-22 16:56:55 +05:30