mirror of
https://github.com/logos-messaging/lab.waku.org.git
synced 2026-01-02 13:53:09 +00:00
Updates
This commit is contained in:
parent
612f51b259
commit
c413b939af
@ -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="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>
|
||||
<!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="store-query"><h2>Store Protocol Query</h2><div class="store-controls"><label for="storeMessageCount">Number of messages to fetch:</label> <input type="number" id="storeMessageCount" value="5" min="1" max="100"/> <button id="queryStoreButton" class="btn btn-primary">Query Store</button></div><div id="storeQueryStatus" class="store-status"></div><div id="storeQueryResults" class="store-results"></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
File diff suppressed because one or more lines are too long
@ -92,6 +92,24 @@ h2 {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background-color: #27ae60;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-success:hover {
|
||||
background-color: #229954;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background-color: #e74c3c;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-danger:hover {
|
||||
background-color: #c0392b;
|
||||
}
|
||||
|
||||
.search-container {
|
||||
margin-top: 15px;
|
||||
display: flex;
|
||||
@ -106,6 +124,40 @@ h2 {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Store Query Section */
|
||||
.store-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.store-controls label {
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.store-controls input[type="number"] {
|
||||
width: 80px;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.store-status {
|
||||
margin-top: 15px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
.store-results {
|
||||
margin-top: 15px;
|
||||
max-height: 500px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Message Display */
|
||||
.message-list {
|
||||
max-height: 400px;
|
||||
@ -214,7 +266,7 @@ footer {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.message-stats, .message-controls {
|
||||
.message-stats, .message-controls, .store-query, .charts {
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
|
||||
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/228a3c076d141ac3.css","style",{"crossOrigin":""}]
|
||||
0:["0pC9el0_HDWcLQPXtxlaB",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/228a3c076d141ac3.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
0:["tmwDVnN_Y_sEI7wZS2ezC",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/228a3c076d141ac3.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-948b58d21586fd0a.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/228a3c076d141ac3.css","style",{"crossOrigin":""}]
|
||||
0:["0pC9el0_HDWcLQPXtxlaB",[[["",{"children":["view",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/228a3c076d141ac3.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
0:["tmwDVnN_Y_sEI7wZS2ezC",[[["",{"children":["view",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/228a3c076d141ac3.css","precedence":"next","crossOrigin":""}]],"$L4"]]]]
|
||||
5:I[5685,["948","static/chunks/948-50bbf5866eb892b4.js","185","static/chunks/app/layout-948b58d21586fd0a.js"],""]
|
||||
6:I[6954,[],""]
|
||||
7:I[7264,[],""]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user