Add support for contacts autocompletion
What does this MR do and why?
It adds support for contacts autocomplete, under a feature flag (:contacts_autocomplete
). New syntax [contact:email@example.com]
is used.
Screenshots or screen recordings
How to set up and validate locally
- Enable feature flags:
Feature.enable(:contacts_autocomplete)
Feature.enable(:customer_relations)
- Visit any group general settings
http://127.0.0.1:3000/groups/flightjs/-/edit
- Enable the custom relations in
Permissions & group features
(last item in the section) - Check if you have any existing contacts (
http://127.0.0.1:3000/groups/flightjs/-/crm/contacts
) - Go to an issue in a group project
- Start typing
/add_contacts [contact:
- You should see some suggestions
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #350135 (closed)
Edited by Jarka Košanová