[PR #889] [MERGED] feat(#880): 增加历史对话记录,移除了清空上下文和清空对话功能,改为开始新对话 #802

Closed
opened 2026-03-02 03:41:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/889
Author: @codexu
Created: 2/3/2026
Status: Merged
Merged: 2/3/2026
Merged by: @codexu

Base: devHead: chat-history


📝 Commits (5)

  • 02e1753 feat: 增加对话历史记录
  • fc1044c fix: 没有信息时无法进行新对话
  • ce74019 feat: 历史记录样式
  • 5c475b3 feat: 快速开始提示
  • 520adae feat: 调整 placeholder 模型调用

📊 Changes

24 files changed (+1256 additions, -159 deletions)

View changed files

📝 messages/en.json (+36 -10)
📝 messages/ja.json (+25 -1)
📝 messages/pt-BR.json (+25 -1)
📝 messages/zh-TW.json (+25 -1)
📝 messages/zh.json (+36 -10)
📝 src/app/core/record/chat/chat-empty.tsx (+172 -70)
📝 src/app/core/record/chat/chat-header.tsx (+5 -8)
📝 src/app/core/record/chat/chat-input.tsx (+22 -5)
📝 src/app/core/record/chat/chat-send.tsx (+2 -0)
src/app/core/record/chat/history-dropdown.tsx (+132 -0)
src/app/core/record/chat/new-chat.tsx (+24 -0)
📝 src/app/core/setting/chat/toolbar-settings.tsx (+6 -12)
📝 src/app/core/setting/components/default-models-settings.tsx (+14 -1)
📝 src/app/core/setting/components/model-select.tsx (+6 -1)
src/app/core/setting/general/tool-settings.tsx (+14 -0)
📝 src/app/mobile/chat/components/chat-tools-drawer.tsx (+2 -4)
src/app/mobile/chat/components/new-chat.tsx (+30 -0)
📝 src/db/chats.ts (+35 -8)
src/db/conversations.ts (+206 -0)
📝 src/db/index.ts (+4 -2)

...and 4 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/889 **Author:** [@codexu](https://github.com/codexu) **Created:** 2/3/2026 **Status:** ✅ Merged **Merged:** 2/3/2026 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `chat-history` --- ### 📝 Commits (5) - [`02e1753`](https://github.com/codexu/note-gen/commit/02e17535a42c320e996303e2c7a0983d3afd3ffa) feat: 增加对话历史记录 - [`fc1044c`](https://github.com/codexu/note-gen/commit/fc1044c108f912b4a52f838dee28aac7b41aa3a4) fix: 没有信息时无法进行新对话 - [`ce74019`](https://github.com/codexu/note-gen/commit/ce74019013260ee1f75a6f607bdfa0a0487a1778) feat: 历史记录样式 - [`5c475b3`](https://github.com/codexu/note-gen/commit/5c475b342dfdd162c6e8458ba668438e0930da5d) feat: 快速开始提示 - [`520adae`](https://github.com/codexu/note-gen/commit/520adae302d1508cfcfcd50dff4f517288ea19e8) feat: 调整 placeholder 模型调用 ### 📊 Changes **24 files changed** (+1256 additions, -159 deletions) <details> <summary>View changed files</summary> 📝 `messages/en.json` (+36 -10) 📝 `messages/ja.json` (+25 -1) 📝 `messages/pt-BR.json` (+25 -1) 📝 `messages/zh-TW.json` (+25 -1) 📝 `messages/zh.json` (+36 -10) 📝 `src/app/core/record/chat/chat-empty.tsx` (+172 -70) 📝 `src/app/core/record/chat/chat-header.tsx` (+5 -8) 📝 `src/app/core/record/chat/chat-input.tsx` (+22 -5) 📝 `src/app/core/record/chat/chat-send.tsx` (+2 -0) ➕ `src/app/core/record/chat/history-dropdown.tsx` (+132 -0) ➕ `src/app/core/record/chat/new-chat.tsx` (+24 -0) 📝 `src/app/core/setting/chat/toolbar-settings.tsx` (+6 -12) 📝 `src/app/core/setting/components/default-models-settings.tsx` (+14 -1) 📝 `src/app/core/setting/components/model-select.tsx` (+6 -1) ➕ `src/app/core/setting/general/tool-settings.tsx` (+14 -0) 📝 `src/app/mobile/chat/components/chat-tools-drawer.tsx` (+2 -4) ➕ `src/app/mobile/chat/components/new-chat.tsx` (+30 -0) 📝 `src/db/chats.ts` (+35 -8) ➕ `src/db/conversations.ts` (+206 -0) 📝 `src/db/index.ts` (+4 -2) _...and 4 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#802
No description provided.