supermemory/apps/web
MaheshtheDev 5b7f9ceb44 feat: migrate from react-markdown to streamdown (#394)
| Before (react-markdown) | After (streamdown) |
| --- | --- |
| <img width="300" height="863" alt="Before: react-markdown rendering" src="https://github.com/user-attachments/assets/807d0d3c-8634-45f3-a34f-79dd8139bef2" /> | <img width="300" height="814" alt="After: streamdown rendering" src="https://github.com/user-attachments/assets/8a718a9c-d842-424b-8679-15036076b142" /> |

## Changes Made

- **Dependencies**: Removed `react-markdown` and `remark-gfm`, added `streamdown@^1.1.6`
- **Component Updates**:
    - Updated chat message rendering to use `<Streamdown>` component
    - Maintained all existing functionality for tool state rendering
    - Preserved prose styling classes for consistent appearance
- **Code Quality Improvements**:
    - Fixed TypeScript type issues with message parts
    - Improved switch case structure with proper default cases
    - Replaced array index-based keys with stable message-based keys
    - Added `useCallback` for performance optimization
    - Fixed biome linting issues and switch case fallthrough warnings
2025-08-29 19:45:47 +00:00
..
app Merge pull request #377 from supermemoryai/mahesh/update-memory-detail-view 2025-08-26 14:53:02 -07:00
components feat: migrate from react-markdown to streamdown (#394) 2025-08-29 19:45:47 +00:00
hooks Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
lib ui (memory detail): improved memory detail view and open chat 2025-08-23 00:38:57 -07:00
public added connections as well to integrations view 2025-08-25 12:15:19 -07:00
stores Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
.env.example New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
.gitignore sentry sourcemaps 2025-08-23 09:55:40 -07:00
biome.json feat: migrate from react-markdown to streamdown (#394) 2025-08-29 19:45:47 +00:00
button.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
components.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
globals.css fix: name in wrangler 2025-08-23 18:37:37 -07:00
instrumentation-client.ts feat: sentry integration (#376) 2025-08-21 19:46:41 +00:00
middleware.ts Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
next.config.ts feat: sentry integration (#376) 2025-08-21 19:46:41 +00:00
open-next.config.ts Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
package.json feat: migrate from react-markdown to streamdown (#394) 2025-08-29 19:45:47 +00:00
postcss.config.mjs Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
README.md New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
tsconfig.json fix: name in wrangler 2025-08-23 18:37:37 -07:00
wrangler.jsonc fix: name in wrangler 2025-08-23 18:37:37 -07:00

supermemory Consumer