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(ui): SearchResultList treeItem component #122

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

SoonIter
Copy link
Member

@SoonIter SoonIter commented Feb 12, 2024

image
Ellipsis 🚀 This PR description was created by Ellipsis for commit 58b5f62.

Summary:

This PR introduces a new UI component for displaying search results in a tree structure, adds the ability to open a file at a specific location from the search results, and includes various updates and new components to support these features.

Key points:

  • Introduced SearchResultList component for displaying search results in a tree structure.
  • Added 'openFile' functionality to open a file at a specific location from the search results.
  • Refactored groupBy function in extension.ts for better readability.
  • Added new types in types.ts to support the new features.
  • Updated view.ts to handle 'openFile' messages.
  • Added new components CodeBlock, FileLink, and TreeItem under SearchResultList/comps.
  • Implemented SearchResultList in SearchResultList/index.tsx.
  • Updated SearchWidgetContainer for better UI.
  • Added useDark hook to handle theme changes.
  • Updated SearchSidebar and postMessage to use new components and handle new messages.

Generated with ❤️ by ellipsis.dev

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problems found on commit 58b5f62


Something look wrong? You can customize Ellipsis by editing the ellipsis.yaml for this repository.

Generated with ❤️ by ellipsis.dev

@HerringtonDarkholme HerringtonDarkholme merged commit 21d8d3b into ast-grep:main Feb 12, 2024
4 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.

2 participants