Fix/copilot chat scroll#52
Merged
Merged
Conversation
- 新增 paper_search_history 表及 Rust 命令,client.ts 新增历史接口 - PaperDiscoveryPanel 增加最近检索入口,结果改为内存状态,应用历史时恢复 - 重构论文结果卡片,添加推荐理由/摘要标签,收紧面板标题样式 - CopilotChatArea 首次加载/切换会话时直接跳转底部,后续消息保持平滑滚动
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个 Pull Request 为论文发现工具实现了持久化搜索历史功能,改进了论文搜索结果卡片的 UI,并完善了相关测试和数据库初始化。它引入了新的后端命令和数据库表结构,用于保存、获取和删除搜索历史,更新了前端以支持这些功能,并提升了 Arxiv 搜索结果的展示体验。
论文搜索历史持久化
paper_search_history表及相关索引,并在db.rs中实现了相应的迁移和初始化逻辑,包括ensure_paper_search_history_table函数和对应的 SQL 语句。paper_search_save_history、paper_search_get_history和paper_search_delete_history,包含对应的请求/响应类型及数据库交互逻辑。后端集成
前端与测试
UI/UX 改进
PaperResultCard组件,以更清晰、更详细的方式展示论文信息,优化了论文信息的结构和呈现。样式调整