Repository navigation
Keep the panel capsule under the whole Bot tab - #474
Merged
Merged
Conversation
Opening a Bot's tab back from its browser showed the name sliding in from zero width; the capsule measured the tab before the name existed and the strip's ResizeObserver only watched the whole strip, so it never followed (#472). The name now fades in at its final width, so the measure lands on the settled layout, and the observer watches the active tab itself for any later width change.
Owner
Author
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
1 task done
elonnzhang
pushed a commit
to elonnzhang/DeepSeek-Bot
that referenced
this pull request
Oct 23, 2026
They merged after the 0.2.1 changelog was written; the release now includes them.
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.


Issue
Fixes #472
What changed / 改了什么
Bug fixed: after a click from a browser tab back to the Bot's own tab, the highlight capsule covered only the Bot's mark and left its name outside. The capsule was measured while the name still started its
max-width: 0animation, and the observer that corrects it watched only the strip.Changelog
The highlight under the Bot's tab in the side panel covers the whole tab again after you come back from a browser tab.
How I checked it / 怎么验证的
npm test(inds-bot/): 919 pass, 0 fail, 1 skipnode scripts/build-client.mjs --checknpm run lintdev(from 100 ms on) and by 0.1 px with this change, at 0, 100, 300 ms and 1 s.