Fix Hud
Rolling release / release (push) Successful in 7m27s

This commit is contained in:
2026-09-12 16:09:52 -04:00
parent 2f6e4b3af9
commit 04a9306594
3 changed files with 108 additions and 13 deletions
+15
View File
@@ -271,6 +271,9 @@ test('session panel stays closed while Jarvis speaks unless expanded', () => {
session.show(true);
assert.equal(session.root.visible, true);
assert.match(session.view.transcript.children[0].text, /still talking/);
session.view.scroll.vadjustment.value = 0;
session.show(true);
assert.equal(session.view.scroll.vadjustment.value, 160);
});
test('lazy ASR still shows the microphone as available when capture is up', () => {
@@ -480,11 +483,23 @@ test('Chat and Thinking tabs exist and thinking auto-follows', () => {
assert.match(view.thinking.text, /Considering the lookup/);
assert.equal(view.thinking.clutter_text.ellipsize, 0);
assert.equal(view.thinkingScroll.vadjustment.value, 160);
view.token('Latest reply token');
view.scroll.vadjustment.value = 0;
view.setState('SPEAKING');
assert.equal(view._tab, 'chat');
assert.equal(view.scroll.visible, true);
assert.equal(view.thinkingScroll.visible, false);
assert.equal(view.scroll.vadjustment.value, 160);
view.showTab('chat', { user: true });
view.updateThinking('still thinking');
assert.equal(view._tab, 'chat');
assert.equal(view.thinkingScroll.visible, false);
assert.match(view.thinking.text, /still thinking/);
view.thinkingScroll.vadjustment.value = 0;
view.showTab('thinking', { user: true });
assert.equal(view._tab, 'thinking');
assert.equal(view.thinkingScroll.visible, true);
assert.equal(view.thinkingScroll.vadjustment.value, 160);
}
});