fix(rating): coloring and update mocked data

This commit is contained in:
Daniel Klein 2024-09-17 09:17:06 +02:00
parent c35e1cf99a
commit 7e71c3c2e6
2 changed files with 96 additions and 58 deletions

View file

@ -97,7 +97,7 @@ const hidePopover = () => {
text-12px text-12px
font-700 font-700
leading-20px leading-20px
:class="{ 'text-app-text-rating-negative': !item.isValid }" :class="[item.isValid ? 'text-app-white': 'text-app-text-rating-negative']"
> >
<div <div
flex flex

View file

@ -16198,9 +16198,11 @@
"references": [ "references": [
{ {
"field": "team.teammembers", "field": "team.teammembers",
"label": "Team", "label": {
"name": "Team",
"positive": "Member", "positive": "Member",
"negative": "Anonymous", "negative": "Anonymous"
},
"condition": { "condition": {
"minLength": 1 "minLength": 1
}, },
@ -16208,9 +16210,11 @@
}, },
{ {
"field": "links.docs", "field": "links.docs",
"label": "Documentation", "label": {
"name": "Documentation",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16218,9 +16222,11 @@
}, },
{ {
"field": "links.github", "field": "links.github",
"label": "Github", "label": {
"name": "Github",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16228,9 +16234,11 @@
}, },
{ {
"field": "links.twitter", "field": "links.twitter",
"label": "Twitter", "label": {
"name": "Twitter",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16238,9 +16246,11 @@
}, },
{ {
"field": "links.telegram", "field": "links.telegram",
"label": "Telegram", "label": {
"name": "Twitter",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16248,9 +16258,11 @@
}, },
{ {
"field": "links.discord", "field": "links.discord",
"label": "Discord", "label": {
"name": "Discord",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16258,9 +16270,11 @@
}, },
{ {
"field": "links.lens", "field": "links.lens",
"label": "Lens", "label": {
"name": "Lens",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16268,9 +16282,11 @@
}, },
{ {
"field": "links.farcaster", "field": "links.farcaster",
"label": "Farcaster", "label": {
"name": "Farcaster",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16278,9 +16294,11 @@
}, },
{ {
"field": "links.whitepaper", "field": "links.whitepaper",
"label": "Whitepaper", "label": {
"name": "Whitepaper",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16288,9 +16306,11 @@
}, },
{ {
"field": "funding.value", "field": "funding.value",
"label": "Funding", "label": {
"name": "Funding",
"positive": "Investment", "positive": "Investment",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16304,9 +16324,11 @@
"references": [ "references": [
{ {
"field": "project_status.mainnet", "field": "project_status.mainnet",
"label": "Mainnet", "label": {
"name": "Mainnet",
"positive": "Yes", "positive": "Yes",
"negative": "No", "negative": "No"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16314,9 +16336,11 @@
}, },
{ {
"field": "blockchain_features.opensource", "field": "blockchain_features.opensource",
"label": "Open Source", "label": {
"name": "Open Source",
"positive": "Yes", "positive": "Yes",
"negative": "No", "negative": "No"
},
"condition": { "condition": {
"equals": true "equals": true
}, },
@ -16324,9 +16348,11 @@
}, },
{ {
"field": "blockchain_features.asset_custody_type", "field": "blockchain_features.asset_custody_type",
"label": "Non Custody", "label": {
"name": "Non Custody",
"positive": "None", "positive": "None",
"negative": "Custodial", "negative": "Custodial"
},
"condition": { "condition": {
"equals": "non-custody" "equals": "non-custody"
}, },
@ -16334,9 +16360,11 @@
}, },
{ {
"field": "blockchain_features.upgradability.enabled", "field": "blockchain_features.upgradability.enabled",
"label": "Upgradability", "label": {
"name": "Upgradability",
"positive": "Disabled", "positive": "Disabled",
"negative": "Enabled", "negative": "Enabled"
},
"condition": { "condition": {
"equals": false "equals": false
}, },
@ -16344,9 +16372,11 @@
}, },
{ {
"field": "audits", "field": "audits",
"label": "Audits", "label": {
"name": "Audits",
"positive": "Audit", "positive": "Audit",
"negative": "None", "negative": "None"
},
"condition": { "condition": {
"minLength": 1 "minLength": 1
}, },
@ -16360,9 +16390,11 @@
"references": [ "references": [
{ {
"field": "privacy_policy.link", "field": "privacy_policy.link",
"label": "Privacy Policy", "label": {
"name": "Privacy Policy",
"positive": "Link", "positive": "Link",
"negative": "Not available", "negative": "Not available"
},
"condition": { "condition": {
"exists": true "exists": true
}, },
@ -16370,9 +16402,11 @@
}, },
{ {
"field": "traceability.kyc", "field": "traceability.kyc",
"label": "KYC", "label": {
"name": "KYC",
"positive": "No", "positive": "No",
"negative": "Yes", "negative": "Yes"
},
"condition": { "condition": {
"equals": false "equals": false
}, },
@ -16380,9 +16414,11 @@
}, },
{ {
"field": "compliance", "field": "compliance",
"label": "Compliance", "label": {
"name": "Compliance",
"positive": "No", "positive": "No",
"negative": "OFAC", "negative": "OFAC"
},
"condition": { "condition": {
"equals": true "equals": true
}, },
@ -16390,9 +16426,11 @@
}, },
{ {
"field": "default_privacy", "field": "default_privacy",
"label": "Default Privacy", "label": {
"name": "Default Privacy",
"positive": "YES", "positive": "YES",
"negative": "No", "negative": "No"
},
"condition": { "condition": {
"equals": true "equals": true
}, },