Commit cf241c8
docs(gotjunk): Update ModLog with 2025-11-09 session changes (#69)
* fix(gotjunk): Fix icon visibility on map with dark backgrounds
Changed all navigation and map control buttons from white backgrounds
to dark gray (bg-gray-800) to fix white-on-white visibility issue
reported by user.
Changes:
- LeftSidebarNav: bg-white/90 → bg-gray-800/90 for all 4 nav buttons
- PigeonMapView: bg-white → bg-gray-800 for zoom/center/legend controls
- White icons now clearly visible on dark backgrounds
- Provides contrast against light map tile backgrounds
Fixes user feedback: "icons no longer display on the map view...
need a lite color background and not white on white"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(gotjunk): Fix classification bug and add duplicate item debugging
Fixed typo bug in handleReclassify where `classification` was used instead
of `newClassification` parameter, causing incorrect discount/bid values.
Added console logging to diagnose duplicate image creation:
- Log when handleClassify is called (new items)
- Log when handleReclassify is called (re-classification)
- Log state updates to track if items are added/updated multiple times
- Log IndexedDB saves to track storage operations
This will help troubleshoot the issue where changing discount/bid creates
duplicate images.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(gotjunk): Add body scroll lock to PigeonMapView
Added missing body scroll lock to PigeonMapView to complete the
fullscreen overlay contract. This prevents Safari from clipping
floating controls when the map is open.
Changes:
- Import useEffect from React
- Lock document.body.style.overflow = 'hidden' on mount
- Restore original overflow on unmount
Completes the z-index fix implementation where all fullscreen
overlays (ItemReviewer, FullscreenGallery, FullscreenViewer,
PigeonMapView) now lock body scroll.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat(gotjunk): Adaptive sidebar icon visibility on map view
Fixed low-contrast sidebar icons on varied map tile backgrounds by
implementing context-aware adaptive styling.
Problem:
- bg-gray-800/90 icons invisible on dark map tiles (parks, water, buildings)
- Inconsistent visibility across mixed urban areas (light streets, dark foliage)
- PR #40 fixed white-on-white but created dark-on-dark issue
Solution:
Added getButtonStyle() helper with conditional map-aware styling:
- Map view: Inactive icons use bright bg-indigo-600/85 with strong borders
- Other views: Inactive icons retain subtle bg-gray-800/90
- Active state: Always bright blue (unchanged)
Changes:
- LeftSidebarNav.tsx: Added getButtonStyle() helper function
- All 4 buttons now use helper instead of inline ternary logic
- Preserved Z_LAYERS.sidebar (2200) from PR #40 contract
- No hardcoded z-index values
Result:
✅ Icons visible on light streets, dark parks, blue water, gray buildings
✅ No regression on Browse/MyItems/Cart tabs
✅ Active (blue) distinguishable from inactive (indigo) on map
✅ Build: 413.49 kB │ gzip: 130.10 kB (2.68s)
Pattern learned: UI over dynamic backgrounds needs context-aware styling.
WSP References: WSP 50 (HoloIndex), WSP 22 (ModLog), WSP 64 (z-contract), WSP 87 (no vibecoding)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix(gotjunk): Ensure sidebar floats above map with pointer events
Added explicit pointer events to PigeonMapView to ensure proper event
handling and confirmed z-index layering is correct.
Z-index contract (already in place):
- Sidebar: Z_LAYERS.sidebar (2200) - highest, always visible
- Map: Z_LAYERS.mapOverlay (1600) - below sidebar
Changes:
- PigeonMapView.tsx: Added pointerEvents: "auto" to map container
- Added missing z-index contract files (constants/zLayers.ts, styles/zindex-map.md)
The sidebar SHOULD float above the map. If not visible in deployed
version, redeploy with latest code from main branch.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* docs(gotjunk): Update ModLog with 2025-11-09 session changes
Added comprehensive entry documenting 7 PRs merged in today's session:
- PR #62: Icon size adjustment (12px → 16px)
- PR #63: Instructions modal on every load + sidebar positioning
- PR #64: Instructions modal with actual swipe button components
- PR #65: Fixed modal overlap with camera orb
- PR #66: Z-index hierarchy fix (modals above all controls)
- PR #67: Instructions modal only on Browse tab
- PR #68: Proper modal centering
Documented:
- Problem/solution for each PR
- Code changes with before/after examples
- WSP compliance references (WSP 22, 50, 64, 87)
- User feedback integration process
- Build metrics and zero regression validation
WSP 22 Compliance: ModLog kept current with all session changes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent e8ff9bc commit cf241c8
1 file changed
+100
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
3 | 103 | | |
4 | 104 | | |
5 | 105 | | |
| |||
0 commit comments