AdguardTeam / AdguardTeam/BrowserAssistant

Add 30 sec. countdown on the Browser Assistant icon (during `Do not filter for 30 seconds`)

オープン
#80 コメント 11 件 リアクション 1 件 担当者 0 名 GitHub で見る
Feature Request
主要言語
TypeScript
スター
51
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

#### Hi, :wave:
 
It might be a good idea IMHO to display the 30 second countdown on the extension icon, when using the `Don't filter for 30 seconds` option.

Useful, as we don't know where we are in time when we close the Browser Assistant popup and use the website. :relaxed:

:small_blue_diamond: **Possible subtlety:** trigger its display only when the popup is closed. This, in order to prevent a double display of the countdown while the popup is still open — i.e. on the extension icon + in the popup. And … leave it or not on the extension icon if/when the popup is reopened (up to you).
 

## Visual rendering

![AdGuard_f6FhzH4Zha](https://user-images.githubusercontent.com/4764956/184269094-eba4eb85-3d93-4491-a4e4-1a63d854d76d.png)
###### :arrow_right_hook: _Like this but with a gray shield and displaying `19s` instead — if there are `19s` left in the countdown for example. :hourglass_flowing_sand:_

:information_source: **Versus blocking counter visually?** In addition to the presence of the character "s", and the decrease every second clearly recognizable, all this in addition on a _gray_ shield in this situation and as a result of the user's _immediate own action_, to be possibly even more visually distinct from a possible/probable future blocking counter — already present in `AdGuard Browser extension` —, just change the background color + text color + possibly _round_ the corners or display it within a circle or an oval instead. And/Or … either display at his side an _animated-or-not_ hourglass (:hourglass_flowing_sand:) or a vertical bar (such as a capital i) that decreases from top to bottom, or instead, if displayed within a circle, simply animate the "unfilling" of the border of the circle itself to show that a countdown is in progress.

:bulb: **Future-proof:** Once the `30s` delay is over, the shield will turn green again (once [this issue](https://github.com/AdguardTeam/BrowserAssistant/issues/79) is fixed though) and … a potential future blocking counter will take over instead. To count the new blocked XHR & co requests for example. Not incompatible with the future, therefore. :heavy_check_mark:

 
___
#### _Thank you in advance. :thumbsup:_
_Environment_
**Browser Assistant** 1.3.13 on **Firefox** 103.0.2
**AdGuard** 7.10.2 on **Windows** 10 Pro 21H2 (OS Build 19044.1865)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。