Skip to content

Claude/track api usage l6x8s#352

Merged
asim merged 3 commits intomainfrom
claude/track-api-usage-L6x8s
Mar 23, 2026
Merged

Claude/track api usage l6x8s#352
asim merged 3 commits intomainfrom
claude/track-api-usage-L6x8s

Conversation

@asim
Copy link
Member

@asim asim commented Mar 23, 2026

No description provided.

claude added 3 commits March 23, 2026 16:24
Publish reminder_updated event when either the hourly rotation or
contextual verse updates the card, and subscribe in home to trigger
ForceRefresh. Fixes the same 2-minute TTL stale cache issue that
affected the social card.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
The contextual verse now links to reminder.dev/quran/{chapter}/{verse}
instead of just reminder.dev. Refactored pickBestVerse to return a
struct with chapter/verse metadata for URL construction.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
- Like reminder.dev's getVerse(), check if a verse ends mid-sentence
  and extend forward through consecutive verses (up to 10) until
  terminal punctuation is reached
- Show verse ranges in reference (e.g. "Al-Baqarah (2:155-157)")
- Link always points to the first verse: /quran/{chapter}#{first_verse}
- Only use Quran verses, no hadith or names fallback
- If no Quran verse found, fall back to the hourly rotation from
  reminder.dev/api/latest

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
@asim asim merged commit d26dd57 into main Mar 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants