Bug 1919180 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

When the user enters search mode by typing these symbols (*, ^, %, >) , it is currently being record via: 
`urlbar.searchmode.typed`
 
E.g. Type the percent sign + a space `% ` to enter search mode for tabs, telemetry is recorded as:

name              value
tabs 	1 

We want to add telemetry so we can understand when the user enters search mode via the new restrict keywords (@tabs, @history, @bookmarks, @actions) rather than using the symbols.
 
We can add **`urlbar.picked.searchmode.typed_restrict_keyword`** to record these actions: 
- type full keyword and a space `@tabs `
- type partial keyword `@t` and press right arrow to autofill

Other actions of using the new restrict keywords is recorded through an existing probe **`urlbar.picked.searchmode.keywordoffer`**. The keywordoffer is recorded in these actions: 
- type `@t` and press enter to autofill
- type `@t` and press tab and then enter
- type `@` and click on tabs result
- type `@` and arrow down to select tabs result and press enter
When the user enters search mode by typing these symbols (*, ^, %, >) , it is currently being record via: 
`urlbar.searchmode.typed`.

We want to add telemetry so we can understand when the user enters search mode via the new restrict keywords (@tabs, @history, @bookmarks, @actions) rather than using the symbols.

## Summary of changes

- `urlbar.searchmode.typed`: Prefixed with "keyword" for restrict keyword entries and "symbol" for symbol entries.
- `urlbar.searchmode.keywordoffer`: Prefixed with "keyword" for restrict keyword entries via keywordoffer.
- Example: History search mode scalar key is `history_keyword` for restrict keyword and `history_symbol` for symbol.

 
## Testing restrict keyword tabs example: 

### urlbar.searchmode.typed 

- type full keyword `@tabs`
- type partial keyword `@t` and press right arrow to autofill


### urlbar.searchmode.keywordoffer

- type`@` and click on tabs result
- type`@` and arrow down to tabs result and press enter
- type partial keyword `@t` and press enter to autofill
- type partial keyword `@t` and press tab and then enter
The Scalar should be
When the user enters search mode by typing these symbols (*, ^, %, >) , it is currently being record via: 
`urlbar.searchmode.typed`.

We want to add telemetry so we can understand when the user enters search mode via the new restrict keywords (@tabs, @history, @bookmarks, @actions) rather than using the symbols. The scalar keys for `urlbar.searchmode.typed` and `urlbar.searchmode.keywordoffer` has been updated. 

## Summary of changes

- `urlbar.searchmode.typed`: Prefixed with "keyword" for restrict keyword entries and "symbol" for symbol entries.
- `urlbar.searchmode.keywordoffer`: Prefixed with "keyword" for restrict keyword entries via keywordoffer.
- Example: History search mode scalar key is `history_keyword` for restrict keyword and `history_symbol` for symbol.

 
## Testing restrict keyword tabs example: 

### urlbar.searchmode.typed 

- type full keyword `@tabs`
- type partial keyword `@t` and press right arrow to autofill


### urlbar.searchmode.keywordoffer

- type`@` and click on tabs result
- type`@` and arrow down to tabs result and press enter
- type partial keyword `@t` and press enter to autofill
- type partial keyword `@t` and press tab and then enter
The Scalar should be
When the user enters search mode by typing these symbols (*, ^, %, >) , it is currently being record via: 
`urlbar.searchmode.typed`.

We want to add telemetry so we can understand when the user enters search mode via the new restrict keywords (@tabs, @history, @bookmarks, @actions) rather than using the symbols. The scalar keys for `urlbar.searchmode.typed` and `urlbar.searchmode.keywordoffer` has been updated. 

## Summary of changes

- `urlbar.searchmode.typed`: The scalar key is prefixed with "keyword" for restrict keyword entries and "symbol" for symbol entries.
- `urlbar.searchmode.keywordoffer`: The scalar key is prefixed with "keyword" for restrict keyword entries via keywordoffer.
- Example: History search mode scalar key is `history_keyword` for restrict keyword and `history_symbol` for symbol.

 
## Restrict keywords (@bookmarks, @tabs, @history, @actions):

### Testing Steps

- type full keyword `@tabs`
- type partial keyword `@t` and press right arrow to autofill

#### Expected telemetry scalar keys for urlbar.searchmode.typed 
tabs_keyword 


### Testing Steps

- type`@` and click on tabs result
- type`@` and arrow down to tabs result and press enter
- type partial keyword `@t` and press enter to autofill
- type partial keyword `@t` and press tab and then enter



#### Expected telemetry scalar key for urlbar.searchmode.keywordoffer
tabs_keyword 


## Symbols (%, ^, *, >):

### Testing Steps
- type `%` and space to enter tabs search mode
- type `^` and space to enter history search mode
- type `*` and space to enter bookmarks search mode
- type `>` and space to enter actions search mode


#### Expected telemetry scalar keys for urlbar.searchmode.typed
tabs_symbol 
history_symbol 
bookmarks_symbol 
actions_symbol
When the user enters search mode by typing these symbols (*, ^, %, >) , it is currently being record via: 
`urlbar.searchmode.typed`.

We want to add telemetry so we can understand when the user enters search mode via the new restrict keywords (@tabs, @history, @bookmarks, @actions) rather than using the symbols. The scalar keys for `urlbar.searchmode.typed` and `urlbar.searchmode.keywordoffer` has been updated. 

## Summary of changes

- `urlbar.searchmode.typed`: The scalar key is suffixed with "keyword" for restrict keyword entries and "symbol" for symbol entries.
- `urlbar.searchmode.keywordoffer`: The scalar key is suffix with "keyword" for restrict keyword entries via keywordoffer.
- Example: History search mode scalar key is `history_keyword` for restrict keyword and `history_symbol` for symbol.

 
## Restrict keywords (@bookmarks, @tabs, @history, @actions):

### Testing Steps

- type full keyword `@tabs`
- type partial keyword `@t` and press right arrow to autofill

#### Expected telemetry scalar keys for urlbar.searchmode.typed 
tabs_keyword 


### Testing Steps

- type`@` and click on tabs result
- type`@` and arrow down to tabs result and press enter
- type partial keyword `@t` and press enter to autofill
- type partial keyword `@t` and press tab and then enter



#### Expected telemetry scalar key for urlbar.searchmode.keywordoffer
tabs_keyword 


## Symbols (%, ^, *, >):

### Testing Steps
- type `%` and space to enter tabs search mode
- type `^` and space to enter history search mode
- type `*` and space to enter bookmarks search mode
- type `>` and space to enter actions search mode


#### Expected telemetry scalar keys for urlbar.searchmode.typed
tabs_symbol 
history_symbol 
bookmarks_symbol 
actions_symbol
When the user enters search mode by typing these symbols (*, ^, %, >) , it is currently being record via: 
`urlbar.searchmode.typed`.

We want to add telemetry so we can understand when the user enters search mode via the new restrict keywords (@tabs, @history, @bookmarks, @actions) rather than using the symbols. The scalar keys for `urlbar.searchmode.typed` and `urlbar.searchmode.keywordoffer` has been updated. 

## Summary of changes

- `urlbar.searchmode.typed`: The scalar key is suffixed with "keyword" for restrict keyword entries and "symbol" for symbol entries.
- `urlbar.searchmode.keywordoffer`: The scalar key is suffixed with "keyword" for restrict keyword entries via keywordoffer.
- Example: History search mode scalar key is `history_keyword` for restrict keyword and `history_symbol` for symbol.

 
## Restrict keywords (@bookmarks, @tabs, @history, @actions):

### Testing Steps

- type full keyword `@tabs`
- type partial keyword `@t` and press right arrow to autofill

#### Expected telemetry scalar keys for urlbar.searchmode.typed 
tabs_keyword 


### Testing Steps

- type`@` and click on tabs result
- type`@` and arrow down to tabs result and press enter
- type partial keyword `@t` and press enter to autofill
- type partial keyword `@t` and press tab and then enter



#### Expected telemetry scalar key for urlbar.searchmode.keywordoffer
tabs_keyword 


## Symbols (%, ^, *, >):

### Testing Steps
- type `%` and space to enter tabs search mode
- type `^` and space to enter history search mode
- type `*` and space to enter bookmarks search mode
- type `>` and space to enter actions search mode


#### Expected telemetry scalar keys for urlbar.searchmode.typed
tabs_symbol 
history_symbol 
bookmarks_symbol 
actions_symbol

Back to Bug 1919180 Comment 0