profiler: show scan progress during 'Profile from card'

Split profilerScanCard into two phases so the file total is known up
front: phase 1 walks the filesystem (tree calls only) collecting every
file entry, phase 2 builds a rule per file. The optional onProgress(done,
total, path) callback reports 'N / total files (%) — path'; the scan
dialog shows it under the FCP/FCI selector, starting with 'Discovering…'
during phase 1. No extra card I/O (tree calls are no longer interleaved
with select/read). Backward compatible: onProgress is optional.

2 new tests (progress sequence 0/total then 1..total with paths; scan
without callback). RU i18n keys (Discovering..., files). Help docs synced.
SW cache v53 -> v54.
This commit is contained in:
2026-09-10 22:26:30 +03:00
parent 486f57eb30
commit d9b2cb7db2
5 changed files with 84 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v53';
const CACHE = 'otaman-v54';
const URLS = [
'index.html',
'help.html',