Merged
Conversation
Contributor
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis pull request refactors the Changes
🚥 Pre-merge checks | ❌ 2❌ Failed checks (2 inconclusive)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@js/app/packages/channel/docs/sticky-scrolling.md`:
- Around line 3-8: Clarify the “bottom threshold” by specifying a concrete
metric and a named constant to use in code and docs: define a pixel-based
constant (e.g., SCROLL_THRESHOLD_PX = 100) and optionally a viewport-fraction
constant (e.g., SCROLL_THRESHOLD_RATIO = 0.05), update the docs to state
“considered at bottom if scrollHeight - (scrollTop + clientHeight) <=
SCROLL_THRESHOLD_PX or <= SCROLL_THRESHOLD_RATIO * clientHeight,” and reference
the runtime check function (e.g., isAtBottom() or checkIsAtBottom()) to read
that constant so sticky-scrolling behavior is applied deterministically for new
messages and reactions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 4d37bc3f-b81f-4b17-908d-7a2cc225db37
📒 Files selected for processing (2)
js/app/packages/channel/Thread/ThreadTypingIndicator.tsxjs/app/packages/channel/docs/sticky-scrolling.md
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.
No description provided.