feat(frontend): Keyboard Shortcuts + Polish + Caching (#36)#41
Merged
DevanshuNEU merged 2 commits intoDec 6, 2025
Merged
Conversation
- Add Skeleton components (RepoCardSkeleton, StatCardSkeleton, etc.) - Add loading state to RepoList with skeleton grid - Add reposLoading state in DashboardHome - Add CSS animations (fadeIn, slideIn, scaleIn) - Add staggered animations for repo cards - Add focus-ring and hover utilities - Smooth page transitions
…penCodeIntel#36) - Add React Query for in-memory caching with deduplication - Add localStorage cache utility with TTL and versioning - Create useCachedQuery hooks (useDependencyGraph, useStyleAnalysis) - Cache invalidation on re-index via useInvalidateRepoCache - 5 min stale time, 30 min localStorage TTL - Instant tab switching (0 network calls) - Instant page refresh (localStorage hydration) Performance: ~100% reduction in redundant API calls
|
@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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Final issue of Dashboard UI/UX Epic. Adds loading states, smooth animations, and dual-layer caching for optimal performance.
What's New
Loading Skeletons
Skeleton components that show while data loads - no more blank screens.
Animations
Smooth fade-in animations for repo cards with staggered timing. Cards appear one by one instead of all at once.
Dual-Layer Caching
Two-level cache system that eliminates redundant API calls:
Cache auto-invalidates when you re-index a repository.
Performance
Files Added
Skeleton.tsx- Loading skeleton componentscache.ts- localStorage cache utilitiesuseCachedQuery.ts- React Query hooks with cachingFiles Modified
main.tsx- Added QueryClientProviderDependencyGraph.tsx- Uses cached hookStyleInsights.tsx- Uses cached hookRepoOverview.tsx- Invalidates cache on re-indexRepoList.tsx- Shows skeleton while loadingDashboardHome.tsx- Loading state managementindex.css- Animation classesCloses #36
Completes Epic #31