ui: drop the Decoded FCI caption in the file manager info block
The decoded FCI items now follow the FID/type/size line directly; the snapshot detail view keeps its caption. Test updated to assert the caption is absent; SW cache v120 -> v121.
This commit is contained in:
+1
-2
@@ -6137,8 +6137,7 @@ function pysimFsInfoHtml(sel) {
|
||||
let html = '';
|
||||
if (attrs.length) html += '<div class="text-xs font-mono text-gray-500 dark:text-slate-400">' + attrs.join(' · ') + '</div>';
|
||||
if (sel.fci_hex) {
|
||||
html += '<div class="text-xs text-gray-500 dark:text-slate-400 mt-0.5">' + esc(t('Decoded FCI')) + '</div>';
|
||||
html += '<div class="text-xs font-mono leading-relaxed text-gray-600 dark:text-slate-400 break-all">' + profilerFciPreviewItems(sel.fci_hex) + '</div>';
|
||||
html += '<div class="text-xs font-mono leading-relaxed text-gray-600 dark:text-slate-400 break-all mt-0.5">' + profilerFciPreviewItems(sel.fci_hex) + '</div>';
|
||||
}
|
||||
return html;
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'otaman-v120';
|
||||
const CACHE = 'otaman-v121';
|
||||
const URLS = [
|
||||
'index.html',
|
||||
'help.html',
|
||||
|
||||
@@ -707,7 +707,7 @@ test('pysimFsInfoHtml shows FID, type, size and the decoded FCI', () => {
|
||||
assert.ok(out.includes('Size: 75'), out);
|
||||
assert.ok(out.includes('Record length: 15'), out);
|
||||
assert.ok(out.includes('Record count: 5'), out);
|
||||
assert.ok(out.includes('Decoded FCI'), out);
|
||||
assert.ok(!out.includes('Decoded FCI'), out);
|
||||
assert.ok(out.includes('File descriptor'), out);
|
||||
assert.ok(out.includes('75 bytes'), out);
|
||||
delete global.t;
|
||||
|
||||
Reference in New Issue
Block a user