[1.4] Add UI for the Cookie Banner preferences in Focus
Categories
(Focus :: General, task, P2)
Tracking
(Not tracked)
People
(Reporter: amejia, Assigned: giorga)
References
Details
(Whiteboard: [cookie-banner] [geckoview:m108] [geckoview:m109])
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The link to be used for SUMO is https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/cookie-banner-reduction
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
•
|
||
Settings part
This is the GeckoView interface for Cookie banner
* Represents settings options for cookie banner handling.
enum class CookieBannerHandlingMode(val mode: Int) {
* The feature is turned off and cookie banners are not handled
DISABLED(0),
* Reject cookies if possible
REJECT_ALL(1),
* Reject cookies if possible. If rejecting is not possible, accept cookies
REJECT_OR_ACCEPT_ALL(2),
}
Synthesising the Figma design we will have the following 3 scenarios:
1)If the 'Auto cookie banner consent' is not checked 'Further reduce cooke banners' item will be invisible and value for Cookie banner conform GeckoView interface will be DISABLED(0).
2) If the 'Auto cookie banner consent' is checked 'Further reduce cooke banners' item will be visible and unchecked the value for Cookie banner conform GeckoView interface will be REJECT_ALL(1).
3)If the 'Auto cookie banner consent' is checked 'Further reduce cooke banners' item will be visible and checked the value for Cookie banner conform GeckoView interface will be REJECT_OR_ACCEPT_ALL(2).
PS : If the user unchecked 'Auto cookie banner consent' 'Further reduce cooke banners' will become unchecked .
When the user enters first in the App the value will be REJECT_ALL(1) .
When the cookie banner option is disabled, the summary text for preference will be Off, and when the cookie banner option is reject_or_accept_all or reject_all, it will be On.
The link to be used for SUMO is https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/auto-cookie-banner
| Assignee | ||
Comment 3•3 years ago
|
||
This is the pr https://github.com/mozilla-mobile/focus-android/pull/8008
This is the ticket from github https://github.com/mozilla-mobile/focus-android/issues/7965
Comment 4•3 years ago
|
||
Verified on a local debug build from 11/25 that:
- the "Cookie Banner Reduction" option is available in Settings - Privacy & Security - Cookies and Site Data,
- the "Further reduce cookie banners" option is displayed only when the "Cookie Banner Reduction" toggle is enabled,
- the "Further reduce cookie banners" option can be checked/unchecked, and it is working correctly.
| Reporter | ||
Comment 5•3 years ago
•
|
||
🎉
Thanks @miralobontiu and @Iorga!
Description
•