From d0ef71dc2e15860fb99e8d49810dc6d91ec76f79 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 10 Nov 2026 19:58:53 +0100 Subject: fix(dashboard): review fixes - The OBS slot has no one-tap stop: a tap opens the OBS tab, so a stray touch cannot end a recording. - Scrolling lines are measured once their slot is on screen, and every slot again when one comes or goes. - The lock watcher survives a missing pidof. - Trend gradients are in user space, so a flat line still paints. - Uptime under an hour shows minutes. - The shell no longer imports panel files for the modules the dashboard draws. - The spec matches the build VM and OBS slots and the error wording. Co-Authored-By: Claude Opus 5.5 --- tests/test_actions.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests') diff --git a/tests/test_actions.py b/tests/test_actions.py index f6537fa..e6f31e3 100644 --- a/tests/test_actions.py +++ b/tests/test_actions.py @@ -71,6 +71,15 @@ class Follow(unittest.TestCase): actions.follow(lambda: False, keys.append, False) self.assertEqual(keys, []) + def test_no_pidof_reads_as_unlocked(self): + import os + path = os.environ["PATH"] + os.environ["PATH"] = "/nonexistent" + try: + self.assertFalse(actions._locked()) + finally: + os.environ["PATH"] = path + def test_adb_failure_is_ignored(self): def boom(code): raise subprocess.CalledProcessError(1, "adb") -- cgit v1.2.3