Android
Android copied to clipboard
Differentiate favorites grid pixel based on origen
Task/Issue URL: https://app.asana.com/0/1174433894299346/1208571301207064
Description
This PR differentiates pixels launched from the Favorites view. As of now, they can come from Focused state or New Tab Page.
Steps to test this PR
Focused state
- [ ] Open an app and add a favorite
- [ ] Tap on the omnibar so the focused state view appears
- [ ] Long press on the favorite
- [ ] Tap on Edit
- [ ] Verify
m_edit_favourite_dialog_shown_focused_stateis fired - [ ] Verify
m_edit_favourite_dialog_shown_daily_focused_stateis fired - [ ] Go back and long press again
- [ ] Tap on Remove and wait for the snackbar to disappear
- [ ] Verify
m_favorite_removed_focused_stateis fired - [ ] Verify
m_favorite_removed_daily_focused_stateis fired - [ ] Add the same favourite again and open focused state again
- [ ] Long press favourite, tap on Delete and wait for the snackbar to disappear
- [ ] Verify
m_favorite_deleted_focused_stateis fired - [ ] Verify
m_favorite_deleted_daily_focused_stateis fired - [ ] Add the same favourite again and open focused state again
- [ ] Tap on the favorite
- [ ] Verify
m_favorite_clicked_focused_stateis fired - [ ] Verify
m_favorite_clicked_focused_state_dailyis fired
New Tab
- [ ] Open an app and add a favorite
- [ ] Open New Tab
- [ ] Long press on the favorite
- [ ] Tap on Edit
- [ ] Verify
m_edit_favourite_dialog_shown_new_tab_pageis fired - [ ] Verify
m_edit_favourite_dialog_shown_daily_new_tab_pageis fired - [ ] Go back and long press again
- [ ] Tap on Remove and wait for the snackbar to disappear
- [ ] Verify
m_favorite_removed_new_tab_pageis fired - [ ] Verify
m_favorite_removed_daily_new_tab_pageis fired - [ ] Add the same favourite again and open focused state again
- [ ] Long press favourite, tap on Delete and wait for the snackbar to disappear
- [ ] Verify
m_favorite_deleted_new_tab_pageis fired - [ ] Verify
m_favorite_deleted_daily_new_tab_pageis fired - [ ] Add the same favourite again and open focused state again
- [ ] Tap on the favorite
- [ ] Verify
m_favorite_clicked_new_tab_pageis fired - [ ] Verify
m_favorite_clicked_new_tab_pageis fired
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @malmstein and the rest of your teammates on
Graphite
Thanks @mikescamell !