supermemory/apps/web
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
..
app docs(brain): note trial attach after Slack OAuth (#1313) 2026-07-21 21:34:25 +00:00
components fix(web): keep highlights card active index in range on refresh 2026-07-22 16:56:55 +05:30
hooks docs(brain): note trial attach after Slack OAuth (#1313) 2026-07-21 21:34:25 +00:00
lib docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
public add weekly digests, log, and opt out options (#1107) 2026-06-18 01:06:40 +00:00
stores feat(web): company brain entitlement helper, hook + ?org deep-link activation (#1110) 2026-06-22 17:54:13 +00:00
.env.example feat: deep-research on user profile and tiptap integration (#672) 2026-01-15 21:53:53 +00:00
.gitignore sentry sourcemaps 2025-08-23 09:55:40 -07:00
biome.json feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
components.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
globals.css Grok 4.3, web sources UX, and mobile polish (#1064) 2026-06-08 12:34:15 +05:30
instrumentation-client.ts feat: warning when model is unavailable in the region (#814) 2026-03-28 05:52:41 +00:00
middleware.ts fix(web): bypass auth proxy for local dev (#1213) 2026-07-10 20:11:48 -07:00
next.config.ts Rewrite @supermemory/memory-graph with perf optimizations + consolidate consumers (#809) 2026-03-28 19:06:27 -07:00
open-next.config.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
package.json chore(web): remove unused @lobbyside/react integration (#1156) 2026-06-23 10:00:59 -07:00
postcss.config.mjs feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
README.md New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
tsconfig.json fix 2026-02-09 22:07:09 -08:00
wrangler.jsonc feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00

supermemory Consumer