Skip to content

fix(vtable-search): search expanded master-detail tables (#5036) - #5300

Open
biubiukam wants to merge 2 commits into
VisActor:developfrom
biubiukam:fix/issue-5036-master-detail-search
Open

fix(vtable-search): search expanded master-detail tables (#5036)#5300
biubiukam wants to merge 2 commits into
VisActor:developfrom
biubiukam:fix/issue-5036-master-detail-search

Conversation

@biubiukam

Copy link
Copy Markdown
Contributor

🤔 This is a ...

  • Bug fix
  • Test Case

🔗 Related issue link

Fixes #5036

💡 Background and solution

SearchComponent previously scanned only the master table, so matches in expanded MasterDetailPlugin detail tables were missing from the result list and were not highlighted. This change searches the active detail table instances, keeps the target table for each result, applies highlight and focus styles to the matching table, scrolls within that table, and clears highlights from all associated tables.

📝 Changelog

Language Changelog
English Search and highlight matches in expanded master-detail tables.
Chinese 支持搜索并高亮已展开主从表明细表中的匹配内容。

☑️ Self-Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided

🚀 Summary

  • Added regression coverage for search results, detail-table highlighting, focus navigation, and clearing.
  • Validation: pnpm exec jest --runInBand, ESLint, Prettier, git diff --check, and node common/scripts/install-run-rush.js build --to @visactor/vtable-search.

@fangsmile

Copy link
Copy Markdown
Contributor
image @biubiukam 请看看审核的问题 优化下吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 主从表开启搜索功能异常

2 participants