Skip to content

Reveal profile summary on upward scroll anywhere in the feed - #3465

Merged
feruzm merged 1 commit into
developmentfrom
feature/profile-summary-reveal
Aug 6, 2026
Merged

Reveal profile summary on upward scroll anywhere in the feed#3465
feruzm merged 1 commit into
developmentfrom
feature/profile-summary-reveal

Conversation

@feruzm

@feruzm feruzm commented Aug 6, 2026

Copy link
Copy Markdown
Member

Closes #1915

Most of what this 2021 issue asked for already landed in the recent profile design pass: the collapse is animated (500ms CollapsibleCard height), automated (dead zone plus cooldown against oscillation) and revertable at the top. The remaining gap was the reveal: the header only re-expanded within 8px of the top, so scrolling back up mid-list never brought it back.

Both toggle legs now read one signed scroll run: same-direction deltas accumulate, a direction flip resets the run to the new delta and per-event deltas of 250px or more are treated as layout blips (post-toggle reflow, tab switches) that zero it. 60px of continuous upward drag reveals the header anywhere in the list; collapse now requires 20px of downward run on top of the existing 80px threshold, which keeps a cooldown recheck from undoing a mid-list reveal (the old code could assume open means near-top; this change breaks that invariant so collapse had to become direction-aware too).

Out of scope, noted for the record: a fully interactive proportional collapse (header tracking the finger, head-tab-view style) would need the header restructured into an overlay with a shared animated value across every tab's list. The issue itself recorded that attempt as not worth the trouble; this delivers the missing behavior with the existing machinery.

Device pass: profile feed scroll down (collapses past 80px), drag up mid-list (header reveals after ~60px), flick between tabs at different offsets (no spurious toggles), settle at top (stays expanded).

The summary previously re-expanded only within a few px of the top. Both
toggle legs now read one signed scroll run (same-direction deltas
accumulate, direction flips reset, layout-jump deltas zero it): 60px of
continuous upward drag reveals the header mid-list and collapse requires
20px of downward run, so a cooldown recheck can no longer undo a mid-list
reveal. Dead zone, cooldown and reflow-blip handling unchanged.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@feruzm, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 4 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 90dc59e3-f2a4-4bcb-92cb-1fe9b20988ba

📥 Commits

Reviewing files that changed from the base of the PR and between 8dac936 and 2523ef2.

📒 Files selected for processing (1)
  • src/components/profile/profileView.tsx

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@feruzm
feruzm merged commit 7723af7 into development Aug 6, 2026
8 checks passed
@feruzm
feruzm deleted the feature/profile-summary-reveal branch August 6, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smoothen collapsable profile header

1 participant