Expand info on logos (what/where) (#3822)
This commit is contained in:
parent
44737e911f
commit
0a68efa8da
@ -104,7 +104,7 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
|
||||
value: 'wss://crab.darwinia.network'
|
||||
},
|
||||
{
|
||||
info: 'dock-mainnet',
|
||||
info: 'dockMainnet',
|
||||
text: t<string>('rpc.dock-mainnet', 'Dock Mainnet', { ns: 'apps-config' }),
|
||||
textHoster: t<string>('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Dock Association' } }),
|
||||
value: 'wss://mainnet-node.dock.io'
|
||||
@ -249,7 +249,7 @@ function createTestNetworks (t: TFunction): LinkOption[] {
|
||||
value: 'wss://testnet-harbour.datahighway.com'
|
||||
},
|
||||
{
|
||||
info: 'dock-testnet',
|
||||
info: 'dockTestnet',
|
||||
text: t<string>('rpc.dock-testnet', 'Dock Testnet', { ns: 'apps-config' }),
|
||||
textHoster: t<string>('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Dock Association' } }),
|
||||
value: 'wss://danforth-1.dock.io'
|
||||
|
||||
@ -54,6 +54,7 @@ import externalSubscan from './external/subscan.svg';
|
||||
import emptyLogo from './empty.svg';
|
||||
|
||||
// overrides based on the actual matched chain name
|
||||
// NOTE: this matchs up with RPC system.chain
|
||||
// alphabetical
|
||||
const chainLogos: Record<string, any> = [
|
||||
['Dusty', chainDusty],
|
||||
@ -71,6 +72,7 @@ const chainLogos: Record<string, any> = [
|
||||
}), {});
|
||||
|
||||
// overrides based on the actual software node type (all '-' converted to ' ')
|
||||
// NOTE: this matches up with what the RPC via system.name
|
||||
// alphabetical
|
||||
const nodeLogos: Record<string, any> = [
|
||||
['airalab-robonomics', nodeRobonomics],
|
||||
@ -79,8 +81,7 @@ const nodeLogos: Record<string, any> = [
|
||||
['crab', nodeCrab],
|
||||
['crust node', nodeCrust],
|
||||
['darwinia parachain', nodeDarwinia],
|
||||
['Dock Mainnet Node', nodeDockMainnet],
|
||||
['Dock Testnet Node', nodeDockTestnet],
|
||||
['Dock Full Node', nodeDockMainnet],
|
||||
['Edgeware Node', nodeEdgeware],
|
||||
['Encointer Node', nodeEncointerNotee],
|
||||
['Encointer Node noTEE', nodeEncointerNotee],
|
||||
@ -106,6 +107,7 @@ const nodeLogos: Record<string, any> = [
|
||||
}), {});
|
||||
|
||||
// overrides when we pass an explicit logo name
|
||||
// NOTE: this matches up with what is defined as "info" in settings/endpoints.ts
|
||||
// alphabetical
|
||||
const namedLogos: Record<string, any> = {
|
||||
acala: nodeAcala,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user