-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Core#2918 Implement new UI for configuring dedupe rule usage. #22804
Conversation
(Standard links)
|
d2a3d32
to
faff5d8
Compare
There seems to be style failures in |
Jenkins re test this please |
test this please |
@braders We are reviewing PR's and we came across this one. We checked the PR in the related test environment to this PR. However we could not click Change Usagge. Nothing happens when we click on that button. We tried it with an existing rule, a new rule in both cases nothing lets us change the Usage. Can you have another look? |
@jaapjansma Thanks for spotting that. It appears I was using Drupals outdated jQuery rather than |
faff5d8
to
232d712
Compare
@jaapjansma This is now working correctly in the test environment. |
@braders this will address https://lab.civicrm.org/dev/core/-/issues/1769 as well |
test this please |
@eileenmcnaughton or @seamuslee001 can one of you merge this PR? |
In general, CiviCRM has a problem with managing css. I certainly don't love adding lines to the global |
Overview
This implements the new UI proposed and discussed in Core#2918.
Before
Currently the UI for configuring dedupe rules allows the usage to be selected from a list of radio options:
This is problematic for multiple reasons:
After
The UI is now driven through a popup allowing much more context into the available options:
It is no longer possible to change the usage for supervised and unsupervised rules - the "change usage" button is disabled, and the
title
attribute set to read "To change the usage for this rule, please configure another rule as Supervised":Comments
Minor CSS adjustments have been made, which will affect non-default themes. However, without the CSS changes the functionality is still perfectly usable, so this shouldn't be a big issue.