Tags: asim/reminder
Tags
Fix content updates skipping hours due to bad random selection The daily loop would bail for an entire hour when it randomly picked a verse starting with a lowercase letter or verse 0 (bismillah). Multiple unlucky rolls meant the "last updated" time could be hours stale. Now retries up to 50 times per cycle to find valid content before giving up, so every hourly tick produces a fresh update. https://claude.ai/code/session_01MYoW1tEjNnnHmZ4w2ifdLM
Show relative time on home page instead of absolute timestamp Replaces "Last updated: 11/05/2026, 04:46:07" with "Updated 14 min ago · next update in 46 min" which is timezone- agnostic and immediately meaningful. Updates every 30 seconds. https://claude.ai/code/session_01MYoW1tEjNnnHmZ4w2ifdLM
Fix push notifications getting wedged after running for a while Root causes: - Unsafe type assertion on subscription keys panicked, killing the daily goroutine permanently (no recovery = no more notifications until server restart) - HTTP response bodies not drained, exhausting connection pool over time - Expired subscriptions (410 Gone) never cleaned up, accumulating dead endpoints that cause timeouts - TTL of 60s too low — device briefly offline = missed notification Fixes: - Wrap daily loop body in anonymous func with defer/recover so panics don't kill the goroutine - Safe type assertions on subscription keys (returns error instead of panicking) - Drain response body after each push so connections get reused - Auto-remove subscriptions that return 404 or 410 - Increase TTL from 60s to 86400 (24 hours) https://claude.ai/code/session_01MYoW1tEjNnnHmZ4w2ifdLM
Add Media Session API for background audio playback Integrates the Media Session API so audio keeps playing when the phone screen turns off. Also shows lock-screen / notification controls with play/pause and skip between Arabic/English tracks. https://claude.ai/code/session_01MYoW1tEjNnnHmZ4w2ifdLM
Add transliteration tooltip on Arabic word click (#102) * Initial plan * Add clickable Arabic word transliteration tooltip When clicking an Arabic word in the Quran view, a tooltip appears showing the transliteration (pronunciation guide) for that word. This works in both Arabic-only mode and Translation mode with word-by-word enabled, in both the chapter view and single verse view. Co-authored-by: asim <17530+asim@users.noreply.github.com> * Fix className concatenation in ClickableArabicWord to avoid extra whitespace Co-authored-by: asim <17530+asim@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: asim <17530+asim@users.noreply.github.com>
Fix hadith duplicates, sidebar overflow, and Arabic text styling - Deduplicate hadiths in Load() by filtering entries with same narrator+text - Increase sidebar number width and add overflow-x-hidden - Add Arabic number markers to hadith text matching Quran style - Add tooltip for long book names in sidebar
PreviousNext