Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

11.1 KB
Raw Blame
<div class="overlay-modal hide" id="search-operators" tabindex="-1" role="dialog" aria-label="{{t 'Search filters' }}">
    <div class="overlay-scroll-container" data-simplebar data-simplebar-tab-index="-1" data-simplebar-auto-hide="false">
        <div id="operators-instructions">
            <table class="table table-striped table-rounded table-bordered help-table">
                <thead>
                    <tr>
                        <th id="search-operators-first-header">{{t "Filter" }}</th>
                        <th>{{t "Effect" }}</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="operator"><span class="operator_value">keyword</span></td>
                        <td class="definition">
                            {{#tr}}
                                Search for <z-value></z-value> in the topic or message content.
                                {{#*inline "z-value"}}<span class="operator_value">keyword</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">channel:<span class="operator_value">channel</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to messages on channel <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">channel</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">topic:<span class="operator_value">topic</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to messages with topic <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">topic</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:dm</td>
                        <td class="definition">
                            {{t 'Narrow to direct messages.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">dm:<span class="operator_value">user</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to 1-on-1 direct messages with <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">dm:<span class="operator_value">user A, user B</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to direct messages with specified users.
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">dm-including:<span class="operator_value">user</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to all direct messages that include <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">date:<span class="operator_value">date</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to messages around <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">date</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">channels:public</td>
                        <td class="definition">
                            {{#if can_access_all_public_channels }}
                            {{t 'Search all public channels.'}}
                            {{else}}
                            {{t 'Search all public channels that you can view.'}}
                            {{/if}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">channels:web-public</td>
                        <td class="definition">
                            {{t 'Search all web-public channels.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">channels:archived</td>
                        <td class="definition">
                            {{t 'Search your archived channels.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">sender:<span class="operator_value">user</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to messages sent by <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">sender:me</td>
                        <td class="definition">
                            {{t 'Narrow to messages sent by you.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">has:link</td>
                        <td class="definition">
                            {{t 'Narrow to messages containing links.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">has:attachment</td>
                        <td class="definition">
                            {{t 'Narrow to messages containing uploads.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">has:image</td>
                        <td class="definition">
                            {{t 'Narrow to messages containing images.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">has:reaction</td>
                        <td class="definition">
                            {{t 'Narrow to messages with emoji reactions.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:alerted</td>
                        <td class="definition">
                            {{t 'Narrow to messages with alert words.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:mentioned</td>
                        <td class="definition">
                            {{t 'Narrow to messages that mention you.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">mentions:<span class="operator_value">user</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to messages that mention <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">user</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:starred</td>
                        <td class="definition">
                            {{t 'Narrow to starred messages.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:resolved</td>
                        <td class="definition">
                            {{t 'Narrow to messages in resolved topics.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">-is:resolved</td>
                        <td class="definition">
                            {{t 'Narrow to messages in unresolved topics.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:followed</td>
                        <td class="definition">
                            {{t 'Narrow to messages in followed topics.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:unread</td>
                        <td class="definition">
                            {{t 'Narrow to unread messages.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">is:muted</td>
                        <td class="definition">
                            {{t 'Narrow to muted messages.'}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">near:<span class="operator_value">id</span></td>
                        <td class="definition">
                            {{#tr}}
                                Center the view around message ID <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">id</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">id:<span class="operator_value">id</span></td>
                        <td class="definition">
                            {{#tr}}
                                Narrow to just message ID <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">id</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                    <tr>
                        <td class="operator">-topic:<span class="operator_value">topic</span></td>
                        <td class="definition">
                            {{#tr}}
                                Exclude messages with topic <z-value></z-value>.
                                {{#*inline "z-value"}}<span class="operator_value">topic</span>{{/inline}}
                            {{/tr}}
                        </td>
                    </tr>
                </tbody>
            </table>
            <p>{{t "You can combine search filters as needed." }}</p>
            <hr />
            <a href="help/search-for-messages#search-filters" target="_blank" rel="noopener noreferrer">{{t "Detailed search filters documentation" }}</a>
        </div>
    </div>
</div>