feat: add safe state persistence and recovery for challenge creation …#124
Closed
Yashvi29-power wants to merge 5 commits intogdg-charusat:mainfrom
Closed
feat: add safe state persistence and recovery for challenge creation …#124Yashvi29-power wants to merge 5 commits intogdg-charusat:mainfrom
Yashvi29-power wants to merge 5 commits intogdg-charusat:mainfrom
Conversation
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!
|
11f54de to
db2d91d
Compare
db2d91d to
4b6530f
Compare
Contributor
|
hey @Yashvi29-power please resolve conflicts. |
Contributor
|
@Yashvi29-power if you dont commit within the next hour, i will close this pr |
Contributor
Author
|
@aaleya5 I am unable to solve the issues |
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 : Team125
Description
Implemented a safe state persistence and recovery mechanism for the Challenge Creation view to prevent accidental data loss during page refresh.
Problem
Refreshing the page during:
could cause unsaved form data to be lost.
Solution
localStorageThis implementation is lightweight, dependency-free, and scoped only to the critical challenge creation form to avoid unnecessary architectural changes.
Related Issue
Closes #113
Type of Change
Changes Made
CreateChallenge.tsxTesting
Additional Notes
The implementation is intentionally minimal and isolated to maintain frontend simplicity and avoid introducing global state complexity.