-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(frontend): simplify infographics API usage (reuse Entities d…
…ata) (#1601) * fix(submissionInfographics): update taskInfo type & message * fix(taskSlice): increase submission count if status is not 0 * fix(submissionInfographics): use useSelector from reduxTypes * feat(submissionsInfographics): calculate form submissions data on frontend replacing api call * fix(submissionsInfographics): remove data calculation for planned vs actual graph * fix(submissionsInfographics): remove commented code * fix(submissionsInfographics): only count entities with status greater than 1 * fix(taskSlice): only count entities with status greater than 1 * fix(lineChart): remove dot from lines * fix(submissionInfographics): calculate validated vs mapped task data on frontend * fix(projectSubmissions): comment /dashboard api call & pass entities list to child components * fix(projectInfo): display projectInfo data replacing data from project dashboard api * fix(projectSusmissions): use useAppSelector for typed selector * feat(project): add created to projectInfo state * fix(projectInfo): use project creation date form project api * fix(projectSubmmissions): call contributors api on parent component * fix(submissionsInfographics): rename to dateA, dataB to suitable names * feat(commonUtils): add date functions to commonUtils * fix(submissionService): remove infographics chart api call service * fix(submissionInfographics): remove commented service dispatch & shift date functions to utils * fix(submission): remove unused submission state, types * remove commented getProjectDashboard call
- Loading branch information
Showing
13 changed files
with
215 additions
and
240 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
Oops, something went wrong.