globe-and-citizen / cnc-portal

The Crypto Native Portal, an app that creates a mechanism to financially acknowledge the micro contributions of Open Source collaborators along with tools that promote effective governance.
3 stars 1 forks source link

Refactor/api calls and simplify codebase #198

Closed dasarathg68 closed 3 months ago

dasarathg68 commented 3 months ago

Description

Simplify SingleTeamView and refactor API calls

Fixes # (issue)

Type of change

Please delete options that are not relevant.

Checklist:

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 3.22581% with 90 lines in your changes missing coverage. Please review.

Project coverage is 27.87%. Comparing base (92c51ac) to head (350b975). Report is 18 commits behind head on develop.

Files Patch % Lines
app/src/views/SingleTeamView.vue 0.00% 18 Missing and 10 partials :warning:
app/src/components/TeamDetails.vue 0.00% 18 Missing and 2 partials :warning:
app/src/components/modals/UpdateTeamForm.vue 0.00% 16 Missing and 2 partials :warning:
app/src/App.vue 22.22% 5 Missing and 2 partials :warning:
app/src/components/TeamActions.vue 0.00% 4 Missing and 3 partials :warning:
app/src/views/TeamView.vue 12.50% 6 Missing and 1 partial :warning:
backend/src/controllers/teamController.ts 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #198 +/- ## =========================================== + Coverage 25.88% 27.87% +1.99% =========================================== Files 67 86 +19 Lines 1240 1607 +367 Branches 280 361 +81 =========================================== + Hits 321 448 +127 - Misses 788 981 +193 - Partials 131 178 +47 ``` | [Flag](https://app.codecov.io/gh/globe-and-citizen/cnc-portal/pull/198/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=globe-and-citizen) | Coverage Δ | | |---|---|---| | [api-unit-tests](https://app.codecov.io/gh/globe-and-citizen/cnc-portal/pull/198/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=globe-and-citizen) | `31.85% <0.00%> (?)` | | | [app-unit-tests](https://app.codecov.io/gh/globe-and-citizen/cnc-portal/pull/198/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=globe-and-citizen) | `26.72% <3.33%> (+0.83%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=globe-and-citizen#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.