azu / azu/hatebupwa

Should not request when the device is offline

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
good first issue Type: Feature
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.