feat: add diagnostics report to Firefox torrent extension
- 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:
1 parent
9aa15f9ae8
commit
4bb81f1b80
9 files changed
+486
-1
No files matched your search
@@ -107,6 +107,16 @@
|
||||
</form>
|
||||
</details>
|
||||
|
||||
<details id="diagnostics-details" class="card">
|
||||
<summary>Diagnostics & Verbose Logs</summary>
|
||||
<div class="row" style="margin-top:8px;justify-content:flex-end;">
|
||||
<button id="copy-diag-btn" type="button">Copy Diagnostics</button>
|
||||
<button id="refresh-diag-btn" class="secondary" type="button">Refresh</button>
|
||||
</div>
|
||||
<div id="diag-status" class="msg"></div>
|
||||
<pre id="diagnostics-log" class="mono diag-log">Open to load diagnostics...</pre>
|
||||
</details>
|
||||
|
||||
<script src="ui.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user