supermemory/apps/web/components
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
..
memories added summary and memory details to memory detail view 2025-08-24 10:48:01 -07:00
views feat: migrate from react-markdown to streamdown (#394) 2025-08-29 19:45:47 +00:00
connect-ai-modal.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
create-project-dialog.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
glass-menu-effect.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
install-prompt.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
memory-list-view.tsx ui (memory detail): improved memory detail view and open chat 2025-08-23 00:38:57 -07:00
menu.tsx refactor(ui): optimize menu hover width and simplify text layout (#396) 2025-08-29 16:38:19 +00:00
project-selector.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
referral-upgrade-modal.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
spinner.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
text-shimmer.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
tour.tsx Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00