Repository navigation
fix(bots): keep the item page's top fixed, scroll only the Activity - #48137
Merged
orca-remote-automation[bot] merged 1 commit intoNov 24, 2026
Merged
Conversation
The item page's title, status, links, description, Chat and Done means now stay put; only the Activity scrolls. In a short pane the top scrolls itself so the Activity keeps at least 140px (or half the pane).
11 tasks done
orca-remote-automation Bot
added a commit
that referenced
this pull request
Nov 25, 2026
* revert: scroll the whole item page again (#48137) Reverts 4087829. The item page scrolls as one column again with the sticky title/status/links header; the closing note stays in its own file for the line cap. * fix(items): opening the description no longer follows the page to the end With the single scroller back, the description sits inside the follow content, so Show more on an item whose page fit counted as growth and scrolled to the end. The toggle now leaves the end first. Keeps the loading fixture. --------- Co-authored-by: orca-remote-automation[bot] <359726236+orca-remote-automation[bot]@users.noreply.github.com>
saltyfireball
pushed a commit
to saltyfireball/orca
that referenced
this pull request
Nov 25, 2026
…8750) * revert: scroll the whole item page again (stablyai#48137) Reverts 4087829. The item page scrolls as one column again with the sticky title/status/links header; the closing note stays in its own file for the line cap. * fix(items): opening the description no longer follows the page to the end With the single scroller back, the description sits inside the follow content, so Show more on an item whose page fit counted as growth and scrolled to the end. The toggle now leaves the end first. Keeps the loading fixture. --------- Co-authored-by: orca-remote-automation[bot] <359726236+orca-remote-automation[bot]@users.noreply.github.com> (cherry picked from commit fce7cfc) (cherry picked from commit 86b2304074c04111f0311fbee71ca6bc83328af9)
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.
ELI5
On a bot item's page, the top part (title, status, links, description, Chat, Done means) now stays put. Only the Activity list scrolls.
What Changed
max(50%, 100% - 140px). At normal heights nothing in the top block is clipped.CloseNotemoved toBotItemCloseNote.tsxto keepBotItemView.tsxunder the line cap.Why
The owner asked for the top section to stay put while the Activity scrolls, so the item's context stays in view. A flat 45% cap hid Chat and Done means even in ordinary panes where everything fit. The
max(50%, 100% - 140px)cap only clips the top when the Activity would otherwise get too small. Checked against how comparable products handle this.Linked Issue
Maintainer change, no issue.
Visual Proof
Component fixtures in the dark theme. In each image, before is on the left and after is on the right.
Scrolled to the latest Activity (340px wide):
Long title, 14 links and a long Done means in a short pane: the top block scrolls inside itself and the Activity keeps room:
Narrow (300px), everything fits, no clipping:
Loading skeleton, unchanged:
Testing
pnpm check:changedpassed: format, lint, typecheck, related tests and ratchets.Before/after
pnpm fixtures:shot bots/items/BotItemPaneat 300, 340, 480 and 600px wide and 360, 420 and 860px tall, with long titles, many links, a long Done means and long Activity. New fixtures:crowdedTopShort,crowdedTopTall,loading.Code review and UX review passed.
No unit test: this is a layout change, and the repo's test rules say not to test UI behavior.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
Performance
None, because this is CSS layout only. One fewer ResizeObserver runs (the header's scroll-padding measurement is gone), and nothing new runs on scroll.
Risk
Level: Low. This is renderer layout only. The riskiest part is scroll behavior (follow, Jump to latest, the Reply jump), which now uses the Activity scroller. If it went wrong, a jump would land at the wrong position. Back out with a plain revert.
Review
Agent skill upstream boundary
Notes
Renderer-only: the same on Mac, Linux and Windows, for local and remote hosts. No mobile surface.
Checklist
pnpm check:changedpasses (CI covers the full suite)