recovered from aaronjaworski710
CI / offline-tests (push) Has been cancelled
CI / web-unit-tests (push) Has been cancelled
CI / package-console10 (push) Has been cancelled

This commit is contained in:
reform
2026-10-23 20:02:14 +03:00
commit 8044e88be4
409 changed files with 104886 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// Collapsible raw-response log. Toast/banner carry the primary feedback;
// the raw JSON is demoted to expandable evidence (batch-2 IA decision).
export function LogDetails({ text, summary = "Детали ответа", compact = false }) {
if (!text) return null;
return (
<details class="log-details">
<summary>{summary}</summary>
<pre class={compact ? "log compact" : "log"}>{text}</pre>
</details>
);
}