Skip to content

feat(frontend): add ResultCard component with expand/collapse and AI …#123

Merged
DevanshuNEU merged 1 commit into
OpenCodeIntel:mainfrom
DevanshuNEU:feat/112-result-card-component
Dec 24, 2025
Merged

feat(frontend): add ResultCard component with expand/collapse and AI …#123
DevanshuNEU merged 1 commit into
OpenCodeIntel:mainfrom
DevanshuNEU:feat/112-result-card-component

Conversation

@DevanshuNEU

Copy link
Copy Markdown
Collaborator

…summary

  • Created ResultCard component with animated collapsible code blocks
  • Smooth height transition on expand/collapse (200ms ease-out)
  • First result auto-expanded with TOP MATCH badge
  • AI summary section for top result
  • Visual match score with gradient progress bar
  • Copy code and View on GitHub actions
  • Fixed GitHub URL to strip internal repo ID prefix
  • Refactored SearchPanel to use ResultCard

Closes #112

Description

Motivation

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring

Testing

  • Added new tests
  • All existing tests pass
  • Tested manually with the following scenarios:

Checklist

  • My code follows the project's code style
  • I have commented my code where necessary
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • I have added tests that prove my fix/feature works
  • New and existing tests pass locally
  • I have checked my code for security issues

Screenshots (if applicable)

Additional Context

…summary

- Created ResultCard component with animated collapsible code blocks
- Smooth height transition on expand/collapse (200ms ease-out)
- First result auto-expanded with TOP MATCH badge
- AI summary section for top result
- Visual match score with gradient progress bar
- Copy code and View on GitHub actions
- Fixed GitHub URL to strip internal repo ID prefix
- Refactored SearchPanel to use ResultCard

Closes OpenCodeIntel#112
@vercel

vercel Bot commented Dec 24, 2025

Copy link
Copy Markdown

@DevanshuNEU is attempting to deploy a commit to the Dev's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Dec 24, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
opencodeintel Ready Ready Preview, Comment Dec 24, 2025 0:24am

@DevanshuNEU DevanshuNEU merged commit 03d498a into OpenCodeIntel:main Dec 24, 2025
6 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.

feat(frontend): ResultCard component with AI summary and syntax highlighting

1 participant