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