ui: generate a profile from a card snapshot
- new 'Profile from snapshot' button in the Profiles toolbar: reuses the snapshot picker (profilerSnapshotPickListHtml refactor) and then opens the same scan form as Profile from card (profilerScanOpenForm), with the profile name prefilled from the snapshot - new profiler-build target 'profile-snapshot': the form's ignore list, mask options and FCP/FCI mode apply to profilerScanSnapshot(), which walks the snapshot's captured files instead of the card; uncaptured contents produce rules without a content check, record files map to exact record content, transparent files honor the masks - profilerScanStart() pushes the generated profile and opens the editor like the live scan; _scanSnapshot is cleared in the finally block - RU entry 'Профиль из снимка'; tests for the snapshot rule builder (exact/mask/ignore/uncaptured/record), the snapshot scan progress, the picker wiring and the form title, plus a structural button check; help EN/RU and READMEs updated; SW cache v130 -> v131.
This commit is contained in:
+1
-1
@@ -478,7 +478,7 @@ Delivery PoR (SPI2 `01`) проще — карта возвращает PoR на
|
||||
|
||||
Проверка соответствия карты именованному **профилю** — упорядоченному набору правил, описывающих ожидаемую файловую систему и (опционально) содержимое файлов. Профили хранятся в `localStorage`.
|
||||
|
||||
- **Новый профиль** создаёт пустой набор правил; **Профиль с карты** сканирует подключённую карту и создаёт по правилу на каждый существующий файл; **Импорт профиля** загружает набор из JSON (имя хранится внутри файла).
|
||||
- **Новый профиль** создаёт пустой набор правил; **Профиль с карты** сканирует подключённую карту и создаёт по правилу на каждый существующий файл; **Профиль из снимка** создаёт тот же набор правил из сохранённого снимка (те же опции игнорирования/масок/FCP-FCI, без картридера, имя подставляется из снимка); **Импорт профиля** загружает набор из JSON (имя хранится внутри файла).
|
||||
- В каждой строке профиля: **Проверить карту ▶** (на подключённой карте), **Проверить снимок карты** (offline по сохранённому снимку), **Редактировать**, **Экспорт** и **Удалить**.
|
||||
|
||||
Правило файловой системы задаётся:
|
||||
|
||||
Reference in New Issue
Block a user