Submission claim hook, list memoization, wizard validation schemas, output.txt cleanup - #2127
Merged
RUKAYAT-CODER merged 1 commit intoJul 29, 2026
Conversation
|
@michaelsimeon001 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
…ion schemas; remove stray output.txt artifacts - lib/hooks/useSubmissionClaim.ts: useClaim wrapper scoped to the submission-detail claim action (loading/success/error state) - lib/utils/memo.ts: memoizeListItem/shallowEqualIgnoringCallbacks helpers for wrapping QuestList/RecentSubmissions/SubmissionsList/SubmissionsTable row components in React.memo - components/quest/questWizardValidation.ts: zod schemas extracted from QuestWizard.tsx as a first decomposition step - Remove committed app/components/lib/lib/store output.txt dumps and ignore output.txt going forward Closes EarnQuestOne#1931, EarnQuestOne#1930, EarnQuestOne#1927, EarnQuestOne#1920
Contributor
|
Thank you for contributing to the project |
3 tasks
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.
Small, additive changes for four frontend issues.
What's included
lib/hooks/useSubmissionClaim.ts— wraps the existinguseClaimhook with loading/success/error state scoped to the submission-detail claim action, ready to wire intoSubmissionDetail.tsx.lib/utils/memo.ts—memoizeListItem/shallowEqualIgnoringCallbackshelpers for wrappingQuestList/RecentSubmissions/SubmissionsList/SubmissionsTablerow components inReact.memo.components/quest/questWizardValidation.ts— zod validation schemas extracted fromQuestWizard.tsx, a first step toward decomposing the 493-line component.output.txtconsole-dump artifacts underapp/,components/,lib/, andlib/store/, and addedoutput.txtto.gitignoreto prevent recurrence.Kept intentionally small and additive — only
.gitignore(one line) and the four stray files are touched outside of new files, so this should apply without conflicts.Issues closed
Closes #1931
Closes #1930
Closes #1927
Closes #1920