Commit Graph

268 Commits

Author SHA1 Message Date
dayuan.jiang
a44918385a fix: Enable tool call streaming in chat API route 2025-04-04 01:41:42 +00:00
dayuan.jiang
2d042af02b fix: Disable tool call streaming in chat API route 2025-04-04 01:28:50 +00:00
dayuan.jiang
8f3c11e0e8 fix: Enhance chat message display with chart handling and import new SDKs 2025-04-04 01:26:16 +00:00
dayuan.jiang
9967ee85ac chore: update package-lock.json 2025-04-03 23:53:32 +00:00
dayuan.jiang
5060aa957a chore: Update package-lock.json with new SWC binaries for various platforms 2025-04-03 23:51:23 +00:00
dayuan.jiang
7124bf03e9 minor: add some placeholder 2025-04-03 15:31:13 +00:00
dayuan.jiang
d915318605 add github icon 2025-04-03 15:29:26 +00:00
dayuan.jiang
1e680640b8 feat: Add clipboard paste handling in ChatInput for image uploads 2025-04-03 15:18:14 +00:00
dayuan.jiang
645980fbb6 change model to claud 3.5 2025-04-03 15:10:53 +00:00
dayuan.jiang
bc7ef5c5d4 refactor: Move DiagramProvider to RootLayout for improved context management 2025-03-27 08:24:17 +00:00
dayuan.jiang
008bb9d486 refactor: Simplify Home component layout by integrating DiagramPageLayout functionality directly 2025-03-27 08:17:54 +00:00
dayuan.jiang
0a895fda1e minor: remove unused function 2025-03-27 08:13:26 +00:00
dayuan.jiang
6c8b5c48a2 refactor: Relocate handleClear Logic: Move the chat and diagram clearing logic to ChatPanel (or a Server Action) and have ChatInput call the onClearChat prop. Introduce a clearDiagram method in DiagramContext. 2025-03-27 08:09:22 +00:00
dayuan.jiang
7e0790d60f refactor: update setFiles prop type to accept File[] and simplify file handling 2025-03-27 08:02:03 +00:00
dayuan.jiang
34cc437523 refactor: Reduce Prop Drilling & Improve Separation of Concerns: 2025-03-27 07:48:19 +00:00
dayuan.jiang
13ace596d2 refactor: move extractDiagramXML function to utils and remove unused file 2025-03-27 06:45:38 +00:00
dayuan.jiang
f650f7b28c feat: add Vercel Analytics integration to the application 2025-03-26 13:44:02 +00:00
dayuan.jiang
64bb9dd900 refactor: simplify enhancedMessages construction in chat route 2025-03-26 10:58:48 +00:00
dayuan.jiang
fa72097838 refactor: replace Tooltip components with ButtonWithTooltip in ChatInput 2025-03-26 10:32:33 +00:00
dayuan.jiang
da98a184f9 refactor: extract ResetWarningModal from chat-input.tsx 2025-03-26 08:58:46 +00:00
dayuan.jiang
3b4072b113 refactor: extract HistoryDialog component 2025-03-26 08:51:21 +00:00
dayuan.jiang
15cd66d0bf minor: update refs in diagram context to use React.Ref type 2025-03-26 06:47:44 +00:00
dayuan.jiang
09dc466b2a minor: simplify DiagramPageLayout structure by removing unnecessary divs 2025-03-26 06:43:27 +00:00
dayuan.jiang
5c00c00584 refactor: extract all states to diagram-context. 2025-03-26 00:30:00 +00:00
dayuan.jiang
bd6946a13c minor: fix the prompt 2025-03-25 10:56:08 +00:00
dayuan.jiang
5d152c66d5 fix: flash problem 2025-03-25 08:56:24 +00:00
dayuan.jiang
8882aa9ee1 fix: fix the issue that the diagram flash during generation 2025-03-25 08:56:11 +00:00
dayuan.jiang
21537f6e7b refactor: remove stepCounterRef prop and manage step counter internally 2025-03-25 04:23:38 +00:00
dayuan.jiang
dedb5855c3 refactor: move message-display to seperate component. 2025-03-25 02:58:11 +00:00
dayuan.jiang
d2a630929b refactor: chat-example-panel.tsx 2025-03-25 02:24:12 +00:00
Dayuan Jiang
df74c36242 Update README.md 2025-03-24 11:54:01 +09:00
dayuan.jiang
a89781848b docs: update README.md 2025-03-24 02:43:27 +00:00
dayuan.jiang
19dacfad30 fix: Corrected a bug where the current XML file was not attached to the user message. 2025-03-24 02:38:27 +00:00
dayuan.jiang
05d1adc179 docs: update diagram representation library in README 2025-03-24 01:02:09 +00:00
Dayuan Jiang
46c0bed167 Update README.md 2025-03-24 09:56:55 +09:00
dayuan.jiang
e10d5e072f docs: add demo site link to README 2025-03-23 15:28:05 +00:00
dayuan.jiang
240ab2002d fix: fix readme.md 2025-03-23 15:24:49 +00:00
dayuan.jiang
cb9d37c2c6 docs: update README with project overview, features, and usage instructions 2025-03-23 15:03:38 +00:00
dayuan.jiang
0645c8d946 fix: style 2025-03-23 14:40:23 +00:00
dayuan.jiang
f44346762f fix: style 2025-03-23 14:36:21 +00:00
dayuan.jiang
762b970cd9 fix: update diagram history dialog with description and adjust image styling 2025-03-23 14:31:19 +00:00
dayuan.jiang
cc5c06de2e fix: diagram history 2025-03-23 14:22:40 +00:00
dayuan.jiang
6819a92921 feat: implement diagram history functionality with history dialog in ChatInput and ChatPanel 2025-03-23 13:54:21 +00:00
dayuan.jiang
1f69cf590b feat: add confirmation dialog for clearing conversation and diagram in ChatInput 2025-03-23 13:31:26 +00:00
dayuan.jiang
b3f8820444 feat: add prompt examples panel and replicate flowchart functionality in ChatPanel 2025-03-23 13:15:28 +00:00
dayuan.jiang
51d4536dbb feat: remove Assistant component and implement drag-and-drop file upload in ChatInput 2025-03-23 12:56:47 +00:00
dayuan.jiang
385a103982 feat: remove unused SVG files and update layout metadata for Next-AI-Drawio 2025-03-23 12:48:31 +00:00
dayuan.jiang
ef0c75dca5 feat: add clipboard paste handling in ChatInput for image file uploads 2025-03-23 12:12:24 +00:00
dayuan.jiang
9faa75ec9b feat: add onDisplayChart prop to ChatInput and integrate with ChatPanel for diagram handling 2025-03-23 12:04:33 +00:00
dayuan.jiang
50dc4eda6d feat: enhance ChatPanel and ChatInput to support image file uploads and display 2025-03-23 11:03:25 +00:00