duckduckgo / Android

DuckDuckGo Android App
https://play.google.com/store/apps/details?id=com.duckduckgo.mobile.android
Apache License 2.0
3.62k stars 872 forks source link

Warn user about sync unavailable #4571

Closed cmonfortep closed 1 month ago

cmonfortep commented 1 month ago

Task/Issue URL: https://app.asana.com/0/1149059203486286/1207374369607209/f

Description

It might be that clients are rejected by the BE if they trigger too many requests within a threshold, or server is a teapot. In that case we want to warn the user if 10 consecutive calls are rejected, or if after a failure there is no success sync in 12h. (notified once per day)

Steps to test this PR

Feature 1

( optional tests)

UI changes

Before After
!(Upload before screenshot) (Upload after screenshot)
cmonfortep commented 1 month ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @cmonfortep and the rest of your teammates on Graphite Graphite