mirror of
https://github.com/logos-messaging/lab.waku.org.git
synced 2026-01-05 23:33:11 +00:00
Updates
This commit is contained in:
parent
6d8a072b60
commit
0a6359702f
@ -1 +1 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta content="width=device-width,initial-scale=1" name="viewport"/><title>Waku Dogfooding - Refactored</title><link rel="apple-touch-icon" href="/dogfooding/favicon.png"/><link rel="manifest" href="/dogfooding/manifest.json"/><link rel="icon" href="/dogfooding/favicon.ico"/><link rel="stylesheet" href="/dogfooding/style.css"/><script defer="defer" src="/dogfooding/index.js"></script></head><body><div class="app-container"><header><h1>Waku Message Center</h1><div class="connection-status"><span>Your Peer ID: <span id="peerIdDisplay">Connecting...</span></span></div></header><main><section class="message-stats"><h2>Message Statistics</h2><div class="stats-counters"><div><span class="counter-value" id="sentByMeCount">0</span> <span class="counter-label">Sent by Me</span></div><div><span class="counter-value" id="receivedMineCount">0</span> <span class="counter-label">Received (Mine)</span></div><div><span class="counter-value" id="receivedOthersCount">0</span> <span class="counter-label">Received (Others)</span></div><div><span class="counter-value" id="failedToSendCount">0</span> <span class="counter-label">Failed to Send</span></div></div></section><section class="message-controls"><h2>Controls</h2><button id="sendMessageButton" class="btn btn-primary">Send New Message Batch</button> <button id="toggleContinuousSendButton" class="btn btn-success">Start Continuous Sending</button><div class="search-container"><input id="searchInput" placeholder="Search messages by content..."/> <button id="searchButton" class="btn">Search</button></div></section><section class="message-display"><h2>Message Log</h2><div id="messageList" class="message-list"></div></section></main><footer><p>Waku Dogfooding App - Modern UI</p></footer></div></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta content="width=device-width,initial-scale=1" name="viewport"/><title>Waku Dogfooding - Refactored</title><link rel="apple-touch-icon" href="/dogfooding/favicon.png"/><link rel="manifest" href="/dogfooding/manifest.json"/><link rel="icon" href="/dogfooding/favicon.ico"/><link rel="stylesheet" href="/dogfooding/style.css"/><script defer="defer" src="/dogfooding/index.js"></script></head><body><div class="app-container"><header><h1>Waku Message Center</h1><div class="connection-status"><span>Your Peer ID: <span id="peerIdDisplay">Connecting...</span></span></div></header><main><section class="message-stats"><h2>Message Statistics</h2><div class="stats-counters"><div><span class="counter-value" id="sentByMeCount">0</span> <span class="counter-label">Sent by Me</span></div><div><span class="counter-value" id="receivedMineCount">0</span> <span class="counter-label">Received (Mine)</span></div><div><span class="counter-value" id="receivedOthersCount">0</span> <span class="counter-label">Received (Others)</span></div><div><span class="counter-value" id="failedToSendCount">0</span> <span class="counter-label">Failed to Send</span></div></div></section><section class="message-controls"><h2>Controls</h2><button id="sendMessageButton" class="btn btn-primary">Send New Message Batch</button> <button id="toggleContinuousSendButton" class="btn btn-success">Start Continuous Sending</button><div class="search-container"><input id="searchInput" placeholder="Search messages by content..."/> <button id="searchButton" class="btn">Search</button></div></section><section class="charts"><h2>Discovery Peers Over Time</h2><canvas id="discoveryChart"></canvas><div id="discoverySummaryTop" class="latency-summary"></div><div class="collapsible-header" id="toggleDiscoveryTable"><h3>Show Discovery Table</h3><button id="toggleDiscoveryTableBtn" class="btn">Show</button></div><div id="discoveryTableContainer" class="collapsible hidden"><table id="discoveryTable"><thead><tr><th>Time</th><th>Type</th><th>Total Peers</th></tr></thead><tbody></tbody></table></div></section><section class="charts"><h2>Connected Peers Over Time</h2><canvas id="connectionsChart"></canvas><div id="ttfcSummary" class="latency-summary"></div><div class="collapsible-header" id="toggleConnectionsTable"><h3>Show Connections Table</h3><button id="toggleConnectionsTableBtn" class="btn">Show</button></div><div id="connectionsTableContainer" class="collapsible hidden"><table id="connectionsTable"><thead><tr><th>Time</th><th>Connected Peers</th></tr></thead><tbody></tbody></table></div></section><section class="charts"><h2>Message Delivery Latency</h2><canvas id="latencyChart"></canvas><div id="latencySummaryTop" class="latency-summary"></div><div class="collapsible-header" id="toggleLatencyTable"><h3>Latency Table</h3><button id="toggleLatencyTableBtn" class="btn">Show</button></div><div id="latencyTableContainer" class="collapsible hidden"><table id="latencyTable"><thead><tr><th>Message ID</th><th>Sent</th><th>Received</th><th>Latency (ms)</th></tr></thead><tbody></tbody></table></div></section><section class="message-display"><div class="collapsible-header" id="toggleLog"><h2>Message Log</h2><button id="toggleLogBtn" class="btn">Show</button></div><div id="messageLogContainer" class="collapsible hidden"><div id="messageList" class="message-list"></div></div></section></main><footer><p>Waku Dogfooding App - Modern UI</p></footer></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
@ -7,6 +7,33 @@
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
* @kurkle/color v0.3.4
|
||||
* https://github.com/kurkle/color#readme
|
||||
* (c) 2024 Jukka Kurkela
|
||||
* Released under the MIT License
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Chart.js v4.5.0
|
||||
* https://www.chartjs.org
|
||||
* (c) 2025 Chart.js Contributors
|
||||
* Released under the MIT License
|
||||
*/
|
||||
|
||||
/*!
|
||||
* chartjs-plugin-zoom v2.2.0
|
||||
* https://www.chartjs.org/chartjs-plugin-zoom/2.2.0/
|
||||
* (c) 2016-2024 chartjs-plugin-zoom Contributors
|
||||
* Released under the MIT License
|
||||
*/
|
||||
|
||||
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
||||
* http://hammerjs.github.io/
|
||||
*
|
||||
* Copyright (c) 2016 Jorik Tangelder;
|
||||
* Licensed under the MIT license */
|
||||
|
||||
/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */
|
||||
|
||||
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -115,6 +115,43 @@ h2 {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.collapsible-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.collapsible.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
padding: 8px;
|
||||
border-bottom: 1px solid #ecf0f1;
|
||||
text-align: left;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.latency-summary {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
font-weight: 600;
|
||||
color: #34495e;
|
||||
}
|
||||
|
||||
/* Scrollable tables */
|
||||
#discoveryTableContainer,
|
||||
#connectionsTableContainer,
|
||||
#latencyTableContainer {
|
||||
max-height: 260px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.message-item {
|
||||
padding: 10px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
1:HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
||||
2:HL["/_next/static/css/a61c8a9f0f85bca4.css","style",{"crossOrigin":""}]
|
||||
0:["kKZITGopNFTvsEX5O4R8E",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a61c8a9f0f85bca4.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
0:["d-qg9DHhEAWV_8WTtRrdU",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a61c8a9f0f85bca4.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-a97ac6a332aeb9a8.js"],""]
|
||||
6:I[6954,[],""]
|
||||
7:I[7264,[],""]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
1:HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
||||
2:HL["/_next/static/css/a61c8a9f0f85bca4.css","style",{"crossOrigin":""}]
|
||||
0:["kKZITGopNFTvsEX5O4R8E",[[["",{"children":["view",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a61c8a9f0f85bca4.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
0:["d-qg9DHhEAWV_8WTtRrdU",[[["",{"children":["view",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a61c8a9f0f85bca4.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-a97ac6a332aeb9a8.js"],""]
|
||||
6:I[6954,[],""]
|
||||
7:I[7264,[],""]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user