Skip to content

Conversation

@aibrahim-
Copy link
Contributor

@aibrahim- aibrahim- commented Jan 15, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/1212608036467427/task/1212695169153020?focus=true

Description

Create a user controlled settings toggle to disable tracker animation in address bar.

Steps to test this PR

Open the app
Load any site with trackers.
Observe trackers blocked animation in address bar.
Go to Settings => Appearance => Disable toggle.
Visit a new site (not just refresh).
Observe no animation in address bar.
Repeat and verify for custom-tabs

UI changes

recording.mp4

Note

Introduces a user-controlled setting to enable/disable the address bar trackers animation and reorganizes related Appearance settings.

  • Adds showTrackersCountInAddressBar preference in SettingsDataStore (default true) with UI toggle in activity_appearance.xml under a new "Trackers Blocked Animation" section; strings and translations added
  • AppearanceViewModel: exposes isAddressBarTrackersAnimationEnabled and shouldShowAddressBarTrackersAnimationItem (gated by AddressBarTrackersAnimationManager.isFeatureEnabled()), persists changes, and fires pixel m_appearance_settings_is_tracker_count_in_address_bar_toggled
  • BrowserTabViewModel: respects the new setting in isTrackersAnimationEnabled; OmnibarLayoutViewModel uses view state flag for isAddressBarTrackersAnimationEnabled
  • PixelParamRemovalInterceptor updated to strip params for the new pixel; pixel definition added in PixelDefinitions/pixels/appearance_settings.json5
  • Tests added/updated for settings persistence, visibility gating, and animation enablement logic

Written by Cursor Bugbot for commit 9810d76. This will update automatically on new commits. Configure here.

@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch from 78eb66c to 4901fcd Compare January 15, 2026 11:58
@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch 2 times, most recently from 379ed62 to 06384f5 Compare January 15, 2026 12:47
@mikescamell mikescamell self-assigned this Jan 16, 2026
@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch 7 times, most recently from d94a071 to 33bdf88 Compare January 19, 2026 10:03
@github-actions
Copy link
Contributor

Privacy Review task: https://app.asana.com/0/69071770703008/1212857118626392

@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch 2 times, most recently from 4f3344c to 88222b3 Compare January 21, 2026 18:27
cursor[bot]

This comment was marked as outdated.

@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch 2 times, most recently from 44c3964 to dd0ed19 Compare January 21, 2026 19:29
cursor[bot]

This comment was marked as outdated.

@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch from dd0ed19 to d2a656b Compare January 21, 2026 19:46
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch from d2a656b to 84e29f6 Compare January 22, 2026 20:08
@mikescamell
Copy link
Contributor

I think we should remove showTrackerCountInTabSwitcher string and all it's translations now that we're using showWeeklyTrackerCountInTabSwitcher 👍

@aibrahim- aibrahim- force-pushed the feature/aibrahim/toggle_tracker_count_animation branch from 84e29f6 to 7e93e73 Compare January 23, 2026 13:04
Translations for: #7492
Task/Issue URL:
https://app.asana.com/1/137249556945/project/1212608036467427/task/1212746115452340

### Description

### Steps to test this PR

_Feature 1_
- [ ]
- [ ]

### UI changes
| Before  | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|



<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Adds localized strings for the tracker-blocked count animation and
related settings across many locales, and updates EN resources
accordingly.
> 
> - Introduces `trackerBlockedInTheLast7days` plus labels for the
feature (`settingsTrackersBlockedAnimationHeaderTitle`,
`showTrackerCountInAddressBar`, `showWeeklyTrackerCountInTabSwitcher`)
in `values-*.xml`
> - Removes these keys from `values/donottranslate.xml` and adds them to
`values/strings.xml` (EN), replacing the old
`showTrackerCountInTabSwitcher`
> - Minor copy/format adjustments per locale (bold tags, placeholders)
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
a36f05b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Dax The Translator <daxmobile@duckduckgo.com>
Copy link
Contributor

@mikescamell mikescamell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢 🇮🇹

Feel free to merge after tests pass 👍

@aibrahim- aibrahim- merged commit d9fe105 into develop Jan 27, 2026
12 checks passed
@aibrahim- aibrahim- deleted the feature/aibrahim/toggle_tracker_count_animation branch January 27, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants