fix(gotjunk): Long-press should update defaults, not auto-save #33
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.
Critical UX Fixes
Addresses two major issues reported by user testing:
Issue #1: Long-Press Auto-Saves (Broken Flow)
Problem:
Root Cause:
Solution:
New Flow:
Issue #2: Defaults Don't Persist
Problem:
Root Cause:
Solution:
Persistence:
gotjunk_default_discount→ stores 25, 50, or 75gotjunk_default_bid_duration→ stores 24, 48, or 72UX Flow (Fixed)
First Capture (No Saved Preferences):
Second Capture (Has Saved Preferences):
Changing Default:
Auto-Posting Investigation
Original Report: "Sometimes I don't get an option when taking a pic and it automatically posts"
Root Causes Identified & Fixed:
whileTapwas consuming tap eventsonClassifyimmediatelyPrevention:
Technical Changes
ClassificationModal.tsx:
handleDiscountSelect: RemoveonClassifycall, add localStorage savehandleBidSelect: RemoveonClassifycall, add localStorage saveuseStateinitialization: Lazy load from localStoragelocalStorage Keys:
gotjunk_default_discount: "25" | "50" | "75"gotjunk_default_bid_duration: "24" | "48" | "72"Haptic Feedback:
[10, 50, 10](short buzz, pause, short buzz)Testing Required
Test 1: Long-Press Flow
Test 2: Defaults Persist
Test 3: Changing Defaults
Test 4: Bid Duration
Related PRs
Metrics
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com