Skip to content

feat: header content extract panel (TODO / tags / wiki) - #52

Open
kooksee wants to merge 4 commits into
masterfrom
feat/content-extract-panel
Open

kooksee wants to merge 4 commits into
masterfrom
feat/content-extract-panel

Conversation

@kooksee

@kooksee kooksee commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds Header「提炼」dropdown for the current group: TODO (open by default, optional completed), #tag (body + frontmatter), and [[wiki]] topics.
  • Clicking an item jumps like global search; read-only, no sidebar file filtering.

Test plan

  • Open a group with - [ ], #tag, and [[wiki]] → 提炼 lists them under the right tabs
  • Click a TODO → opens file and scrolls near the line
  • Switch group → list refreshes to that group only
  • Fenced code #tag / [[wiki]] do not appear
  • pnpm exec vitest run src/utils/contentExtract.test.ts src/components/ContentExtractPanel.test.tsx

kooksee and others added 3 commits November 14, 2026 00:23
Surface a read-only jump index for the active group so occasional reviews of open tasks and topics do not require full-text search.

Co-authored-by: Cursor <cursoragent@cursor.com>
Hard-coded 0.22/0.23 fixtures broke after the 0.25.0 bump because IsNewer compares against the live version constant.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

This comment has been minimized.

Keep the panel under the header button, match task-list DOM for TODO jumps, require #tag# delimiters, and index only [[wiki]] (not markdown links).

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor

Code Metrics Report

Coverage Code to Test Ratio Test Execution Time
56.2% 1:0.4 59s

Code coverage of files in pull request scope (87.6%, patch 87.8%)

Files Coverage Patch Coverage
frontend/src/components/ContentExtractPanel.tsx 83.6% 83.6%
frontend/src/utils/contentExtract.ts 90.4% 90.4%
frontend/src/utils/searchJump.ts 88.0% 100.0%

Reported by octocov

This branch has not been deployed

No deployments
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