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

feat: set default UI when no teams are present #205

Closed dasarathg68 closed 2 months ago

dasarathg68 commented 2 months ago

Description

Fixes #203

Solution:

When no teams are present: image

When there is a backend error: image

Type of change

Please delete options that are not relevant.

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 70.58824% with 5 lines in your changes missing coverage. Please review.

Project coverage is 27.09%. Comparing base (a0e7df9) to head (3b0928e). Report is 4 commits behind head on develop.

Files Patch % Lines
app/src/views/TeamView.vue 64.28% 3 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #205 +/- ## =========================================== - Coverage 31.59% 27.09% -4.50% =========================================== Files 16 71 +55 Lines 364 1181 +817 Branches 71 267 +196 =========================================== + Hits 115 320 +205 - Misses 206 745 +539 - Partials 43 116 +73 ``` | [Flag](https://app.codecov.io/gh/globe-and-citizen/cnc-portal/pull/205/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/205/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=globe-and-citizen) | `?` | | | [app-unit-tests](https://app.codecov.io/gh/globe-and-citizen/cnc-portal/pull/205/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=globe-and-citizen) | `27.09% <70.58%> (?)` | | 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.