feat: prioritize high-value comments for review#1
Open
dyxg wants to merge 18 commits into
Open
Conversation
feat(api): 添加评论点赞数和笔记ID字段 - 在API路由中添加likes和note_id字段到评论数据结构 - 从评论对象中提取likes值并转换为整数类型 - 添加note_id字段用于标识笔记 feat(frontend): 实现评论刷新功能和点赞排序 - 添加刷新评论按钮及加载状态指示器 - 实现评论列表按点赞数排序功能 - 显示评论刷新状态和同步时间信息 - 在评论作者信息中显示点赞图标和数量 - 更新API类型定义以包含新的字段 refactor(frontend): 优化评论加载和状态管理 - 修改loadInsights方法支持更新审查状态参数 - 添加refreshComments方法实现手动刷新功能 - 改进错误处理和同步状态反馈机制 - 在轮询过程中隐藏状态更新避免干扰 ```
Owner
Author
|
Update pushed in
Validation:
|
Co-authored-by: Cursor <cursoragent@cursor.com>
前端添加评论点赞数和笔记 ID
…xt-nlp fix(ci): resolve mypy import fallback for agent3
…lure-polling fix(frontend): avoid premature task failure during polling
删除前端下方stitch编码
…memory 压力测试套件Feature/agent4 rag memory
…iority-comment-queue # Conflicts: # app/api/routes.py # frontend/src/App.vue # frontend/src/services/adIntelApi.ts
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.
Summary
/insightsreview data.MediaCrawler boundary
/api/ad-intel/runMediaCrawler capability is preserved.Testing
python -m pytest -q→ 63 passednpm test→ 7 passednpm run build→ passedpython -m ruff check app/services/comment_selector.py tests/test_comment_selector.py app/api/routes.py→ passedNotes
data/for manual testing withmock-priority-001, but it is intentionally not included in the PR.vendor/MediaCrawlerworktree state was left untouched and is not part of this PR.