Imagine a fusion of ‘Eskom se Push’ and ‘X’. The Republic allows users to raise concerns and spread awareness about government services through incident reports, with cool data visualizations providing a dynamic overview of public sentiment on service delivery.
Enhance performance of frontend by moving a lot of the calls made on the Issue component to the backend. Right now, there are about 5 calls being made for one component. That being
Fetching of the issues
Fetching related issues for each issue
Fetching whether the logged in user has issues in the cluster of each issue
Fetching the resolutions
Fetching whether the user can respond to that resolution
Tasks
[x] Remove all the above API calls from the frontend
[x] Make the getIssues endpoint return all necessary fields instead
[x] Limit the number of related issues to be fetched to 3
[x] Integrate this new return structure to the component and related modals
Objective
Enhance performance of frontend by moving a lot of the calls made on the Issue component to the backend. Right now, there are about 5 calls being made for one component. That being
Tasks