Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add search functionality to components graph #696

Merged
merged 4 commits into from
Jul 22, 2024
Merged

feat: add search functionality to components graph #696

merged 4 commits into from
Jul 22, 2024

Conversation

arashsheyda
Copy link
Member

@arashsheyda arashsheyda commented Jul 22, 2024

closes #693

this PR adds highlighting functionality to component graph when a component is searched. the highlighted component will be shown in purple

Dark Mode Light Mode
Screenshot 2024-07-21 at 7 11 08 PM Screenshot 2024-07-21 at 7 10 42 PM

Copy link

cloudflare-workers-and-pages bot commented Jul 22, 2024

Deploying nuxt-devtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: c8d2462
Status:⚡️  Build in progress...

View logs

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@antfu
Copy link
Member

antfu commented Jul 22, 2024

Instead of making it purple, I changed it to graying out unmatched nodes:

Screenshot 2024-07-22 at 19 22 19

@antfu antfu enabled auto-merge (squash) July 22, 2024 17:23
@antfu antfu merged commit 1a0f81a into main Jul 22, 2024
1 of 3 checks passed
@antfu antfu deleted the feat/693 branch July 22, 2024 17:23
@arashsheyda
Copy link
Member Author

ah that makes much more sense thanks :)

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.

fix: Component Cloud Search Bar Gone?
2 participants