[dashboard] New Study Progression Panel
Brief summary of changes
- Adds a study progression tab that showcases some nice stats such as the ones below. Used the getWidgets function in the module so that only users with access to the module can see it
- Links to the modules, and only shows up if you have permission to it
- Includes changes in #9793
Testing instructions (if applicable)
- As admin, try to press the links to the modules. Confirm that when possible, it uses the Project filter.
- Login as a user without access to a module, confirm it does not take you to a page you do not have access to
Link(s) to related issue(s)
- Resolves # (Reference the issue this fixes, if any.)
@skarya22 split into two PRs, with the optimizations for 27 release
@skarya22 after rebase, please assign @adamdaudrich
This looks great
@adamdaudrich Sorry I'll fix the tests and then re-request a review from you!
I would say keep the things vertically aligned, with yellow participants first, far left. The rest of data follows the registration of participants.
lGtm
@skarya22 seems to be failing static tests because of phpcs
I checked out this branch and there's a useless scrollbar on the side of the widget for me
(using vivaldi, which is chromium-based).
This says it's adding a new study progression panel, but the existing graphs seem to have disappeared and I find it looks weird to not have any graphs on the dashboard. What happened to the existing ones?
@driusan Resolved the scrollbar issue. The charts are all still accessible through the "Views" dropdown, only change is that the default is this summary panel instead of the scans one. There are new charts being added in #9937 that adds a chart to the first panel, which will make the dashboard have a chart again