Skip to content

Fix: Search mindmap not working - #15949

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
wangq8:bugfix/search-mindmap-not-working
Jun 11, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
wangq8:bugfix/search-mindmap-not-working

Conversation

@wangq8

@wangq8 wangq8 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Fix: Search mindmap not working

@coderabbitai

coderabbitai Bot commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7ce78bd9-3aff-49fc-9190-1a075707cd46

📥 Commits

Reviewing files that changed from the base of the PR and between 312514c and 5df9cf4.

📒 Files selected for processing (1)
  • web/src/pages/next-search/hooks.ts

📝 Walkthrough

Walkthrough

The PR updates the useShowMindMapDrawer hook in the next-search page to pass search parameters with a search_id field instead of searchId when invoking fetchMindMap. The object literal is also reformatted across multiple lines for readability.

Changes

Mind Map Drawer Hook Parameter Rename

Layer / File(s) Summary
Search params field rename in mind map drawer hook
web/src/pages/next-search/hooks.ts
The searchParams object passed to fetchMindMap changes the field name from searchId to search_id and expands the object literal across multiple lines.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐰 A tiny tweak, so small and neat,
Where searchId meets search_id sweet,
Snake case flows where camel once stood,
Parameters dance as they should! ✨


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 and usage tips.

@wangq8
wangq8 marked this pull request as ready for review June 11, 2026 09:57
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 11, 2026
@wangq8
wangq8 merged commit 290432d into infiniflow:main Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant