Skip to content

feat: implement search, sorting, and accordion UX improvements - #2774

Open
yashuroy08 wants to merge 1 commit into
DeepSourceCorp:masterfrom
yashuroy08:feature/search-sort-ux
Open

feat: implement search, sorting, and accordion UX improvements#2774
yashuroy08 wants to merge 1 commit into
DeepSourceCorp:masterfrom
yashuroy08:feature/search-sort-ux

Conversation

@yashuroy08

Copy link
Copy Markdown

🎯 Objective

Implement client-side search, sorting, and user experience (UX) enhancements in the Good First Issue application.

### 🛠️ Changes Implemented
1. **Reusable Control Panel Component**:
   - Created `components/ControlPanel.vue` featuring a responsive search input and sorting selector (Stars: High/Low, Issues: Most first, Activity:

Recent first).
2. Search and Sorting Logic:
- Integrated ControlPanel.vue and implemented client-side filtering on repo name/description in pages/index.vue and pages/language/[slug]. vue.
- Added a friendly "No projects found" state when results are empty.
3. Runtime Crash Prevention (Safe Tag Fallback):
- Fixed a potential runtime 500 error in pages/language/[slug].vue. If a language slug is not found in tags.json (due to repository
thresholds), it now capitalization-falls-back to the slug name and avoids crashing.
4. Accordion UX Event Propagation Fix:
- Refactored components/RepoBox.vue so the accordion click listener is strictly on the header container.
- Added @click.stop to the repository link so that opening the project on GitHub does not collapse the card.

---
*Disclosure: This contribution was co-authored and verified with the help of Antigravity AI coding assistant.*

@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

@nishantpurohit04 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

Development

Successfully merging this pull request may close these issues.

1 participant