-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contribution dashboard admin change: Add overall item count to contri…
…butor dashboard admin stats table (#20186) * Changes to contributor-dashboard-admin to appear correctly, to reduce number of calls to fetchContributorAdminStats, to subscribe in the correct order * Add a test to contributor-dashboard-admin unit tests to ensure coverage * increase coverage of contributor-admin-dashboard page tests * increase coverage of contributor-admin-dashboard page tests further * fix e2e test error by reducing elements to 1, as unseen component removed. Removed call to classroom/math as it is no longer added by default. * remove browser debug * acl decorator changed to open access for classroom id to name * fixed classroom linting error * fixed further linting error in classroom * fix typescipt check error in contributor-dashboard-admin-stats-backend-api.service test * fix typescript check failure in contributor-dashboard-admin-stats-backend service * fix code coverage failure * removed unnecessary test, and export * add coverage to contributor dashboard admin test * Improve test files to make language used more meaningful * tidied up use of domain constants and expectations of tests * fixed indentation issue * merge with develop, includes manuial merge main.py and classroom.py * finish manual merge of main and classroom * added tests for userContributionRights, and changed description * removed extra blank lines from classroom.py * change headings, simplify html code and move into ts file for unit testing * Make the calls to contributorDashboardAdminBackendApiService async, and add an await, sop that they complete in order, to prevent a race condition causing overwriting. Change question reveiewer to practice question reviewer * Call asynchronous method to update question rights from both places * refactor contributor-admin-stats attributes methods * Move formatting of contribution attributes in stats table to a service * Use generics to improve validation and type checking in format-contributor-attributes service, rename some properties * remove service as a parameter, and unnecessary [] in contributor-dashboard-admin * Change ordering of parameters for removeContributionReviewerAsync * Raise toast message when question-admin user tries to use new contribution dashboard admin page * Add total number of items to contributor-admin-stats-table * tidy up contribution admin stats for code review * Refactor contributor dashboard admin for simplicity * Changed the naming of tests in contributor-dashboard-admin_stats * tidy up test file for contributor-admin-stats-table
- Loading branch information
1 parent
7ab61fb
commit ff90095
Showing
3 changed files
with
198 additions
and
53 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
Oops, something went wrong.