Repository navigation
Conversation
Typing in To, CC or BCC suggests matching contacts of the selected account. Suggestions can be picked with mouse or keyboard and replace the recipient being typed.
…ents and ignore diacritics
tammi-23
force-pushed
the
feat/mail-recipient-suggestions
branch
from
October 23, 2026 14:18
1e63c9d to
358a30b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Suggests recipients from the contacts while composing an email:
role="combobox",aria-expanded,aria-activedescendant, listbox with options).New:
MailRecipientInput.vue(used for To / CC / BCC) anduseRecipientSuggestions.Deviation from the issue: the issue asks for debounced search requests. The mail server's contact filters (
name,email) only match whole words, though: "ad" finds nothing, "ada" finds Ada. That doesn't work for suggestions while typing. Instead, the contacts of the account are loaded once (up to 1000, cached for 5 minutes per account) and filtered locally, so typing doesn't send any requests. Loading is cancelled when a newer search starts. Once the backend supports prefix search (or a directory search, see #3844), this can switch to server-side search.This PR only touches the mail app and is independent of the other contacts PRs.
Related Issue
How Has This Been Tested?
groupware(with the local patches listed in Contacts MVP #3844), Stalwart 0.16.12, Chromek.johnson@nasa.example, grace@example.org,pnpm check:types,pnpm lint,pnpm format:checkTypes of changes