Skip to content

Tab Switcher Animation: Ship Review Change Translations #5786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

mikescamell
Copy link
Contributor

@mikescamell mikescamell commented Mar 18, 2025

Task/Issue URL: https://app.asana.com/0/488551667048375/1209710789450014/f

Description

Moved TabSwitcher Animation Tile Dialog string resources from donottranslate.xml to strings.xml to enable translation of these user-facing messages.

Steps to test this PR

TabSwitcher Animation Tile Dialog

  • Switch languages
  • Click the Tab Switcher Animation Panel
  • Confirm the dialog strings have been translated

UI changes

N/A

Copy link
Contributor Author

mikescamell commented Mar 18, 2025

@mikescamell mikescamell changed the base branch from feature/mike/tab-switcher-tile-animation/ship-review-changes to graphite-base/5786 March 18, 2025 10:10
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from 458aa5e to fc95edf Compare March 18, 2025 10:11
@mikescamell mikescamell changed the base branch from graphite-base/5786 to feature/mike/tab-switcher-tile-animation/ship-review-changes March 18, 2025 10:11
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from fc95edf to 9542c96 Compare March 18, 2025 10:43
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-changes branch from f18ba86 to 969bed2 Compare March 18, 2025 10:43
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from 9542c96 to 740d9cf Compare March 18, 2025 11:17
@mikescamell mikescamell changed the base branch from feature/mike/tab-switcher-tile-animation/ship-review-changes to graphite-base/5786 March 18, 2025 16:36
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from cdb792b to 231f7a0 Compare March 20, 2025 09:48
@mikescamell mikescamell changed the base branch from graphite-base/5786 to feature/mike/tab-switcher-tile-animation/ship-review-changes March 20, 2025 09:48
@mikescamell mikescamell changed the base branch from feature/mike/tab-switcher-tile-animation/ship-review-changes to graphite-base/5786 March 20, 2025 12:52
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from 231f7a0 to 6e965af Compare March 20, 2025 13:45
@mikescamell mikescamell changed the base branch from graphite-base/5786 to feature/mike/tab-switcher-tile-animation/ship-review-changes March 20, 2025 13:45
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from 6e965af to f38c857 Compare March 20, 2025 15:09
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-changes branch from 87266ae to f31f09f Compare March 21, 2025 08:55
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from ff0442f to eb5a0b1 Compare March 21, 2025 08:55
@mikescamell mikescamell force-pushed the feature/mike/tab-switcher-tile-animation/ship-review-translations branch from eb5a0b1 to 8d2e53e Compare March 21, 2025 09:11
@mikescamell mikescamell requested a review from 0nko March 21, 2025 16:17
@0nko 0nko self-assigned this Mar 21, 2025
Copy link
Member

@0nko 0nko left a comment

Choose a reason for hiding this comment

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

Works like a charm! :)

Task/Issue URL:
https://app.asana.com/0/1207908166761516/1209726015931612/f

### Description
Added tracking for the tab manager info panel with three new pixels:
- `m_tab_manager_info_panel_impressions` - Fired when the panel becomes
visible
- `m_tab_manager_info_panel_dismissed` - Fired when the panel is
dismissed, includes tracker count
- `m_tab_manager_info_panel_tapped` - Fired when the panel is tapped

Implemented visibility detection for the tracker animation info panel in
the tab switcher to accurately track impressions.

### Steps to test this PR

Pre-requisite: Enable `tabSwitcherAnimation` feature flag

_m_tab_manager_info_panel_impressions_
- [x] Start with no tabs
- [x] Open the TabSwitcher
- [x] Verify `m_tab_manager_info_panel_impressions` fires
- [x] Add many tabs (use developer settings to easily add 100)
- [x] Ensure that the active tab is one where you cannot see the
animated info panel
- [x] Close the TabSwitcher
- [x] Open the TabSwitcher
- [x] Ensure that `m_tab_manager_info_panel_impressions` is **not**
fired
- [x] Scroll up slowly to the animated tile until the bottom of the info
panel is barely visible
- [x] Ensure that `m_tab_manager_info_panel_impressions` is **not**
fired
- [x] Scroll up until ~75% of the tile is visible
- [x] Ensure that `m_tab_manager_info_panel_impressions` **is** fired
- [x] Scroll away from the InfoPanel until it is not visible
- [x] Scroll back to the InfoPanel 
- [x] Ensure that `m_tab_manager_info_panel_impressions` **is** fired
- [x] Scroll away from the InfoPanel until it is not visible
- [x] Switch layouts
- [x] Ensure that `m_tab_manager_info_panel_impressions` is **not**
fired

_m_tab_manager_info_panel_tapped_
- [x] Open the TabSwitcher
- [x] Tap on the panel and verify the tapped pixel is fired

_m_tab_manager_info_panel_dismissed_
- [x] Dismiss the panel and verify the dismissed pixel is fired with
tracker count

### UI changes
N/A
@mikescamell mikescamell merged commit f8d50af into feature/mike/tab-switcher-tile-animation/ship-review-changes Mar 21, 2025
4 of 5 checks passed
@mikescamell mikescamell deleted the feature/mike/tab-switcher-tile-animation/ship-review-translations branch March 21, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants