Should not request when the device is offline
- Dominant language
- TypeScript
- Stars
- 45
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
We should not request to /hatebu when the device is offline.
## Todo
- [ ] Add network statsu to `AppSession`
- [ ] Reqeust UseCase use the network status of `AppSession`
## Priory Art
- https://github.com/azu/faao/blob/c39dec41e891ccc56207890089158300d2d2a5b6/src/component/container/ObserverContainer/ObserverContainer.tsx
- https://github.com/azu/faao/blob/master/src/domain/App/AppNetwork.ts
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked ObserverContainer.tsx reference and src/domain/App/AppNetwork.ts, then locate AppSession and the UseCase that requests /hatebu. Trace how network status can reach the request path; done means offline devices make no /hatebu request while online behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100