You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the group screen, filters are not divided into groups (unlike the mockup), and sorted by: "enabled filters, displayNumber".
One more difference: we need to display tags as material "chips" under every filter. Tap on a chip shows its name & description (check the filters_i18n.json).
What happens when you enable or disable a filter group
First of all, it does not change the filters statuses. What changes is the group status and that's all.
By default, only recommended filters are enabled.
When you open the group screen of a disabled group, status "switches" should be in a disabled state
The text was updated successfully, but these errors were encountered:
First of all, we should no more use the local database to store filters metadata.
Instead of that, use the filters metadata in a JSON format.
Get it from here when building AdGuard:
https://filters.adtidy.org/android/filters.json
And get the localization from here:
https://filters.adtidy.org/android/filters_i18n.json
Note the tags we have there.
These tags have multiple purposes:
purpose:
tags define the filters purposes. We will use it to divide filters into different groups.lang:
tags mark the language-specific filters.recommended
tag marks filters that will be enabled by default when the user enables a filter group for the first time.Filters settings screen
The first screen shows a list of groups:
https://uploads.adguard.com/up04_o1fxy_05-filters.psd.png
Every filter group can be enabled or disabled.
It has nothing to do with the individual filters status.
Groups we have:
Ads
(filters withpurpose:ads
)Privacy
(filters withpurpose:privacy
)Social Widgets
(filters withpurpose:social
)Security
(filters withpurpose:security
)Annoyances
(filters withpurpose:annoyances
)Language-specific
(filters with anylang:
tag)Other
(filters that do not fall into any of the categories above)Custom
(subscriptions added by the user)Filters group
Mockup: https://uploads.adguard.com/up04_cm3go_05-filters-template.psd.png
On the group screen, filters are not divided into groups (unlike the mockup), and sorted by: "enabled filters, displayNumber".
One more difference: we need to display tags as material "chips" under every filter. Tap on a chip shows its name & description (check the
filters_i18n.json
).What happens when you enable or disable a filter group
recommended
filters are enabled.The text was updated successfully, but these errors were encountered: