Multiplayer agent harness for work.
Remove Sessions label from sidebar (#1361)
Eve Bouffardd3526537175c
diff --git a/plugins/web-ui/src/shell.ts b/plugins/web-ui/src/shell.tsindex 83f26de1c..ab5c4de9b 100644--- a/plugins/web-ui/src/shell.ts+++ b/plugins/web-ui/src/shell.ts@@ -635,7 +635,7 @@ export function renderSidebarTop(): void {startNewChatInLastScope();})}</div>- ${sessionSelectionBar() ?? html` <div class="section-label recents-label"><span>Sessions</span></div> `}+ ${sessionSelectionBar() ?? nothing}`,appState.topEl,);diff --git a/plugins/web-ui/test/responsive-source.test.ts b/plugins/web-ui/test/responsive-source.test.tsindex a814954bc..1786ef832 100644--- a/plugins/web-ui/test/responsive-source.test.ts+++ b/plugins/web-ui/test/responsive-source.test.ts@@ -65,7 +65,7 @@ test("the sidebar's quick actions share the navrow treatment", () => {assert.doesNotMatch(css, /split-new-session/);});-test("the quick nav is home, search, browse; create sits under the divider with the sessions it starts", () => {+test("the quick nav is home, search, browse; create sits under the divider", () => {assert.match(shell,/<nav class="nav quick-nav"[\s\S]*?navRow\("chats", ICON\.home, "Home"\)[\s\S]*?actionRow\(Search, "Search"[\s\S]*?actionRow\(ICON\.browse, "Browse"[\s\S]*?<\/nav>/,@@ -75,11 +75,8 @@ test("the quick nav is home, search, browse; create sits under the divider with/<nav class="nav quick-nav"[\s\S]*?actionRow\(ICON\.newChat[\s\S]*?<\/nav>/,"create belongs below the quick-nav divider, not inside it",);- assert.match(- shell,- /<div class="nav new-chat-nav">[\s\S]*?actionRow\(ICON\.newChat[\s\S]*?<\/div>[\s\S]*?section-label recents-label/,- "create sits between the divider and the Sessions header",- );+ assert.match(shell, /<div class="nav new-chat-nav">[\s\S]*?actionRow\(ICON\.newChat[\s\S]*?<\/div>/);+ assert.doesNotMatch(shell, /<span>Sessions<\/span>/);assert.doesNotMatch(shell, /navRow\("chats", ICON\.chats/);assert.doesNotMatch(shell, /nav-section-toggle|nav-group|navWorkspaceOpen/);assert.doesNotMatch(css, /\.nav-section-toggle|\.nav-group/);