feat: warning if item uses third-party API

- scrollbar accessibility improvements
This commit is contained in:
alexsparkes
2024-05-21 12:59:26 +01:00
parent 0af3996d1e
commit 3b73155ec1
17 changed files with 41 additions and 2 deletions

View File

@@ -11,9 +11,21 @@
}
::-webkit-scrollbar-thumb {
border-radius: 25px;
@include themed {
background: t($modal-sidebarActive);
}
border-radius: 12px;
}
&:hover {
@include themed {
background: t($btn-backgroundHover);
}
}
&:active {
@include themed {
background: t($btn-backgroundHover);
}
}
}

View File

@@ -136,6 +136,18 @@ class Item extends PureComponent {
);
}
if (this.props.data.data.image_api === true) {
itemWarning = (
<div className="itemWarning">
<MdOutlineWarning />
<div className="text">
<span className="header">Warning</span>
<span>{variables.getMessage('modals.main.marketplace.product.third_party_api')}</span>
</div>
</div>
);
}
const moreInfoItem = (icon, header, text) => (
<div className="infoItem">
{icon}

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Melden"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Einstellung",
"value": "Wert"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Informe"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Ajustes",
"value": "Valor"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Rapporteer"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Instelling",
"value": "Waarde"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},

View File

@@ -550,6 +550,7 @@
"report": "Reportar"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Configuração",
"value": "Valor"
},

View File

@@ -550,6 +550,7 @@
"report": "Reportar"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Configuração",
"value": "Valor"
},

View File

@@ -550,6 +550,7 @@
"report": "Жалоба"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Параметр",
"value": "Цена"
},

View File

@@ -550,6 +550,7 @@
"report": "Bildir/Raporla"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Ayarlar",
"value": "Değer"
},

View File

@@ -550,6 +550,7 @@
"report": "Report"
},
"not_in_language": "This add-on is not in your language",
"third_party_api": "This add-on uses a third-party API",
"setting": "Setting",
"value": "Value"
},