Skip to content

Commit 858c16b

Browse files
authored
refactor: 重构 AI 对话页面布局,增加对话工具栏 (#196)
* style: 💄重做输入框样式,功能移至底部 * fix: 修复 turbopack 导致 markdown-it isSpace 报错 * feat: 清除上下文 * feat: 面具重命名为 Prompt * feat: 新建标签对话、删除标签对话 * feat: AI 对话目标语言选择 * feat: 禁止删除默认标签 * perf: 👌 优化 AI 对话 滚动底部逻辑
1 parent 4b1755f commit 858c16b

28 files changed

+821
-302
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ NoteGen is a cross-platform `Markdown` note-taking application dedicated to usin
2424

2525
Recording:
2626

27-
![record](https://s2.loli.net/2025/04/14/NxhiWjMZT7RtusS.png)
27+
![record](https://github.com/user-attachments/assets/34f7fdc7-ebab-473f-ad8b-e2e93ed0f9e3)
2828

2929
Writing:
3030

docs/en/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NoteGen is a cross-platform `Markdown` note-taking application dedicated to usin
1313

1414
Recording:
1515

16-
![record](https://s2.loli.net/2025/04/14/NxhiWjMZT7RtusS.png)
16+
![record](https://github.com/user-attachments/assets/34f7fdc7-ebab-473f-ad8b-e2e93ed0f9e3)
1717

1818
Writing:
1919

docs/ja/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NoteGenは、AIを使用して記録と執筆を橋渡しし、断片化され
1313

1414
記録:
1515

16-
![record](https://s2.loli.net/2025/04/14/NxhiWjMZT7RtusS.png)
16+
![record](https://github.com/user-attachments/assets/34f7fdc7-ebab-473f-ad8b-e2e93ed0f9e3)
1717

1818
執筆:
1919

docs/zh/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ NoteGen 是一款的跨端的 `Markdown` 笔记应用,致力于使用 AI 建
1515

1616
记录:
1717

18-
![record](https://s2.loli.net/2025/04/14/NxhiWjMZT7RtusS.png)
18+
![record](https://github.com/user-attachments/assets/34f7fdc7-ebab-473f-ad8b-e2e93ed0f9e3)
1919

2020
写作:
2121

messages/en.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,12 @@
381381
}
382382
]
383383
},
384+
"newChat": "New Chat with New Tag",
385+
"removeChat": "Remove Chat with Current Tag",
386+
"confirmNew": "Create New Tag",
387+
"confirmNewDescription": "Are you sure you want to create a new tag to start a conversation?",
388+
"confirmRemove": "Delete Tag",
389+
"confirmRemoveDescription": "Please note that deleting this tag will also delete all records within it. Please confirm again.",
384390
"content": {
385391
"organize": "Organize your records into an article:"
386392
},
@@ -407,7 +413,23 @@
407413
"noApiKey": "No API Key configured, can't use AI chat..."
408414
},
409415
"send": "Send",
410-
"terminate": "Terminate"
416+
"terminate": "Terminate",
417+
"tagLink": {
418+
"on": "Linked to tag",
419+
"off": "Not linked to tag"
420+
},
421+
"modelSelect": {
422+
"tooltip": "Select AI model",
423+
"placeholder": "Search AI models"
424+
},
425+
"promptSelect": {
426+
"tooltip": "Select prompt",
427+
"placeholder": "Search prompts"
428+
},
429+
"clearChat": "Clear conversation",
430+
"clearContext": {
431+
"tooltip": "Clear context"
432+
}
411433
},
412434
"header": {
413435
"configApiKey": "Configure API KEY",

0 commit comments

Comments
 (0)