search reference: Replace 'email' with 'user'.

Previously, we used `sender:email`, for example, in our examples for
how to use search operators. This is correct for what ends up in the
search input, but the typeahead has a much nicer experience for
selecting a user, and the emails may be fake due to limited
email_address_visibility, so it's clearer to just refere to a user
here.

Fixes part of #23768.
This commit is contained in:
Anna Larsson
2022-12-09 00:02:15 +01:00
committed by Tim Abbott
parent 782947cfa0
commit 69304eb2d2

View File

@@ -28,29 +28,29 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="operator">pm-with:<span class="operator_value">email</span></td> <td class="operator">pm-with:<span class="operator_value">user</span></td>
<td class="definition"> <td class="definition">
{{#tr}} {{#tr}}
Narrow to private messages with <z-value></z-value>. Narrow to private messages with <z-value></z-value>.
{{#*inline "z-value"}}<span class="operator_value">email</span>{{/inline}} {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
{{/tr}} {{/tr}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="operator">group-pm-with:<span class="operator_value">email</span></td> <td class="operator">group-pm-with:<span class="operator_value">user</span></td>
<td class="definition"> <td class="definition">
{{#tr}} {{#tr}}
Narrow to group private messages with <z-value></z-value>. Narrow to group private messages with <z-value></z-value>.
{{#*inline "z-value"}}<span class="operator_value">email</span>{{/inline}} {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
{{/tr}} {{/tr}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="operator">sender:<span class="operator_value">email</span></td> <td class="operator">sender:<span class="operator_value">user</span></td>
<td class="definition"> <td class="definition">
{{#tr}} {{#tr}}
Narrow to messages sent by <z-value></z-value>. Narrow to messages sent by <z-value></z-value>.
{{#*inline "z-value"}}<span class="operator_value">email</span>{{/inline}} {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
{{/tr}} {{/tr}}
</td> </td>
</tr> </tr>