Melsaeed276 / Melsaeed276/Hatim_Program
prayer-times: background refresh, offline fallback, and resilience
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Goal
Add background refresh and offline resilience for prayer-time module.
Scope
- Refresh prayer data daily and on app resume.
- Keep last successful schedule for offline usage.
- Gracefully degrade when API is unavailable.
- Add logging/telemetry hooks for fetch failures.
Acceptance Criteria
- App continues showing last valid times when offline.
- Data refreshes automatically at configured points.
- Failure paths are visible in logs and non-blocking in UI.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the prayer-time module and its API fetch path, then inspect how app resume and scheduled work are handled. Done means refreshes occur at the configured points, the last valid schedule remains available offline, failures are logged without blocking the UI, and the relevant behavior is covered by existing project checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100