-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch userDashboard from using selector object to using the api to g…
…et contributions to display. Note that preliminary tests for this were written & merged some time ago. Reasons for the change are 1) readability - most devs are much more comfortable with reading the api code than the selector 2) performance - the contribute selector code is deeply unperformant - mostly due to the summary function which in this case is somewhat mitigated by the limit of 12 but we are still doing something slow for no reason 3) test stability - the test for this turned out to have poor stability & hopefully this will help 4) preliminary cleanup - there are 2 existing PRs that attempt to add new buttons to this & moving towards a cleaner tpl / php layer will help with those. In addition there is a serious performance issue to address on the contribution summary function. Reducing use of that function should help with the cleanup effort
- Loading branch information
1 parent
cbadec7
commit 8bfce65
Showing
3 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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