Commit 01de83f
CheFu Inc
refactor: remove legacy email types and schemas; introduce new flow console components and utilities
- Deleted outdated types related to email handling from `src/components/flow/types.ts`, `src/lib/email-schema.ts`, and `src/lib/email-templates.ts`.
- Added new components for the flow console, including `ContactHoverCard.tsx` for displaying contact information and actions.
- Introduced utility functions in `compose.ts`, `constants.ts`, `format.ts`, `http.ts`, `mail.ts`, `reader.ts`, `sse.ts`, and `types.ts` to support the new flow console features.
- Implemented message rendering and sanitization logic to ensure safe HTML output in the reader.
- Established a new structure for managing mail messages, threads, and reactions in the flow console.1 parent d677b53 commit 01de83f
35 files changed
Lines changed: 1204 additions & 7236 deletions
File tree
- public
- src
- app
- styles
- components
- flow-console
- flow
- lib
- flow-console
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
0 commit comments