Repository navigation
Consolidate diff header tooltip providers - #8429
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughEditorPanelHeader now renders adjacent diff controls within a single shared TooltipProvider and retains the configured tooltip timing. A Vitest test adds mocked dependencies and an active-file fixture, then verifies the provider count, tooltip count, delay duration, and previous/next change accessibility labels in the rendered markup. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
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 |
|
Confirmed the grouped-tooltip timing change is intentional. Sharing the Radix |
Co-authored-by: Brennan Benson <brennanbenson@Brennans-MacBook-Pro.local>
Summary
TooltipProvideracross the diff layout and change-navigation controlsVerification
pnpm exec oxfmt --check src/renderer/src/components/editor/EditorPanelHeader.tsx src/renderer/src/components/editor/EditorPanelHeader.test.tsxpnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/editor/EditorPanelHeader.test.tsx src/renderer/src/components/editor/diff-navigation-context.test.tsxpnpm exec tsc --noEmit -p config/tsconfig.tc.web.jsonpnpm exec oxlint src/renderer/src/components/editor/EditorPanelHeader.tsx src/renderer/src/components/editor/EditorPanelHeader.test.tsxpnpm exec oxlint --config config/oxlint-react-doctor.json src/renderer/src/components/editor/EditorPanelHeader.tsx src/renderer/src/components/editor/EditorPanelHeader.test.tsxgit diff --check