Skip to content

Feature/20260715 discover u 1 - #50

Merged
donfaquir merged 11 commits into
mainfrom
feature/20260715-discover-u-1
Jul 27, 2026
Merged

Feature/20260715 discover u 1#50
donfaquir merged 11 commits into
mainfrom
feature/20260715-discover-u-1

Conversation

@donfaquir

Copy link
Copy Markdown
Owner

摘要

变更类型

  • 缺陷修复
  • 新功能或行为变更
  • 文档或元数据(LICENSE、CI 等)
  • 重构或性能(无行为变化)
  • 其他:

检查清单

  • 本地已运行 npm run build(若改动前端)
  • 本地已运行 cd src-tauri && cargo test(若改动 Rust)
  • 不包含无权再许可的第三方素材或机密信息
  • 已阅读并遵守 CONTRIBUTING.mdCODE_OF_CONDUCT.md

备注

donfaquir and others added 11 commits July 15, 2026 17:35
Co-authored-by: OpenCode <noreply@opencode.ai>
…archy

Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
- Enable Tauri protocol-asset feature and configure scope
- Add ImagePreview (zoom/pan) and PdfPreview components
- Extend DocState with file kind discrimination
- Filter non-markdown paths from file watcher sync

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Extract workspace_init, workspace_files, workspace_watchers,
thought_commands, and discovery_commands from the 2528-line
lib.rs to bring it under the 800-line threshold (now 528).

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Add a recursive directory watcher (500ms debounce) that emits
workspace-tree-changed when files are created/deleted/renamed
outside the app. Frontend listens and refreshes the sidebar tree,
matching Obsidian's behavior.

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Keep AiConversationSessionProvider and RightPanelShell always mounted
(using display:none when not in files view) so streaming event listeners
and message state survive navigation to graph/thoughts/practice views.

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
The .cm-editor inside code blocks had min-height: 10rem (~160px),
causing large blank areas even for single-line snippets. The natural
height (~72px for an empty block) is sufficient for visibility and
interaction, so the min-height is simply removed.
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Full mode bypasses summarization/truncation for translation; also upgrades HTML parsing, raises response cap to 5MB, makes timeout configurable.

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
@donfaquir
donfaquir merged commit 8d52cb9 into main Jul 27, 2026
2 checks passed
@donfaquir
donfaquir deleted the feature/20260715-discover-u-1 branch July 27, 2026 03:34
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