Closed gnprice closed 1 year ago
For the UI, I might first try experimenting with Flutter's Autocomplete
widget.
For the UI, I might first try experimenting with Flutter's
Autocomplete
widget.
Interesting find!
Discussion thread in chat: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/autocomplete.20UI/near/1588095
This Zulip feature: https://zulip.com/help/mention-a-user-or-group#from-the-compose-box
For a first prototype, it's fine to cover only the most prototypical user @-mentions, without (a) groups, (b) wildcards, or (c) silent mentions. If in our first PR implementing this feature, handling any or all of those would add complexity and not just fall out naturally, then we'll leave them aside and open new issues for them.
In addition to being a valuable feature for users, part of the value of this feature for the prototype is that it gives a workout to some of the trickier aspects of a text input — useful for #47:
Ideally, we'd show the list of options just above or below where the user's cursor is in the text input.
If we don't find a way to make this easy, then we should leave it out of the first version of autocomplete and settle for putting the box above the whole input, like in the RN app. We'll then file an issue to revisit it.