Skip to content

Conversation

@swati-londhe
Copy link

Summary

Improved the RepoCard.vue component (previously named Banner.vue) for better readability, maintainability, and developer understanding.

Changes Made

  • Added inline comments to clarify logic and structure.
  • Improved code indentation and consistent spacing across template and script.
  • Added computed property comments for clarity.
  • Renamed ambiguous variables to be more descriptive (e.g., numIssuesissueCount).
  • Added small accessibility enhancement by improving title attributes.
  • Ensured no functionality change — purely readability and structure improvement.

Impact

These changes improve developer experience and maintainability without affecting the UI or functionality.

Testing

  • Verified that repositories still toggle open and closed correctly.
  • Confirmed that computed fields (issuesDisplay, lastModifiedDisplay) still display expected values.
  • No functional regressions detected.

@vercel
Copy link

vercel bot commented Oct 31, 2025

@sun-fibo-intern is attempting to deploy a commit to the DeepSource Team on Vercel.

A member of the Team first needs to authorize it.

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