-
Notifications
You must be signed in to change notification settings - Fork 151
Merge upstream/develop and fix form-builder CSS issue #1718
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
Conversation
- Merged upstream/develop (commits up to f8a9a6e) - Fixed tailwind.config.js to prevent CSS purging of form styles - Restored critical content paths: includes/Admin, admin/form-builder/assets/js - Kept new subscription template paths from upstream - Re-added daisyui plugin for compatibility - Rebuilt form-builder.css with correct configuration - Restored @tailwindcss/forms base styles (2,106 lines) - Fixed missing input, checkbox, radio, and select styles The upstream commit f8a9a6e had a broken tailwind.config.js that removed critical content paths, causing Tailwind to purge essential form styles. This commit combines both old and new content paths to ensure all styles are included while maintaining new functionality.
WalkthroughExtensive CSS additions for form-builder UI system with comprehensive component styling (buttons, inputs, dropdowns, tables, modals, tooltips). Updates Tailwind configuration to integrate daisyui plugin and expand content paths for PHP and JavaScript templates. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–25 minutes Significant volume of CSS additions following consistent theming and utility class patterns reduces cognitive complexity per rule. Tailwind config updates are straightforward. Review requires understanding design system integration, daisyui plugin usage, and content path coverage validation. Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🪛 Biome (2.1.2)assets/css/admin/form-builder.css[error] 641-641: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. outline is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 891-891: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. border-color is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 951-951: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. transition-timing-function is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 1358-1358: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. line-height is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 1406-1406: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. line-height is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 1710-1710: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. transition-timing-function is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 2144-2144: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. line-height is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 2152-2152: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. line-height is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 2248-2248: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. transition-property is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) [error] 2278-2278: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally. width is already defined here. Remove or rename the duplicate property to ensure consistent styling. (lint/suspicious/noDuplicateProperties) 🔇 Additional comments (4)
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 |
* Add WPUF post form fields reference documentation Introduces a comprehensive Markdown reference for all available WPUF (WordPress User Frontend) post form fields, including field types, properties, options, Pro vs Free distinctions, validation rules, templates, and usage guidelines for AI-driven form creation * feat: initialization of ai form builder design * feat: check box design refinement * fix: right side form design * fix: move all the php file to vue file with build process * fix: design and responsiveness * fix: conflict * fix: component divided * feat :Added ai form builder implementation and the predefined templates * php library added for ai and mock fortend form working * chore: update implementatoin * fix: mock date field issues * fix issues of template hover css * fix: design of required fields * fix : chat box button logic * chore: some code changes for better readability * feat: added the setting from this branch sapayth:feat/settings_for_ai * fix: updated the model and provide list based on our sdk * big changes: real api call aplied * fix: apply and cancel button * some fix that need to privide best response * chore: cleanup codebase * chore: code cleanup and fix ai form template only for post forms * fix: system prompt fix for ai to give specific answer * chore: added post form field reference md * fix: form not changing view * fix: dropdown svg icon issues * fix: form loading issues in edit in builder option * fix: ai response * fix: ai respones properly * feat: design the modal of regenerate * design fix modal * fix: country fields fix * fix: button disabled while generating response * added pro fields checks in form success stage * feat: added checkpoitns to each responses * fix: radio field issues * fix: design * fix : msg and text area field issus * fix: ai response * feat: added latest model * fix: gotosettings link when the ai settings is not configured * fix : ai response waiting to form builder * fix: ai respose for check box , radio button and dropdowns * fix: design * fix: design * fix: ignore form related questions * fix: remove predefined provider * fix: confetti url fix * fix: broken response * fix: settings onchange * fix: selectted prompt unselect on change prompt input * remove unused file from form generator * fix: settings and md file change * big changes: updated prompt and code refactor * feat: add new button for ai form builder * fix: waarnind added properly * remove test file * fix: coderabbit issues and checkpoints * fix: ai form builder design cs s * fix: code rabbit issues * fix the admin css and dynamic link * feat: ui desing fix * fix: last resotore point not show * fix: gif issues and other feeddback * fix: post_type_object type error ' * chore : remove var dump * fix: ai stage check and updated model * fix: property form prompts * chore: remove erro log * chore: coderabbit issues * fix: generalized the prompt * feat: added registration ai form builder * fix: ai return msg * fix: response ai * fix : all console logs * fix: Updated the localization handle - Changed wp_localize_script() from 'wpuf-admin-script' to 'wpuf-admin' to match the registered script handle * fix: ai model list in one place * fix: file exists check for generator * chore: rest controller optimization * chore: AI_Manager fix * fix: 00% Consistent Naming - All components now use rest_url (snake_case) for the REST API URL property across the entire codebase * fix: resolve conflicts * Enhancement/tailwind subscription packs view 993 (#1689) * feat(subscription): implement Tailwind UI-based layout for packs view * fix: design cjange * fix: Fix subscription pack 'See more' button affecting multiple cards - Moved JavaScript toggle function from pack-details.php to listing.php - Function is now defined only once instead of being redefined for each pack - Added unique IDs for each pack's elements to ensure proper isolation - Added null checks to prevent errors if elements are not found - Each subscription pack card now expands/collapses independently This fixes the issue where clicking "See more" on one subscription pack would expand all packs simultaneously. Now each pack's features list expands and collapses independently as expected. 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]> * fix: Improve subscription pack toggle to use event delegation - Replaced onclick handlers with data attributes and event delegation - Added unique data-wpuf-pack-id attributes for proper isolation - Implemented event listener on document level to handle all toggles - Added data-expanded attribute to track button state - Prevents multiple event listener registrations with initialization flag - Each pack now properly expands/collapses independently This ensures that clicking "See more" on one subscription pack only affects that specific pack, not others on the page. 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]> * feat : added button color customization * change the settings--->preferences * fix: coderabit issues * chore: yoda fuctions applied * fix tailwind config * fix: color fix * chore : remove unused library * fix: primary emerald color * fix: import colors in tailwind.config.js and rebuild forms-list.min.js --------- Co-authored-by: Claude <[email protected]> * Merge upstream/develop and fix form-builder CSS issue (#1718) * merge conflict remove * fix: address field not working * fix: category dropdown * fix: prompts * fix: registration form ai form * fix: ai form builder fix: * fix: predefined prompt * fix: country field * big changes: optimization and other fix * fix : registration forms fields * fix: bio and profile fields * fix: ai response field options * fix: ai form builder restore points * fix: google map and bio field * chore: remove debug log * fix: google map error: * fix: desing settings * fix: options show * fix: select , multi select and radio button fix in ai form builder * fix: show data in post and hide field label in pst for ai form * fix: max fiel and file size missing default valuw * fix: embed field integration * fix: issues * fix: issues * fix: shortcode ai generated dynamic * fix: profile photo and avatar photo * fix: ai form builder column fields check * fix: column fields slider issues * fix: language change in ai form builder * fix: shortcode fix * fix: shortcode * fix: ai form builder issue * fix: social and profile field * fix: socil field meta key --------- Co-authored-by: Sapayth Hossain <[email protected]> Co-authored-by: Claude <[email protected]>
The upstream commit f8a9a6e had a broken tailwind.config.js that removed critical content paths, causing Tailwind to purge essential form styles. This commit combines both old and new content paths to ensure all styles are included while maintaining new functionality.
Summary by CodeRabbit