mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-20 20:29:02 +00:00
Add coordinator endpoint to stats for nerds
This commit is contained in:
parent
8ae259e143
commit
017601c478
@ -340,7 +340,7 @@ const BadgesHall = ({ badges }: BadgesProps): JSX.Element => {
|
||||
|
||||
const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props): JSX.Element => {
|
||||
const { t } = useTranslation();
|
||||
const { clientVersion, page } = useContext(AppContext);
|
||||
const { clientVersion, page, settings, origin } = useContext(AppContext);
|
||||
const { federation } = useContext<UseFederationStoreType>(FederationContext);
|
||||
const coordinator = federation.getCoordinator(shortAlias);
|
||||
|
||||
@ -365,7 +365,6 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props
|
||||
shortAlias={coordinator?.shortAlias}
|
||||
style={{ width: '7.5em', height: '7.5em' }}
|
||||
smooth={true}
|
||||
flipHorizontally={false}
|
||||
/>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
@ -632,6 +631,40 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props
|
||||
</AccordionSummary>
|
||||
<AccordionDetails>
|
||||
<List dense>
|
||||
<ListItem {...listItemProps}>
|
||||
<ListItemIcon>
|
||||
<Dns />
|
||||
</ListItemIcon>
|
||||
<ListItemText secondary={t('Coordinator domain')}>
|
||||
<Link
|
||||
target='_blank'
|
||||
href={coordinator?.[settings.network][origin]}
|
||||
rel='noreferrer'
|
||||
>
|
||||
{`${coordinator?.[settings.network][origin]}`}
|
||||
</Link>
|
||||
</ListItemText>
|
||||
</ListItem>
|
||||
|
||||
<ListItem {...listItemProps}>
|
||||
<ListItemIcon>
|
||||
<RoboSatsNoTextIcon
|
||||
sx={{
|
||||
width: '1.4em',
|
||||
height: '1.4em',
|
||||
right: '0.2em',
|
||||
position: 'relative',
|
||||
}}
|
||||
/>
|
||||
</ListItemIcon>
|
||||
<ListItemText
|
||||
primary={`${t('Coordinator')} ${coordinatorVersion} - ${t('Client')} ${String(
|
||||
clientVersion.short,
|
||||
)}`}
|
||||
secondary={t('RoboSats version')}
|
||||
/>
|
||||
</ListItem>
|
||||
|
||||
<ListItem {...listItemProps}>
|
||||
<ListItemIcon>
|
||||
<RoboSatsNoTextIcon
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Cost actual de rebre onchain",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Současný poplatek za vyplacení na onchain ",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Current onchain payout fee",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Current onchain payout fee",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Hash de confirmación del coordinador",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Coste actual de recibir onchain",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Oraingo onchain jasotze-kuota",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinateur commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Frais de paiement actuels de la chaîne",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Commit hash del coordinatore",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Attuale tariffa di pagamento onchain",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "コーディネーターコミットハッシュ",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "現在のオンチェーン支払手数料",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Current onchain payout fee",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Taxa de pagamento onchain atual",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Уведомление координатора",
|
||||
"Coordinator commit hash": "Хеш коммита координатора",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Текущая комиссия за выплату ончейн",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Aktuell utbetalningsavgift (on-chain)",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "Ada ya malipo ya sasa ya mtandao",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "Coordinator commit hash",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "ค่าธรรมเนียมการจ่าย On-chain ตอนนี้",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "协调器提交哈希",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "当前链上支付费用",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
@ -251,6 +251,7 @@
|
||||
"Coordinator Notice": "Coordinator Notice",
|
||||
"Coordinator commit hash": "協調器提交哈希",
|
||||
"Coordinator description": "Coordinator description",
|
||||
"Coordinator domain": "Coordinator domain",
|
||||
"Coordinator offline": "Coordinator offline",
|
||||
"Current onchain payout fee": "當前鏈上支付費用",
|
||||
"Development fund supporter: donates {{percent}}% to make RoboSats better.": "Development fund supporter: donates {{percent}}% to make RoboSats better.",
|
||||
|
Loading…
Reference in New Issue
Block a user