feat: add floating layout#16
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 37 minutes and 22 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR introduces configurable display layouts for CodeRabbit review results. Users can now select between floating windows or buffer display via the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~23 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
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 `@lua/coderabbit/show.lua`:
- Line 214: The existing branch that reuses an already-valid buffer calls
open_window(buf_id) but does not reapply window options, causing float windows
or buffer layouts to miss normalized settings; after calling open_window(buf_id)
(the same branch where you handle reopening a hidden buffer), call
set_win_opts(0) to reapply/normalize window options for the newly opened window
so float/config options like wrap and conceallevel are enforced consistently.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: c56bc79f-5726-4043-b26e-b89f0b26481c
📒 Files selected for processing (5)
README.mddoc/coderabbit.txtlua/coderabbit/config.lualua/coderabbit/show.luatests/coderabbit/show_spec.lua
Description
When viewing review, open as floating window by default
Screenshots/Images
Summary by CodeRabbit
Release Notes
New Features
Documentation
:CodeRabbitShowcommand documentation to reflect new display mode flexibility.showsettings block.