-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Activity display, switch to more performance getActivities function (from deprecatedGetActivities) #12559
Conversation
…from deprecatedGetActivities)
(Standard links)
|
@eileenmcnaughton I couldn't actually reproduce the issue. Without this patch, the list of assignees was flush left. However, there was no negative impact from the PR -- they remained flush left. I tested both activities and case activities and the list opened pretty quickly and displayed properly. |
@lcdservices the visibility change was a side effect I noticed - but my main motivation was the speed issue - although it's much more prominent on getcount than on getactivities as getcount will retrieve all the activities on the contact's record I note that our performance issues on bad queries are rather magnified due to us having a larger DB than most |
@seamuslee001 @davejenx also keen to have you test this for performance & acl user impact. |
@eileenmcnaughton i'll see what i can do in the next day or so on both PRs just got a bit on testing wise |
Thanks @seamuslee001 |
I have tested this on our dev site using an ACLed user. I haven't seen any obvious signs of performance degradation and the activities still output correctly. This is good to merge |
Merging |
Thanks @seamuslee001 |
…o getActivitiesCount ditto for getActivities. This is a combination of 2 upstream PRs civicrm#12557 and civicrm#12559 Note - when trying to test use contact 72 - pretty sure at the moment the new code is on staging & old on live Bug: T199753 Bug: T191867 Change-Id: I1624b70eca431c018727618ebc7e8c35dc2121d4
…o getActivitiesCount ditto for getActivities. This is a combination of 2 upstream PRs civicrm#12557 and civicrm#12559 Note - when trying to test use contact 72 - pretty sure at the moment the new code is on staging & old on live Bug: T199753 Bug: T191867 Change-Id: I1624b70eca431c018727618ebc7e8c35dc2121d4
…o getActivitiesCount ditto for getActivities. This is a combination of 2 upstream PRs civicrm#12557 and civicrm#12559 Note - when trying to test use contact 72 - pretty sure at the moment the new code is on staging & old on live Bug: T199753 Bug: T191867 Change-Id: I1624b70eca431c018727618ebc7e8c35dc2121d4
…o getActivitiesCount ditto for getActivities. This is a combination of 2 upstream PRs civicrm#12557 and civicrm#12559 Note - when trying to test use contact 72 - pretty sure at the moment the new code is on staging & old on live Bug: T199753 Bug: T191867 Change-Id: I1624b70eca431c018727618ebc7e8c35dc2121d4
Overview
Minor performance improvement on activity tab. Improve code readability
Before
Note that the indent on the assigned fields increases with each contact added in a little diagnonal line
After
Most unchanged but a minor alignment improvement on assigned
(http://www.cockos.com/licecap/), SilentCast) where appropriate._
Technical Details
There are details here #12557
Comments
@lcdservices maybe you would test this on sites that use cases for me?