Currently the project activity page is only available for projects type and when we removed it from the measures we don't have history of measures for modules and directories anymore.
The problem is that currently this is not possible to retrieve the analyses for something else than a "Project". Therefore when it's a module or a directory, we should use the parent project key of the component to retrieve the analyses from api/project_analyses/search (I think this part is already implemented).
Things to do are :
- Display the "Activity" menu for modules and directories
- Display the activity graphs shortcuts on the measure page
- Display the activity graphs shortcuts on the dashboard page