littleshop/LittleShop/wwwroot/js
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
..
blazor-integration.js Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
holographic-effects.js PWA-implementation 2025-09-01 04:49:05 +01:00
modern-mobile.js Configure push notifications for internal-only access 2025-09-30 21:15:42 +01:00
notifications.js Fix: Prevent notification prompt from reappearing after timeout 2025-10-02 14:44:10 +01:00
product-variants.js Add variant collections system and enhance ProductVariant with weight/stock tracking 2025-09-28 17:03:09 +01:00
pwa-fixed.js CI/CD: Add GitLab CI/CD pipeline for Hostinger deployment 2025-10-01 13:10:48 +01:00
pwa.js Refactor: Streamline product management UI and enhance PWA behavior 2025-10-02 14:35:52 +01:00