Enhancement: Introduce AsyncStateWrapper for Consistent Loading, Empty, and Error UI States #94
Closed
Yashvi29-power wants to merge 5 commits intogdg-charusat:mainfrom
Closed
Conversation
…oard, leaderboard and challenge views
…and error states across pages (Team 125)
Contributor
✅ PR Validation PassedHey @Yashvi29-power! Your PR looks good. Here is what we found:
A maintainer will review your PR within 24–48 hours. Stay responsive to feedback!
|
Contributor
|
please resolve conflicts |
Contributor
|
merge conflicts after pulling from main and thereafter run your code and then commit. |
Contributor
|
@Yashvi29-power if you are going to work on this, commit within an hour. |
Contributor
Author
|
I am not able to solve the conflicts |
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.
Team Number : Team 125
Description
This PR introduces a reusable AsyncStateWrapper component to standardize Loading, Empty, and Error UI states across the Code Duel frontend. The enhancement improves UI consistency and reduces repeated conditional rendering while preserving the existing design system and application logic.
Related Issue
Closes #78
Type of Change
☐ Bug fix
☐ New feature
☐ Breaking change
☐ Documentation update
☐ Code refactoring
☐ Performance improvement
☑ Style/UI improvement
Changes Made
Testing
☑ No console errors
☑ Application builds successfully
Additional Notes
This change focuses strictly on UI/UX architecture improvements. No routing, authentication, or backend-related logic was modified.
Before and after screenshots are not attached because didn't have access to the dashboard and I have better knowledge of front-end.