zulip/zulip-terminal

Support autocomplete of wildcard mentions

開放

#1,489 建立於 2024年4月23日

 (3 則留言) (0 個反應) (0 位負責人)Python (352 個分叉)github user discovery
area: autocompletefeature parity: 02.1 (or before)feature parity: 08feature parity: 09help wantedhigh prioritymissing feature: user

倉庫指標

星標
 (855 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Mentions in general are summarized here: https://docs.zulip.com/help/mention-a-user-or-group

Many of the options are autocompleted as documented in our FAQ entry.

Current outstanding elements are:

  • @**topic** (only feature level 224, Zulip 8?)
  • @**stream** / @**all** / @**everyone** (feature level 247 adds channel, will be Zulip 9)

For feature-level-dependence, we should skip autocompleting any that do not match the server version having a sufficiently large feature level. The web app currently only shows the two shortest (available) matching wildcard options - but best to confirm with the web app behavior when implementing.

Implementation of this may depend on elements of #1164, to allow any matching wildcard mentions to be made distinct from stream/group mentions, or other related improvements. In a similar way, we should examine the order of web app autocomplete for comparison.

A connected feature would be to extend notifications, which also relates to some of these elements and could be improved substantially in #666.

This may need some discussion first, but a sample with tests should be well-defined by the above.

貢獻者指南