This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Commit d70d5cd 1 parent 7273be8 commit d70d5cd Copy full SHA for d70d5cd
File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -916,6 +916,7 @@ extension Pixel {
916
916
case openAIChatBefore10min
917
917
case openAIChatAfter10min
918
918
case aiChatNoRemoteSettingsFound( settings: String )
919
+ case openAIChatFromAddressBar
919
920
920
921
// MARK: Lifecycle
921
922
case appDidTransitionToUnexpectedState
@@ -1833,6 +1834,7 @@ extension Pixel.Event {
1833
1834
case . openAIChatBefore10min: return " m_aichat_open_before_10_min "
1834
1835
case . aiChatNoRemoteSettingsFound( let settings) :
1835
1836
return " m_aichat_no_remote_settings_found- \( settings. lowercased ( ) ) "
1837
+ case . openAIChatFromAddressBar: return " m_aichat_addressbar_icon "
1836
1838
1837
1839
// MARK: Lifecycle
1838
1840
case . appDidTransitionToUnexpectedState: return " m_debug_app-did-transition-to-unexpected-state "
Original file line number Diff line number Diff line change @@ -2089,7 +2089,9 @@ extension MainViewController: OmniBarDelegate {
2089
2089
switch accessoryType {
2090
2090
case . chat:
2091
2091
openAIChat ( )
2092
+ Pixel . fire ( pixel: . openAIChatFromAddressBar)
2092
2093
case . share:
2094
+ Pixel . fire ( pixel: . addressBarShare)
2093
2095
currentTab? . onShareAction ( forLink: link, fromView: viewCoordinator. omniBar. accessoryButton)
2094
2096
}
2095
2097
}
Original file line number Diff line number Diff line change @@ -546,7 +546,6 @@ class OmniBar: UIView {
546
546
}
547
547
548
548
@IBAction func onAccessoryPressed( _ sender: Any ) {
549
- Pixel . fire ( pixel: . addressBarShare)
550
549
omniDelegate? . onAccessoryPressed ( accessoryType: accessoryType)
551
550
}
552
551
You can’t perform that action at this time.
0 commit comments