feat: pre-render sidebar on openSession before first poll tick

This commit is contained in:
Brian Krabach
2026-03-27 17:38:36 -07:00
parent 9f60ead3d2
commit 93dc92484b
2 changed files with 24 additions and 5 deletions
+10
View File
@@ -1927,6 +1927,16 @@ test('toggleSidebar removes sidebar--collapsed class when opening (from closed)
globalThis.document.getElementById = origGetById;
});
// --- Guard: initSidebar and renderSidebar are exported and callable ---
test('initSidebar is exported and callable', () => {
assert.strictEqual(typeof app.initSidebar, 'function', 'initSidebar should be a function');
});
test('renderSidebar is exported and callable', () => {
assert.strictEqual(typeof app.renderSidebar, 'function', 'renderSidebar should be a function');
});
// --- bindStaticEventListeners sidebar toggle buttons ---
test('bindStaticEventListeners binds sidebar-toggle-btn and sidebar-collapse-btn click to toggleSidebar', () => {