Skip to content

release: 合并 v0.1.3(UI 同步、知识库技术栈筛选、会话列表密度与踩坑文档) - #2

Merged
CodeHourra merged 9 commits into
masterfrom
release/v0.1.3
Mar 25, 2026
Merged

CodeHourra merged 9 commits into
masterfrom
release/v0.1.3

Conversation

@CodeHourra

@CodeHourra CodeHourra commented Mar 25, 2026 •

Copy link
Copy Markdown
Owner

摘要

  • 自 origin/master 新建 release/v0.1.3,cherry-pick 本地未推送的 4 条提交(UI 对齐 demo、技术栈筛选、SessionCard/Toolbar、踩坑文档整理)。
  • 追加 chore(release):版本 0.1.3,更新根目录与 docs/CHANGELOG.md,并执行 bun run sync:changelog 同步关于页数据源。

合并后

  • 合并本 PR 至 master 后,在 master 的合并提交 上打标签(推荐):
    git checkout master && git pull
    git tag -a v0.1.3 -m "v0.1.3: UI 同步、知识库技术栈筛选、会话列表与踩坑文档"
    git push origin v0.1.3
  • 推送 v0.1.3 将触发 Release 工作流。

CI

  • PR 指向 master 会跑 .github/workflows/ci.yml(含 changelog sync 校验)。

Made with Cursor


Note

Medium Risk
Moderate risk due to new SQL filter logic over denormalized tech_stack strings and broad UI refactors across core navigation/list views, though changes are largely additive and presentation-focused.

Overview
Adds tech-stack filtering to the knowledge base end-to-end. CardFilters, list_cards/search_cards, and the TS invoke/types now accept techStack, with SQLite filtering implemented as case-insensitive comma-token AND matching.

Large UI refresh to match design/ui_demo.html. Reworks TopBar, SessionToolbar, SessionCard, Sidebar, SessionsView, and KnowledgeView (new segmented pill buttons + WebView reset via button.segment-pill-btn, denser session cards, knowledge view layout/controls, sidebar collapse filters, and a floating “glass bar” batch action strip).

Release + docs updates. Bumps desktop/Tauri versions to 0.1.3, updates changelogs (including app about-page source), adds the UI demo HTML, and expands docs/踩坑 with naming/index guidance plus new pitfalls on ring vs overflow-hidden and WebView button styling; minor Cursor release command/doc tweaks.

Written by Cursor Bugbot for commit 424e8fd. This will update automatically on new commits. Configure here.

stevelliu added 7 commits March 25, 2026 16:03
- 新增 ui-sync-with-demo 计划文档,详细列出重构任务与目标。
- 重构 SessionToolbar、Sidebar、SessionCard、KnowledgeView 和 TopBar 组件,确保样式与功能符合设计稿。
- 优化按钮样式,调整布局,增强用户交互体验。
- 更新 AppLayout 和其他相关组件以支持新样式和功能。
- 在 Sidebar 组件中新增技术栈切换功能,允许用户选择多个技术栈进行筛选。
- 更新 filters store,添加 selectedTechStacks 状态以管理选中的技术栈。
- 修改 API 调用,支持技术栈参数传递,确保与后端一致。
- 在 KnowledgeView 组件中实现技术栈的动态筛选与重置功能,提升用户交互体验。
- 优化知识库筛选面板,整合类型、标签和技术栈的显示与操作,增强可用性。
- 调整 SessionCard 组件的选中状态样式,使用 ring-inset 以避免裁剪问题。
- 修改 SessionToolbar 组件的底部间距,提升整体布局一致性。
- 更新会话列表标题和卡片列表的间距,增强视觉效果和用户体验。
- 细化标签和摘要的样式,提升信息展示的清晰度。
- 在 `踩坑` 目录中新增多个文档,涵盖不同技术栈和工具的常见问题及解决方案,包括 CLI JSON 解析失败、Monorepo 混用包管理器、Naive UI 替换后白屏等。
- 更新 `README.md`,提供文档命名规范和条目索引,便于用户查找和理解问题记录。
- 细化文件命名建议,确保以中文为主,便于检索与对齐代码。
- 同步 package.json / Cargo.toml / CHANGELOG / app-changelog

Made-with: Cursor
- 删除 CHANGELOG 和 app-changelog 中的“其他”部分,简化内容以提高可读性。
- 确保更新日志专注于主要功能和修复,提升用户查阅体验。
- 在 release-pr-tag 文档中新增对 `apps/desktop/src-tauri/tauri.conf.json` 中版本一致性的确认步骤。
- 将版本号从 0.1.2 更新至 0.1.3,确保文档与实际版本保持一致。

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

defineProps<{
/** 待分析角标(预留,与列表统计联动时可展示) */
pendingCount?: number
}>()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused prop with only commented-out template usage

Low Severity

The pendingCount prop is defined in SessionToolbar and passed from SessionsView via :pending-count="unanalyzedCount", but its only template usage (the badge span on lines 91–98) is entirely commented out. This leaves a dead prop definition, a dead data binding, and a block of commented-out template code shipping to production.

Additional Locations (2)
Fix in Cursor Fix in Web

!!filters.cardType
|| filters.selectedTags.length > 0
|| filters.selectedTechStacks.length > 0,
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicated library filter active check across components

Low Severity

hasLibraryFilters in KnowledgeView.vue and libraryFiltersActive in Sidebar.vue compute the identical expression — checking filters.cardType, filters.selectedTags.length, and filters.selectedTechStacks.length. If a new filter dimension is added, both must be updated in sync or the "reset" / "active filter" indicators will diverge. This logic belongs in the filters store (e.g., as a getter or exported computed).

Additional Locations (1)
Fix in Cursor Fix in Web

- 在 SettingsModal 组件中,为按钮添加统一的圆角矩形样式,提升视觉一致性。
- 更新 SourceInfo 组件,优化数据源与时间信息的排版,增强可读性。
- 调整 KnowledgeView 组件的卡片与列表视图样式,确保选中态一致,避免裁切问题。
@cursor

cursor Bot commented Mar 25, 2026

Copy link
Copy Markdown

You have used all of your free Bugbot PR reviews.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

- 移除 SessionToolbar 组件中的待分析数量相关代码,简化其结构。
- 在 Sidebar 组件中替换计算属性,使用 filters.store 中的 hasLibraryFilters 以统一筛选状态管理。
- 更新 KnowledgeView 组件以使用新的 hasLibraryFilters 逻辑,确保与 Sidebar 组件一致性。
- 优化 filters.store,新增 hasLibraryFilters 计算属性,提升筛选状态的可读性和维护性。
@cursor

cursor Bot commented Mar 25, 2026

Copy link
Copy Markdown

You have used all of your free Bugbot PR reviews.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@CodeHourra
CodeHourra merged commit 04c8e4c into master Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant