littleshop/LittleShop/wwwroot
SysAdmin cd479d8946 Fix: Prevent notification prompt from reappearing after timeout
**Issue:**
- Notification prompt kept reappearing after push subscription timeout
- Users stuck in loop when push notifications fail due to network restrictions

**Solution:**
- Auto-dismiss prompt on timeout errors
- Mark as permanently declined when timeout occurs
- Provide user-friendly error message
- Clean up error handling flow

**Technical Changes:**
- Check for timeout in error message
- Set both session and permanent dismissal flags
- Simplify error propagation from enableNotifications()
- Show concise error message for timeout scenarios

This fix ensures users in restricted network environments (VPNs, corporate firewalls, FCM blocked) won't be repeatedly prompted for push notifications that can't work.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 14:44:10 +01:00
..
css Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
icons PWA-implementation 2025-09-01 04:49:05 +01:00
js Fix: Prevent notification prompt from reappearing after timeout 2025-10-02 14:44:10 +01:00
lib Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
uploads/products Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
favicon.ico PWA-implementation 2025-09-01 04:49:05 +01:00
manifest.json PWA-implementation 2025-09-01 04:49:05 +01:00
service-worker.js Configure push notifications for internal-only access 2025-09-30 21:15:42 +01:00
sw.js Product-enhancements-and-validation-fixes 2025-09-01 08:03:00 +01:00
test-blazor-assets.html Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
test-blazor.html Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00