-
-
Notifications
You must be signed in to change notification settings - Fork 294
Add "drop not allowed" styles #935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for react-querybuilder ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Claude finished @jakeboone02's task —— View job PR Review: Add "drop not allowed" stylesReviewing the implementation for code quality, best practices, potential bugs, performance considerations, and security concerns. Todo List:
Code Review Findings✅ Strengths1. Consistent Implementation Pattern
2. Good CSS Architecture
3. Proper Integration
4. Type Safety
🔍 Minor Considerations1. Performance (packages/react-querybuilder/src/components/Rule.tsx:750, 759-760) dropNotAllowed && classNamesProp.dndDropNotAllowed,
// ...
[standardClassnames.dndDropNotAllowed]: dropNotAllowed, The conditional class application is efficiently implemented using short-circuit evaluation and object spread. 2. Memory Usage 🎯 No Issues Found
Overall AssessmentThis is a well-implemented feature that follows the project's established patterns and conventions perfectly. The changes are minimal, focused, and maintain the high code quality standards of the project. The implementation correctly handles the "drop not allowed" visual feedback in a consistent way across all drag-and-drop components. Recommendation: ✅ Approve - Ready to merge. |
More templates
@react-querybuilder/antd
@react-querybuilder/bootstrap
@react-querybuilder/bulma
@react-querybuilder/chakra
@react-querybuilder/datetime
@react-querybuilder/dnd
@react-querybuilder/drizzle
@react-querybuilder/fluent
@react-querybuilder/mantine
@react-querybuilder/material
@react-querybuilder/native
react-querybuilder
@react-querybuilder/tremor
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #935 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 200 200
Lines 6936 6943 +7
Branches 3499 3524 +25
=========================================
+ Hits 6936 6943 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Introduce styles and logic to indicate when a drop action is not allowed during drag-and-drop interactions. This includes updates to relevant hooks and classnames to reflect the new state.