Skip to content

fix: show search spinner and add missing loading skeletons#103

Merged
rootulp merged 1 commit intomainfrom
search-ux-improvements
Feb 27, 2026
Merged

fix: show search spinner and add missing loading skeletons#103
rootulp merged 1 commit intomainfrom
search-ux-improvements

Conversation

@rootulp
Copy link
Owner

@rootulp rootulp commented Feb 27, 2026

Summary

  • Fix search spinner not showing: moved setIsSearching(true) before the debounce timeout so the spinner appears immediately when the user types, not after the 50ms debounce + API response
  • Add loading.tsx skeletons for /courses and /stats pages (the only two pages missing them)

Test plan

  • Type in search bar — spinner should appear immediately
  • Navigate to /courses — loading skeleton should flash before content
  • Navigate to /stats — loading skeleton should flash before content

🤖 Generated with Claude Code

- Move setIsSearching(true) before the debounce timeout so the spinner
  shows as soon as the user types, not after the debounce + API call
- Add loading.tsx skeletons for /courses and /stats pages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 27, 2026

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

Project Deployment Actions Updated (UTC)
tritimes Building Building Preview, Comment Feb 27, 2026 2:48am

Request Review

@rootulp rootulp merged commit b6feb8f into main Feb 27, 2026
6 checks passed
@rootulp rootulp deleted the search-ux-improvements branch February 27, 2026 04:10
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.

1 participant