Skip to content

Fix large analysis results by adding collapsible sections#942

Open
sharwari0109 wants to merge 1 commit into
imDarshanGK:mainfrom
sharwari0109:fix-collapsible-analysis-results
Open

Fix large analysis results by adding collapsible sections#942
sharwari0109 wants to merge 1 commit into
imDarshanGK:mainfrom
sharwari0109:fix-collapsible-analysis-results

Conversation

@sharwari0109

Copy link
Copy Markdown

Description

This PR improves the frontend experience for large analysis results by introducing collapsible sections for both Debug and Suggestions outputs.

Changes made

  • Converted Debug issue cards into expandable/collapsible sections using <details> and <summary>
  • Converted Suggestion cards into expandable/collapsible sections
  • Reduced UI clutter when analysis returns many results
  • Preserved all existing functionality, styling, and analysis behavior

Related Issue

Fixes #529

Type of change
[ ] New feature / enhancement
[ ] Documentation update
[ ] Test addition
[ ] Refactor

Checklist

  • I have read CONTRIBUTING.md
  • My branch is up to date with main
  • I have run pytest -v and all tests pass
  • I have not introduced duplicate issues or features
  • My PR title follows the format: feat/fix/docs/test: short description
  • I have added tests for new features (Not applicable – frontend-only UI change)
  • No hardcoded secrets or API keys in my code
  • This PR is linked to a GSSoC 2026 issue

Screenshots (if frontend change)

Before
image

image
  • Large analysis results displayed all content at once
  • Difficult to navigate when many issues/suggestions were returned

After
image

image
  • Results are displayed in collapsible cards
  • Users can expand only the sections they want to inspect
  • Improved readability and navigation for large outputs

Test evidence

pytest -v

==================================================
416 passed, 1 warning in 32.57s
==================================================

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.

Improve UI for large analysis outputs

2 participants