Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/missing endpoints stats sitemap 1175 #1177

Merged
merged 4 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.ultratestnet
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ REACT_APP_EOS_BP_JSON_ON_CHAIN_SCOPE=producerjson
REACT_APP_SYNC_TOLERANCE_INTERVAL=180000
REACT_APP_TOKEN_SYMBOL=UOS
REACT_APP_NETWORK_URL=[{"label":"Ultra Mainnet","value":"https://antelope.tools","mainnet":true,"pair":"ultra","icon":"ultra","order":1},{"label":"Ultra Testnet","value":"https://ultra-testnet.antelope.tools","mainnet":false,"pair":"ultra","icon":"ultra","order":1}]
REACT_APP_DISABLED_MENU_ITEMS=["/block-producers","/nodes","/missed-blocks","/endpoints","/bpjson","/ricardian-contract","/block-distribution","/nodes-distribution","/cpu-benchmark","/rewards-distribution"]
REACT_APP_DISABLED_MENU_ITEMS=["/block-producers","/nodes","/missed-blocks","/endpoints","/bpjson","/ricardian-contract","/block-distribution","/nodes-distribution","/cpu-benchmark","/rewards-distribution","/endpoints-stats"]
REACT_APP_BLOCK_EXPLORER_URL=https://explorer.testnet.ultra.io/tx/(transaction)
REACT_APP_STATE_HISTORY_ENABLED=false
REACT_APP_GOOGLE_ANALITIC_PAGE_ID=G-E6Y0EC9FT8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ultra-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
REACT_APP_SYNC_TOLERANCE_INTERVAL: 180000
REACT_APP_TOKEN_SYMBOL: 'UOS'
REACT_APP_NETWORK_URL: '[{"label":"EOS","value":"https://eos.antelope.tools","mainnet":true,"pair":"eos","icon":"eos","order":1},{"label":"Proton","value":"https://proton.antelope.tools","mainnet":true,"pair":"proton","icon":"proton","order":2},{"label":"WAX","value":"https://wax.antelope.tools","mainnet":true,"pair":"wax","icon":"wax","order":3},{"label":"Telos","value":"https://telos.antelope.tools","mainnet":true,"pair":"telos","icon":"telos","order":4},{"label":"Libre","value":"https://libre.antelope.tools","mainnet":true,"pair":"libre","icon":"libre","order":5},{"label":"LACChain EOSIO","value":"https://lacchain.antelope.tools","mainnet":true,"pair":null,"icon":"lacchain","order":6},{"label":"Jungle4 Testnet","value":"https://jungle.antelope.tools","mainnet":false,"pair":"eos","icon":"jungle","order":1},{"label":"Proton Testnet","value":"https://proton-testnet.antelope.tools","mainnet":false,"pair":"proton","icon":"proton","order":2},{"label":"WAX Testnet","value":"https://wax-testnet.antelope.tools","mainnet":false,"pair":"wax","icon":"wax","order":3},{"label":"Telos Testnet","value":"https://telos-testnet.antelope.tools","mainnet":false,"pair":"telos","icon":"telos","order":4},{"label":"Libre Testnet","value":"https://libre-testnet.antelope.tools","mainnet":false,"pair":"libre","icon":"libre","order":5},{"label":"Ultra Testnet","value":"https://ultra-testnet.antelope.tools","mainnet":false,"pair":"ultra","icon":"ultra","order":6}]'
REACT_APP_DISABLED_MENU_ITEMS: '["/block-producers","/nodes","/missed-blocks","/endpoints","/bpjson","/ricardian-contract","/block-distribution","/nodes-distribution","/cpu-benchmark","/rewards-distribution","/undiscoverable-bps"]'
REACT_APP_DISABLED_MENU_ITEMS: '["/block-producers","/nodes","/missed-blocks","/endpoints","/bpjson","/ricardian-contract","/block-distribution","/nodes-distribution","/cpu-benchmark","/rewards-distribution","/undiscoverable-bps","/endpoints-stats"]'
REACT_APP_BLOCK_EXPLORER_URL: 'https://explorer.testnet.ultra.io/tx/(transaction)'
REACT_APP_STATE_HISTORY_ENABLED: 'false'
REACT_APP_GOOGLE_ANALITIC_PAGE_ID: 'G-E6Y0EC9FT8'
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.jungle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<loc>https://jungle.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://jungle.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://jungle.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.lacchain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
<loc>https://lacchain.antelope.tools/endpoints</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://lacchain.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://lacchain.antelope.tools/lacchain/network</loc>
<lastmod>2022-10-20</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.libre-testnet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<loc>https://libre-testnet.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://libre-testnet.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://libre-testnet.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.libre.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<loc>https://libre.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://libre.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://libre.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.mainnet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<loc>https://eos.antelope.tools/nodes-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://eos.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://eos.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.proton-testnet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
<loc>https://proton-testnet.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://proton-testnet.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://proton-testnet.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.proton.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
<loc>https://proton.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://proton.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://proton.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.telos-testnet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<loc>https://telos-testnet.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://telos-testnet.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://telos-testnet.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.telos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<loc>https://telos.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://telos.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://telos.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.wax-testnet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<loc>https://wax-testnet.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://wax-testnet.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://wax-testnet.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
4 changes: 4 additions & 0 deletions webapp/public/sitemap.wax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<loc>https://wax.antelope.tools/rewards-distribution</loc>
<lastmod>2022-10-20</lastmod>
</url>
<url>
<loc>https://wax.antelope.tools/endpoints-stats</loc>
<lastmod>2023-04-25</lastmod>
</url>
<url>
<loc>https://wax.antelope.tools/undiscoverable-bps</loc>
<lastmod>2023-01-19</lastmod>
Expand Down
7 changes: 7 additions & 0 deletions webapp/src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,13 @@ const lacchainRoutes = [
path: '/endpoints',
exact: true,
},
{
name: 'endpointsStats',
icon: <ActivityIcon />,
component: EndpointsStats,
path: '/endpoints-stats',
exact: true,
},
{
name: 'lacchainNetwork',
icon: <TopologySvg />,
Expand Down