Skip to content
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

Omnibar position: Pixels #4974

Merged

Conversation

0nko
Copy link
Member

@0nko 0nko commented Sep 2, 2024

Task/Issue URL: https://app.asana.com/0/1207418217763355/1208145303592222/f

Description

This PR implements a new plugin that allows the m_browser_feature_daily_active_user_d pixel to collect additional parameters from different parts of the app. This is used to report the omnibar position.

Steps to test this PR

Omnibar position selection

  • Go to Settings -> Appearance
  • Tap on the Address bar option
  • Verify that ms_address_bar_position_setting_pressed pixel is fired
  • Select the Top option
  • Verify that ms_address_bar_position_setting_selected_top pixel is fired
  • Tap on the address bar again
  • Select the Bottom option
  • Verify that ms_address_bar_position_setting_selected_bottom pixel is fired

Omnibar position detection

  • Uninstall the app, if already installed
  • Run the app
  • Verify thatm_browser_feature_daily_active_user_d pixel is fired with params: {default_browser=0, email=0, voice_search=0, address_bar=[[CURRENT OMNIBAR POSITION]], locale=en-US} with the correct position

Copy link
Member Author

0nko commented Sep 2, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @0nko and the rest of your teammates on Graphite Graphite

@0nko 0nko requested a review from malmstein September 2, 2024 12:38
@0nko 0nko force-pushed the feature/ondrej/omnibar-position-privacy-popup branch from 1b4d7ee to c371e1d Compare September 3, 2024 14:37
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch from aaeccf4 to b960ce7 Compare September 3, 2024 14:37
@0nko 0nko force-pushed the feature/ondrej/omnibar-position-privacy-popup branch from c371e1d to fed3685 Compare September 9, 2024 15:01
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch from b960ce7 to e604cb8 Compare September 9, 2024 15:02
Base automatically changed from feature/ondrej/omnibar-position-privacy-popup to feature/ondrej/omnibar-position September 9, 2024 15:59
@0nko 0nko force-pushed the feature/ondrej/omnibar-position branch from 40ecd9e to b0dd837 Compare September 9, 2024 16:55
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch 2 times, most recently from 18e9284 to 0a11291 Compare September 9, 2024 17:29
@0nko 0nko force-pushed the feature/ondrej/omnibar-position branch from 7bd0bd1 to cd4a537 Compare September 12, 2024 09:46
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch 3 times, most recently from 97184fd to 54be351 Compare September 12, 2024 10:43
@0nko 0nko mentioned this pull request Sep 12, 2024
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch from 54be351 to 415a983 Compare September 12, 2024 11:58
@0nko 0nko force-pushed the feature/ondrej/omnibar-position branch from 1672676 to 37114ff Compare September 17, 2024 14:33
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch from 415a983 to 518ff2b Compare September 17, 2024 14:33
0nko and others added 8 commits September 19, 2024 10:39
Task/Issue URL: https://app.asana.com/0/0/1208157864474373/f

### Description

### Steps to test this PR

- [ ] Start the omnibar at the top
- [ ] Reload the page and notice the dummy toolbar is shown at the top
- [ ] Change the omnibar to the bottom
- [ ] Reload the page and notice the dummy toolbar is shown at the
bottom
Task/Issue URL:
https://app.asana.com/0/1207418217763355/1208166986247266/f

- [ ] Change the omnibar position to the bottom
- [ ] Start typing in the address bar
- [ ] Notice the suggestions are correctly displayed above the toolbar

| Before  | After |
| ------ | ----- |

![image](https://github.com/user-attachments/assets/dfae5e47-a6e1-4d4d-bc25-4847ef4a0a32)|![image](https://github.com/user-attachments/assets/7ef7a0f9-cc74-41f5-8f28-d1d3462b740f)|
@0nko 0nko force-pushed the feature/ondrej/omnibar-position branch from 37114ff to 3864a65 Compare September 19, 2024 09:00
@0nko 0nko force-pushed the feature/ondrej/omnibar-bottom-pixels branch from 518ff2b to 589e086 Compare September 19, 2024 09:00
Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

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

Works as expected!

@0nko 0nko merged commit fe8ac74 into feature/ondrej/omnibar-position Sep 19, 2024
2 of 6 checks passed
@0nko 0nko deleted the feature/ondrej/omnibar-bottom-pixels branch September 19, 2024 10:33
0nko added a commit that referenced this pull request Sep 19, 2024
Task/Issue URL:
https://app.asana.com/0/1207418217763355/1208145303592222/f

### Description

This PR implements a new plugin that allows the
`m_browser_feature_daily_active_user_d` pixel to collect additional
parameters from different parts of the app. This is used to report the
omnibar position.

### Steps to test this PR

_Omnibar position selection_
- [x] Go to Settings -> Appearance
- [x] Tap on the Address bar option
- [x] Verify that `ms_address_bar_position_setting_pressed` pixel is
fired
- [x] Select the Top option
- [x] Verify that `ms_address_bar_position_setting_selected_top` pixel
is fired
- [x] Tap on the address bar again
- [x] Select the Bottom option
- [x] Verify that `ms_address_bar_position_setting_selected_bottom`
pixel is fired

_Omnibar position detection_
- [x] Uninstall the app, if already installed
- [x] Run the app
- [x] Verify that`m_browser_feature_daily_active_user_d` pixel is fired
with params: `{default_browser=0, email=0, voice_search=0,
address_bar=[[CURRENT OMNIBAR POSITION]], locale=en-US}` with the
correct position
0nko added a commit that referenced this pull request Sep 23, 2024
Task/Issue URL:
https://app.asana.com/0/1207418217763355/1208145303592222/f

### Description

This PR implements a new plugin that allows the
`m_browser_feature_daily_active_user_d` pixel to collect additional
parameters from different parts of the app. This is used to report the
omnibar position.

### Steps to test this PR

_Omnibar position selection_
- [x] Go to Settings -> Appearance
- [x] Tap on the Address bar option
- [x] Verify that `ms_address_bar_position_setting_pressed` pixel is
fired
- [x] Select the Top option
- [x] Verify that `ms_address_bar_position_setting_selected_top` pixel
is fired
- [x] Tap on the address bar again
- [x] Select the Bottom option
- [x] Verify that `ms_address_bar_position_setting_selected_bottom`
pixel is fired

_Omnibar position detection_
- [x] Uninstall the app, if already installed
- [x] Run the app
- [x] Verify that`m_browser_feature_daily_active_user_d` pixel is fired
with params: `{default_browser=0, email=0, voice_search=0,
address_bar=[[CURRENT OMNIBAR POSITION]], locale=en-US}` with the
correct position
0nko added a commit that referenced this pull request Sep 23, 2024
Task/Issue URL:
https://app.asana.com/0/1207418217763355/1208145303592222/f

### Description

This PR implements a new plugin that allows the
`m_browser_feature_daily_active_user_d` pixel to collect additional
parameters from different parts of the app. This is used to report the
omnibar position.

### Steps to test this PR

_Omnibar position selection_
- [x] Go to Settings -> Appearance
- [x] Tap on the Address bar option
- [x] Verify that `ms_address_bar_position_setting_pressed` pixel is
fired
- [x] Select the Top option
- [x] Verify that `ms_address_bar_position_setting_selected_top` pixel
is fired
- [x] Tap on the address bar again
- [x] Select the Bottom option
- [x] Verify that `ms_address_bar_position_setting_selected_bottom`
pixel is fired

_Omnibar position detection_
- [x] Uninstall the app, if already installed
- [x] Run the app
- [x] Verify that`m_browser_feature_daily_active_user_d` pixel is fired
with params: `{default_browser=0, email=0, voice_search=0,
address_bar=[[CURRENT OMNIBAR POSITION]], locale=en-US}` with the
correct position
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.

2 participants