Context bar updates - #744
Conversation
|
Warning Review limit reached
Next review available in: 48 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 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. 📝 WalkthroughWalkthroughThe change adds block toolbar and context-menu translations in eight locales. It centralizes toolbar labels and titles, refreshes localized labels, and adjusts toolbar visibility, enable-state icons, dynamic labels, and canvas-view exit text. ChangesBlock toolbar localization and behavior
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@locale/pt.js`:
- Around line 1086-1087: Update delete_block_button_ui in locale/pt.js to use
the European Portuguese wording “Eliminar bloco”, matching delete_button_ui and
the locale’s existing Portuguese variant; leave duplicate_block_button_ui
unchanged.
In `@ui/contextmenu.js`:
- Around line 1037-1039: Update updateSimplifiedToolbar() to refresh
detachBtn.style.display based on the current toolbar block’s detachment state,
ensuring a detached block hides Detach alongside Enable and View while Duplicate
and Comment remain visible. Verify the BLOCK_MOVE refresh path applies these
visibility states after detaching.
🪄 Autofix
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: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 5e867e12-d227-4290-8165-a26efa18c82e
📒 Files selected for processing (9)
locale/de.jslocale/en.jslocale/es.jslocale/fr.jslocale/it.jslocale/pl.jslocale/pt.jslocale/sv.jsui/contextmenu.js
Summary
Summary by CodeRabbit