Repository navigation
Highlight Routines in the strip when Routines is open - #2062
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 23, 2026 16:46
On Routines, the strip could not light Routines. Bots on the strip opened Conversations' panel instead, because opening the panel on a page whose section has none asks for Conversations, and that request came after Bots. Once Bots was open, Routines' own icon did nothing: its link pointed at the page already open, so no navigation happened and nothing gave the strip back to Routines. A panel section's icon now opens the panel first and asks for its section last. A page section's icon, clicked on its own page, opens its section as arriving on the page would have. The other page-only sections get the same fix through the same strip item. Tested in a real browser, Chromium and WebKit, and in the unit suite.
davidmckayv
force-pushed
the
fix/routines-strip-highlight
branch
from
November 23, 2026 16:58
d0e545a to
88e7074
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What a person saw
On Routines, the strip would not light Routines. Clicking the Routines icon changed nothing: the page was Routines, but Bots stayed lit on the strip with the Bots panel open beside the page, and there was no way to get Routines selected again short of going to another page first.
Cause
Two things in the strip's click handling, both on a page whose section has no panel.
/routines, and on/routinesthat link goes nowhere: the router does not commit a navigation to the location it is already on. With no new page, nothing gave the strip back to Routines, so Bots stayed lit and its panel stayed open.The other page-only sections (Agents, Memory, Skills, Connections) use the same strip item and had the same problem.
Fix
In
app/src/components/app-sidebar/section-strip.tsx:This follows the existing design: the panel is Bots' on the Bots section and Conversations' everywhere else, and a section with no panel folds the panel away. No styling, layout or copy changes.
Tests
app/tests/section-strip-routines.test.tsx(new, real browser, Chromium and WebKit, added to theapp-browser-webkitjob): drives the real strip, panels and shell with the app's stylesheet./routines: Routines is lit and current, the panel is folded away.app/tests/section-strip.test.tsx: two matching cases in the unit suite.Red on
main, green with the fix:Unit suite
section-strip.test.tsx: 2 fail onmain, 11 pass with the fix. The app's whole unit suite passes (one Settings test timed out once under load and passes on its own).Screenshots of the strip and panel on Routines, before and after, in light and dark, in Chromium and WebKit, were checked by eye: before, Bots lit with its panel beside Routines; after, Routines lit and the panel folded away, as on a direct load. Nothing else in the strip or panel moved.