Skip to content

Add source pagination and chunk tree links - #119

Merged
suguanYang merged 1 commit into
mainfrom
fix/suguan/source-pagination-chunk-tree-link
Jun 27, 2026
Merged

Add source pagination and chunk tree links#119
suguanYang merged 1 commit into
mainfrom
fix/suguan/source-pagination-chunk-tree-link

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

Summary

  • Add a Notebook /inspect/:documentId/chunks route that opens the workspace with the matching document selected in parsed chunk tree view.
  • Add chunk-tree links to ready source rows.
  • Paginate the sources panel at 25 visible workspace sources per page while keeping the full source set available to chat/retrieval state.

Verification

  • ./node_modules/.bin/vitest run src/components/sources-panel.test.ts src/components/source-row.test.ts src/components/workspace-source-state.test.ts --config vitest.config.ts
  • ./node_modules/.bin/eslint 'src/app/inspect/[documentId]/chunks/page.tsx' src/components/source-row.test.ts src/components/source-row.tsx src/components/sources-panel.test.ts src/components/sources-panel.tsx src/components/workspace-shell.tsx src/components/workspace-source-state.test.ts src/components/workspace-source-state.ts src/components/workspace-source-workflow.ts
  • ./node_modules/.bin/tsc --noEmit --pretty false
  • ./node_modules/.bin/next build
  • git diff --check

Note: Next build still emits the existing workspace-root/SWC lockfile warnings; generated lockfile churn was removed after the successful build.

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowhere-notebook-staging Ready Ready Preview, Comment Jun 27, 2026 11:11am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
knowhere-notebook Ignored Ignored Jun 27, 2026 11:11am

Request Review

@suguanYang
suguanYang merged commit 4d89631 into main Jun 27, 2026
7 checks 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