feat: add diagnostics report to Firefox torrent extension
check / check (macos-latest) (push) Failing after 26s
check / check (windows-latest) (push) Failing after 26s
check / check (ubuntu-latest) (push) Failing after 29s

- Add a Diagnostics panel to the extension popup and manager page with copy and refresh actions
- Collect extension settings, router API status, torrents, DHT nodes, and a tail of the router log into one report
- Add a native host `diagnostics` command that reports router PID, active ports, log path, and log summary counters
- Export data dir, log file, router PID, and SAM port from the AppImage launcher
- Start the router with `--debug` so the log tail has detailed output
- Bump extension version to 0.1.4 and request clipboardWrite permission
This commit is contained in:
nandi committed 2026-11-28 19:28:39 -08:00
1 parent 9aa15f9ae8
commit 4bb81f1b80
9 files changed
+486 -1

No files matched your search

+19
View File
@@ -238,3 +238,22 @@ details summary {
padding: 3px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
pre.diag-log {
margin: 8px 0 0 0;
background: #0b1222;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
font-size: 11px;
line-height: 1.4;
max-height: 300px;
overflow: auto;
white-space: pre-wrap;
word-break: break-all;
color: var(--text);
}
body.popup pre.diag-log {
max-height: 180px;
}