Repository navigation
feat(app): panels follow what the bot starts doing and slide open - #38
Merged
Merged
Conversation
The panel widens from the window's edge in 280 ms while its content, already at its full width, comes in with it, so nothing reflows and the chat narrows smoothly instead of jumping. The motion lives in its own file (panels.css); reduced motion makes it instant.
The browser opens by itself when the bot's browser starts or it asks for a hand, and the design area when it starts writing a screen, in place of whatever panel was open, once per start, so the owner sees it happen instead of a dot they may miss. A browser already open when the bot is opened stays behind its button, a panel the owner closes stays closed, and the browser in the owner's hands is never taken away. Spec 15.1, 21.8 and 22.5.
It draws sixty messages twice: about 2 s alone, but past the default 5 s when the whole suite runs at once, which made it fail now and then.
Opening takes 460 ms on a curve that does not rush the start, as 280 ms front-loaded felt abrupt. Closing now runs the panel back to the edge in 360 ms before it goes: the bot view keeps the last panel on screen while it slides, out of reach of clicks and screen readers. A panel replacing another starts from that one's width, so a switch is one smooth move. The motion lives in panelMotion.ts and panels.css.
This was referenced Sep 29, 2026
Merged
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
Two changes the owner asked for after watching a bot work in the app window.
The panel follows the bot (spec 15.1, 21.8, 22.5)
useFollowBot, soBotViewstays small.Panels slide open and closed (spec 15.1)
SidePanel. The panel now widens from the right edge in 460 ms, on a curve that does not rush the start. It slides back to the edge in 360 ms before it goes.BotViewkeeps the last panel on screen, witharia-hiddenandinert. A panel replacing another starts from that one's width, so a switch is one move.panelMotion.tsand its ownpanels.css, somotion.cssdoes not grow. Reduced motion makes it instant.Test timeout
Tests
pnpm checkpasses (146 tests). New or updated tests cover:In the preview,
getAnimations()showspanel-openrunning: 1 px at the start, 492 of 520 px halfway, with the content at 520 px throughout.Manual step
pnpm tauri dev), with details or files open, ask a bot to browse or write a page, and see its panel slide open by itself.