supermemory/packages/ui
rajashidattapy f0baf904ff fix(web): clear the 84 type errors blocking check-types
`apps/web` extends a tsconfig with `noUncheckedIndexedAccess`, so index
access and a few genuine defects had accumulated behind a gate that has
never been green.

Most of it traced to one expression: `useProject().selectedProject` was
`normalizedProjects[0]`, typed `string | undefined` even though the array is
never empty. Defaulting it to the same tag the array falls back to fixed ~20
errors across chat, add-document, app-experience, quick-note-card and the
note modals in one line.

The rest:

- orbit-memory: type `ring` as `0 | 1` and RR/SPEED as tuples so ring lookups
  stay `number`, iterate INTEG with `.entries()`, guard the comet refs, and
  fall back to an empty icon when a node has no key
- memory-graph `use-graph-data` and `graph-card`: iterate with `.entries()`
  and skip edges whose endpoints are missing instead of indexing blind
- chat history buckets and user initials: optional access on fixed-shape
  arrays that TypeScript cannot narrow
- `stores/chat`: drop the `msgA.content !== msgB.content` comparison —
  UIMessage keeps its text in `parts`, so both sides were always undefined —
  and type the conversations fallback so entries aren't `unknown`
- `useResetOrganization`: `retry: 0`, since the object form of RetryOptions
  needs type/baseDelay/maxDelay
- SyncLogoIcon: accept the `style` prop timeline-view already passes it

One real bug surfaced on the way: the iOS-shortcut mutation in settings
returned `res.key` from `authClient.apiKey.create()`, which resolves to
`{ data, error }`. The key was always undefined, so the modal showed nothing
and the clipboard copy had nothing to copy. It now unwraps the result the same
way the Raycast mutation right below it does.
2026-08-20 00:42:51 +05:30
..
assets fix(web): clear the 84 type errors blocking check-types 2026-08-20 00:42:51 +05:30
button mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
components feat(web): add API Keys management in settings (#1426) 2026-08-07 12:44:40 -07:00
input mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
other mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
text mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
biome.json chore: theme default fix (#929) 2026-05-13 14:17:51 +00:00
components.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
copy-button.tsx mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
copyable-cell.tsx mobile responsiveness pass + connections reauth fix (#959) 2026-05-17 21:49:23 +00:00
globals.css Ensure mobile inputs use 16px font (#950) 2026-05-16 20:30:55 -07:00
package.json fix: add type checks for TypeScript workspaces (#1447) 2026-08-13 17:55:50 +05:30
tsconfig.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00