Clear detail view on capture start and session load
- Reset apdu-detail to empty state in startCapture() and loadSession() - Bump 1.22.13, SW cache v44->v45
This commit is contained in:
1 parent
52243f496c
commit
347ff5387b
5 files changed
+7
-5
No files matched your search
+3
-1
@@ -2153,6 +2153,7 @@ async function startCapture() {
|
||||
buildTraceMap();
|
||||
renderSidePanel();
|
||||
renderMessages();
|
||||
el('apdu-detail').innerHTML = `<div class="detail-empty" data-l10n="Click an APDU to see details">${t('Click an APDU to see details')}</div>`;
|
||||
updateCaptureButton();
|
||||
startPolling();
|
||||
} catch (e) {
|
||||
@@ -2366,6 +2367,7 @@ async function loadSession(id) {
|
||||
switchTab('trace');
|
||||
updateCaptureButton();
|
||||
renderMessages();
|
||||
el('apdu-detail').innerHTML = `<div class="detail-empty" data-l10n="Click an APDU to see details">${t('Click an APDU to see details')}</div>`;
|
||||
el('session-name-display').style.display = 'inline';
|
||||
el('session-name-display').textContent = t('Session: ') + (data.session.name || '#' + id);
|
||||
history.replaceState(null, '', '#session=' + id);
|
||||
@@ -2617,7 +2619,7 @@ function onFilterChange() {
|
||||
}
|
||||
|
||||
// ──────────────────── Versioning ────────────────────
|
||||
const PWA_VERSION = '1.22.12';
|
||||
const PWA_VERSION = '1.22.13';
|
||||
const MIN_SERVER_VERSION = '1.0.0';
|
||||
|
||||
function parseVersion(v) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'simtrace-analyser-v44';
|
||||
const CACHE = 'simtrace-analyser-v45';
|
||||
|
||||
const PRECACHE = [
|
||||
'index.html',
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.backends._legacy:_Backend"
|
||||
|
||||
[project]
|
||||
name = "simtrace2-pysniff"
|
||||
version = "1.22.12"
|
||||
version = "1.22.13"
|
||||
description = "Python-based sniffing tool for SIMtrace2 hardware (SIM card communication sniffer)"
|
||||
readme = {file = "README.md", content-type = "text/markdown"}
|
||||
license = {text = "GPL-2.0-or-later"}
|
||||
|
||||
@@ -6,7 +6,7 @@ from .gsmtap import GsmtapSender, GsmtapReceiver
|
||||
from .pcap import PcapWriter
|
||||
from .dump import FileDumper, format_message
|
||||
|
||||
__version__ = '1.22.12'
|
||||
__version__ = '1.22.13'
|
||||
__all__ = [
|
||||
'SniffSession',
|
||||
'DeviceDisconnected',
|
||||
|
||||
@@ -224,7 +224,7 @@ class TestImportEndpoint(unittest.TestCase):
|
||||
class TestVersion(unittest.TestCase):
|
||||
def test_package_version(self):
|
||||
from simtrace2_pysniff import __version__
|
||||
self.assertEqual(__version__, '1.22.12')
|
||||
self.assertEqual(__version__, '1.22.13')
|
||||
|
||||
def test_status_includes_version(self):
|
||||
import os
|
||||
|
||||
Reference in new issue
Block a user