This commit is contained in:
parent
f147edd03c
commit
0239db393f
@ -74,34 +74,43 @@ function RelayCacheStats() {
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{Object.entries(counts).sort(([, a], [, b]) => a > b ? -1 : 1).map(([k, v]) => {
|
{Object.entries(counts)
|
||||||
return (
|
.sort(([, a], [, b]) => (a > b ? -1 : 1))
|
||||||
<tr key={k}>
|
.map(([k, v]) => {
|
||||||
<td><FormattedNumber value={Number(k)} /></td>
|
return (
|
||||||
<td><FormattedNumber value={v} /></td>
|
<tr key={k}>
|
||||||
</tr>
|
<td>
|
||||||
);
|
<FormattedNumber value={Number(k)} />
|
||||||
})}
|
</td>
|
||||||
|
<td>
|
||||||
|
<FormattedNumber value={v} />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
);
|
||||||
|
})}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<AsyncButton onClick={() => { }}>
|
<AsyncButton onClick={() => {}}>
|
||||||
<FormattedMessage defaultMessage="Clear" id="/GCoTA" />
|
<FormattedMessage defaultMessage="Clear" id="/GCoTA" />
|
||||||
</AsyncButton>
|
</AsyncButton>
|
||||||
<AsyncButton onClick={async () => {
|
<AsyncButton
|
||||||
const data = await Relay.dump();
|
onClick={async () => {
|
||||||
const url = URL.createObjectURL(new File([data], "snort.db", {
|
const data = await Relay.dump();
|
||||||
type: "application/octet-stream"
|
const url = URL.createObjectURL(
|
||||||
}));
|
new File([data], "snort.db", {
|
||||||
const a = document.createElement("a");
|
type: "application/octet-stream",
|
||||||
a.href = url;
|
}),
|
||||||
a.download = "snort.db";
|
);
|
||||||
a.click();
|
const a = document.createElement("a");
|
||||||
}}>
|
a.href = url;
|
||||||
|
a.download = "snort.db";
|
||||||
|
a.click();
|
||||||
|
}}>
|
||||||
<FormattedMessage defaultMessage="Dump" id="f2CAxA" />
|
<FormattedMessage defaultMessage="Dump" id="f2CAxA" />
|
||||||
</AsyncButton>
|
</AsyncButton>
|
||||||
</div>
|
</div>
|
||||||
</div >
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -362,6 +362,9 @@
|
|||||||
"defaultMessage": "Non-Zap",
|
"defaultMessage": "Non-Zap",
|
||||||
"description": "Non-Zap, Regular LN payment"
|
"description": "Non-Zap, Regular LN payment"
|
||||||
},
|
},
|
||||||
|
"Aujn2T": {
|
||||||
|
"defaultMessage": "Count"
|
||||||
|
},
|
||||||
"Awq32I": {
|
"Awq32I": {
|
||||||
"defaultMessage": "Push notifications"
|
"defaultMessage": "Push notifications"
|
||||||
},
|
},
|
||||||
@ -597,9 +600,6 @@
|
|||||||
"I1AoOu": {
|
"I1AoOu": {
|
||||||
"defaultMessage": "Last post {time}"
|
"defaultMessage": "Last post {time}"
|
||||||
},
|
},
|
||||||
"I97cCX": {
|
|
||||||
"defaultMessage": "{n} kind {k} events"
|
|
||||||
},
|
|
||||||
"IEwZvs": {
|
"IEwZvs": {
|
||||||
"defaultMessage": "Are you sure you want to unpin this note?"
|
"defaultMessage": "Are you sure you want to unpin this note?"
|
||||||
},
|
},
|
||||||
@ -1187,6 +1187,9 @@
|
|||||||
"dmsiLv": {
|
"dmsiLv": {
|
||||||
"defaultMessage": "A default Zap Pool split of {n} has been configured for {site} developers, you can disable it at any time in {link}"
|
"defaultMessage": "A default Zap Pool split of {n} has been configured for {site} developers, you can disable it at any time in {link}"
|
||||||
},
|
},
|
||||||
|
"e5x8FT": {
|
||||||
|
"defaultMessage": "Kind"
|
||||||
|
},
|
||||||
"e61Jf3": {
|
"e61Jf3": {
|
||||||
"defaultMessage": "Coming soon"
|
"defaultMessage": "Coming soon"
|
||||||
},
|
},
|
||||||
@ -1217,6 +1220,9 @@
|
|||||||
"f1OxTe": {
|
"f1OxTe": {
|
||||||
"defaultMessage": "Community leaders are individuals who grow the nostr ecosystem by being active in their local communities and helping onboard new users. Anyone can become a community leader, but few hold the current honorary title."
|
"defaultMessage": "Community leaders are individuals who grow the nostr ecosystem by being active in their local communities and helping onboard new users. Anyone can become a community leader, but few hold the current honorary title."
|
||||||
},
|
},
|
||||||
|
"f2CAxA": {
|
||||||
|
"defaultMessage": "Dump"
|
||||||
|
},
|
||||||
"fBI91o": {
|
"fBI91o": {
|
||||||
"defaultMessage": "Zap"
|
"defaultMessage": "Zap"
|
||||||
},
|
},
|
||||||
@ -1334,9 +1340,6 @@
|
|||||||
"iXPL0Z": {
|
"iXPL0Z": {
|
||||||
"defaultMessage": "Can't login with private key on an insecure connection, please use a Nostr key manager extension instead"
|
"defaultMessage": "Can't login with private key on an insecure connection, please use a Nostr key manager extension instead"
|
||||||
},
|
},
|
||||||
"iYc3Ld": {
|
|
||||||
"defaultMessage": "Payments"
|
|
||||||
},
|
|
||||||
"ieGrWo": {
|
"ieGrWo": {
|
||||||
"defaultMessage": "Follow"
|
"defaultMessage": "Follow"
|
||||||
},
|
},
|
||||||
|
@ -119,6 +119,7 @@
|
|||||||
"AkCxS/": "Reason",
|
"AkCxS/": "Reason",
|
||||||
"Am8glJ": "Game",
|
"Am8glJ": "Game",
|
||||||
"AnLrRC": "Non-Zap",
|
"AnLrRC": "Non-Zap",
|
||||||
|
"Aujn2T": "Count",
|
||||||
"Awq32I": "Push notifications",
|
"Awq32I": "Push notifications",
|
||||||
"AxDOiG": "Months",
|
"AxDOiG": "Months",
|
||||||
"AyGauy": "Login",
|
"AyGauy": "Login",
|
||||||
@ -197,7 +198,6 @@
|
|||||||
"HhcAVH": "You don't follow this person, click here to load media from <i>{link}</i>, or update <a><i>your preferences</i></a> to always load media from everybody.",
|
"HhcAVH": "You don't follow this person, click here to load media from <i>{link}</i>, or update <a><i>your preferences</i></a> to always load media from everybody.",
|
||||||
"HqRNN8": "Support",
|
"HqRNN8": "Support",
|
||||||
"I1AoOu": "Last post {time}",
|
"I1AoOu": "Last post {time}",
|
||||||
"I97cCX": "{n} kind {k} events",
|
|
||||||
"IEwZvs": "Are you sure you want to unpin this note?",
|
"IEwZvs": "Are you sure you want to unpin this note?",
|
||||||
"IKKHqV": "Follows",
|
"IKKHqV": "Follows",
|
||||||
"IOu4Xh": "You must be a {tier} subscriber to access {app} deck",
|
"IOu4Xh": "You must be a {tier} subscriber to access {app} deck",
|
||||||
@ -391,6 +391,7 @@
|
|||||||
"djLctd": "Amount in sats",
|
"djLctd": "Amount in sats",
|
||||||
"djNL6D": "Read-only",
|
"djNL6D": "Read-only",
|
||||||
"dmsiLv": "A default Zap Pool split of {n} has been configured for {site} developers, you can disable it at any time in {link}",
|
"dmsiLv": "A default Zap Pool split of {n} has been configured for {site} developers, you can disable it at any time in {link}",
|
||||||
|
"e5x8FT": "Kind",
|
||||||
"e61Jf3": "Coming soon",
|
"e61Jf3": "Coming soon",
|
||||||
"e7VmYP": "Enter pin to unlock your private key",
|
"e7VmYP": "Enter pin to unlock your private key",
|
||||||
"e7qqly": "Mark All Read",
|
"e7qqly": "Mark All Read",
|
||||||
@ -401,6 +402,7 @@
|
|||||||
"eXT2QQ": "Group Chat",
|
"eXT2QQ": "Group Chat",
|
||||||
"egib+2": "{n,plural,=1{& {n} other} other{& {n} others}}",
|
"egib+2": "{n,plural,=1{& {n} other} other{& {n} others}}",
|
||||||
"f1OxTe": "Community leaders are individuals who grow the nostr ecosystem by being active in their local communities and helping onboard new users. Anyone can become a community leader, but few hold the current honorary title.",
|
"f1OxTe": "Community leaders are individuals who grow the nostr ecosystem by being active in their local communities and helping onboard new users. Anyone can become a community leader, but few hold the current honorary title.",
|
||||||
|
"f2CAxA": "Dump",
|
||||||
"fBI91o": "Zap",
|
"fBI91o": "Zap",
|
||||||
"fBlba3": "Thanks for using {site}, please consider donating if you can.",
|
"fBlba3": "Thanks for using {site}, please consider donating if you can.",
|
||||||
"fOksnD": "Can't vote because LNURL service does not support zaps",
|
"fOksnD": "Can't vote because LNURL service does not support zaps",
|
||||||
@ -440,7 +442,6 @@
|
|||||||
"iICVoL": "{x} follows ({y} duplicates)",
|
"iICVoL": "{x} follows ({y} duplicates)",
|
||||||
"iNWbVV": "Handle",
|
"iNWbVV": "Handle",
|
||||||
"iXPL0Z": "Can't login with private key on an insecure connection, please use a Nostr key manager extension instead",
|
"iXPL0Z": "Can't login with private key on an insecure connection, please use a Nostr key manager extension instead",
|
||||||
"iYc3Ld": "Payments",
|
|
||||||
"ieGrWo": "Follow",
|
"ieGrWo": "Follow",
|
||||||
"ipHVx5": "Generate Invoice",
|
"ipHVx5": "Generate Invoice",
|
||||||
"itPgxd": "Profile",
|
"itPgxd": "Profile",
|
||||||
|
Loading…
Reference in New Issue
Block a user