-
-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete mention with spaces between first and last names #925
Comments
Can anyone help me out how this could be resolved? |
Hii, any updates or tips on this? |
@avats-dev Apologies for the slow reply. I'm wary you've understood the issue correctly? I think the issue description might need some improvements, as the autocomplete doesn't seem to show any results for full names? Hop in anytime in #zulip-terminal stream on czo. Feel free to discuss any issue/bug/problems etc in the community :) |
@avats-dev Are you asking as a user or a potential contributor? The solution may involve dynamically updating the delimiter which urwid-readline provides, but that's just an idea based on the approach I took to resolve this with autocomplete with spaces in the stream header, which is a lot simpler than general autocomplete in a body of text. |
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces. This is a potential WIP commit, and would possibly be amended as per the feedback. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. This is a potential WIP commit, and would possibly be amended as per the feedback. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. This is a potential WIP commit, and would possibly be amended as per the feedback. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. This is a potential WIP commit, and would possibly be amended as per the feedback. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. This is a potential WIP commit, and would possibly be amended as per the feedback. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. This is a potential WIP commit, and would possibly be amended as per the feedback. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. The default completer delims for message compose are stored in the constant `DELIMS_MESSAGE_COMPOSE`. The commit also fixes a bug in which a user isn't able to use autocompletes for space-containing texts. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. The default completer delims for message compose are stored in the constant `DELIMS_MESSAGE_COMPOSE`. The commit also fixes a bug in which a user isn't able to use autocompletes for space-containing texts. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. The default completer delims for message compose are stored in the constant `DELIMS_MESSAGE_COMPOSE`. The commit also fixes a bug in which a user isn't able to use autocompletes for space-containing texts. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. The default completer delims for message compose are stored in the constant `DELIMS_MESSAGE_COMPOSE`. The commit also fixes a bug in which a user isn't able to use autocompletes for space-containing texts. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
This small commit explicitly sets delimiter for msg_write_box, in order to support autocompletion of text with whitespaces, for both private and stream write boxes. Note that the delims specifed are default ones, except that whitespace is ignored, so as to make it function properly in autocompletes. The default completer delims for message compose are stored in the constant `DELIMS_MESSAGE_COMPOSE`. The commit also fixes a bug in which a user isn't able to use autocompletes for space-containing texts. Tests amended (comments) and added. The existing tests for space-containing prefixes are justified with this commit. Fixes zulip#925 as a side effect.
Mentioning a user with first name OR last name only works fine, but when trying to autocomplete mentioning them with full name, the autocomplete suggest users based on the last name only (assuming putting the cursor at the end of the last name) while it should use the words before the last name in suggestions too.
The text was updated successfully, but these errors were encountered: