profiler editor: show symbolic file names next to rule paths

Rules now persist the pySim symbolic name captured during 'Profile from
card' (profilerBuildFileRule stores c.name || sel.name), and the profile
edit view renders it next to the Path label using the same lookup order
as the check view: profilerCustomNameForPath(path) || rule.name.

Path edits call the new profilerUpdateRulePath, which drops the stale
scan-time name and refreshes the label from the custom-files dictionary
live, so the displayed name always corresponds to the current path.

Manually added rules get name: null (resolved via custom-file lookup).
Old profiles without rule.name still work.

4 new tests (rule.name from child/select/null, custom name lookup, path
edit clears name + refreshes label). SW cache v51 -> v52.
This commit is contained in:
2026-09-10 21:54:32 +03:00
parent 5355a62d88
commit 69b4fbfb42
3 changed files with 60 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v51';
const CACHE = 'otaman-v52';
const URLS = [
'index.html',
'help.html',