From 93ed870f75946a8e135b2aa4fc511d1d1c5371df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sun, 20 Sep 2026 23:45:12 +0300 Subject: [PATCH] ui: named FCI block holds the metadata; hide the empty content pane (v2.7.13) - pysimFsInfoHtml puts the FID/type/size line inside the fieldset, so the selected file is one bordered block with its symbolic name in the border; files without an FCI keep the plain borderless line. - The content pane starts hidden and is synced after every mutation (selection clears it, read success shows it, read failure keeps it hidden, edit/cancel re-sync): no empty box before a read or edit. - tests: FCI ordering assertions; new fs_read.test.js (visibility helper, read success/failure/throw, markup + call sites); fs_edit extraction. --- frontend/index.html | 36 +++++++--- frontend/sw.js | 2 +- frontend/tests/fs_edit.test.js | 3 +- frontend/tests/fs_read.test.js | 120 ++++++++++++++++++++++++++++++++ frontend/tests/profiler.test.js | 8 ++- pyproject.toml | 2 +- pysim_simple_server/server.py | 2 +- 7 files changed, 155 insertions(+), 18 deletions(-) create mode 100644 frontend/tests/fs_read.test.js diff --git a/frontend/index.html b/frontend/index.html index 93cf656..4d7cb67 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -859,7 +859,7 @@