Skip to content
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

CRM-20621 - Initial cleanup toward performance improvements #12256

Merged
merged 1 commit into from
Jun 5, 2018

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Jun 4, 2018

This is a minor code tidy-up which will result in a smaller payload being sent from the server to the jstree widget when managing tags. It removes empty values and unnecessary information from the json data.

Before

No change

After

No change

@colemanw
Copy link
Member Author

colemanw commented Jun 4, 2018

@monishdeb can you review/merge this one? It is just a preliminary code cleanup before tackling the issue I noted in https://issues.civicrm.org/jira/browse/CRM-20621

@monishdeb
Copy link
Member

Thanks, @colemanw for this cleanup. I tested the patch on the test build and found a difference when I compared with the tag tree w/o this patch where the reserved tag isn't marked with * in their tag title. Please check the screencast for more detail:

BEFORE

test-multiple-before

AFTER

test-multiple-after

@colemanw
Copy link
Member Author

colemanw commented Jun 4, 2018

Thanks @monishdeb for checking that. It was a typo in the css class. Now fixed. Please check again.

@monishdeb
Copy link
Member

Yup it worked. Merging as I tested the patch on test build and didn't found any unintended regression. Code improvements look great.

@eileenmcnaughton
Copy link
Contributor

test this please

@colemanw colemanw merged commit 60e20bf into civicrm:master Jun 5, 2018
@colemanw colemanw deleted the CRM-20621 branch June 5, 2018 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants