Skip to content

fix: add document name display in testing result cards - #17427

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
dcc123456:fix/dataset-test-0717
Jul 27, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
dcc123456:fix/dataset-test-0717

Conversation

@dcc123456

Copy link
Copy Markdown
Collaborator

Summary

fix: add document name display in testing result cards

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 27, 2026
@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Chunk cards in the testing results view now include a right-aligned document name, using doc_name when available and docnm_kwd otherwise.

Changes

Chunk metadata display

Layer / File(s) Summary
Render document metadata
web/src/pages/dataset/testing/testing-result.tsx
Each chunk card displays x.doc_name with x.docnm_kwd as the fallback.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: buua436

Poem

I’m a bunny with a card to show,
A document name beneath the row.
If the first name hops away,
The fallback saves the display.
Neat little labels, bright and clear!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly states the main change: showing document names in testing result cards.
Description check ✅ Passed The description matches the required Summary section and explains the PR's purpose, though it is brief and lacks extra background.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dcc123456
dcc123456 requested a review from wangq8 July 27, 2026 08:52
@dcc123456 dcc123456 added the ci Continue Integration label Jul 27, 2026
@dcc123456
dcc123456 marked this pull request as draft July 27, 2026 08:52
@dcc123456
dcc123456 marked this pull request as ready for review July 27, 2026 08:52
@wangq8
wangq8 merged commit 4231db7 into infiniflow:main Jul 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants