Skip to content

Address feedback and refactor Windsurf rules for Formidable patterns#2960

Merged
Crabcyborg merged 63 commits into
feature/windsurf-configuration-formidablefrom
docs/address-feedback-windsurf-rules
Feb 20, 2026
Merged

Address feedback and refactor Windsurf rules for Formidable patterns#2960
Crabcyborg merged 63 commits into
feature/windsurf-configuration-formidablefrom
docs/address-feedback-windsurf-rules

Conversation

@shervElmi

Copy link
Copy Markdown
Contributor

shervElmi and others added 30 commits February 3, 2026 16:09
…en-behind-panel

Fix field options dropdown hidden behind panel
…rkflow

Include scss in stylelint workflow
…sh-accumulation

Fix backslash accumulation in Stripe and Square settings
…ta_cleanup

Add object check to usage data cleanup
…ange principles

Add requirement to use Big-O notation for comparing algorithms and selecting most efficient option for large inputs and iterations in Phase 3 (Change Execution) of code-change-principles.md
…guide

Change scope list from dash-space to colon format for consistency with conventional commits examples. Remove redundant instruction about issue references that duplicates earlier section.
…nciples

Add "comments" to list of text types covered by writing style guidelines (PR titles, PR body, commit messages, etc.) to clarify that code comments should follow the same style rules.
Change property group labels from dash to colon format for consistency with other documentation formatting (Display and Box Model - to Display and Box Model:, etc.)
…patterns documentation

Add comprehensive JavaScript coding standards for Formidable Forms including modern ES6+ patterns, DOM manipulation with frmDom helpers, async/await patterns, error handling, performance optimization, and architectural decisions. Document critical rules: no jQuery in new code, prefer functional over class-based, use ES modules except admin.js. Include frmDom.util event helpers, template system patterns, state
…from dash to colon

Change Arrange-Act-Assert pattern comments and assertion examples from dash-space to colon format for consistency with other documentation (// Arrange - to // Arrange:, // CORRECT - to // CORRECT:, etc.). Rename testing.md to frm-testing.md to follow formidable file naming convention.
…ress polyfills in frm-php.md

Remove return type declarations from PHP 7.0 allowed features (moved to 7.1+ forbidden list). Update minimum WordPress version from 5.5 to 6.3. Add WordPress-polyfilled functions table showing str_contains/str_starts_with/str_ends_with are safe to use, while array_is_list and newer array functions require version checks. Clarify Lite subfolder classes use Frm prefix. Update Pro hook naming rule to only
…s documentation

Add comprehensive React coding standards for Formidable Forms including functional components with hooks, memoization patterns, state management, composition patterns, and WordPress data layer integration. Document critical rules: functional components only (no classes), import hooks from @wordpress/element, use WordPress packages for i18n/API/components/data. Include useMemo/useCallback optimization patterns, derived
…ctions documentation

Add comprehensive security guidelines for Formidable Forms including input handling with FrmAppHelper sanitization functions (get_post_param/simple_get/get_param), nonce verification patterns, safe serialization using maybe_unserialize_array, DOM sanitization with frmDom.cleanNode, authorization checks with current_user_can/permission_nonce_error/user_has_permission, and Formidable capabilities reference table
@shervElmi
shervElmi requested a review from Crabcyborg February 20, 2026 18:07

@Crabcyborg Crabcyborg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @shervElmi!

I've merged a PR into this because it includes a new skill for adding ES Lint rules.

We also now have the 4 new rules I demoed today in the meeting.

I'll go ahead and merge this so everything in is one one PR.

@Crabcyborg Crabcyborg added this to the 6.29 milestone Feb 20, 2026
@Crabcyborg
Crabcyborg merged commit 349ca42 into feature/windsurf-configuration-formidable Feb 20, 2026
34 of 39 checks passed
@Crabcyborg
Crabcyborg deleted the docs/address-feedback-windsurf-rules branch February 20, 2026 19:45
stephywells pushed a commit that referenced this pull request Apr 4, 2026
…rf-rules

Address feedback and refactor Windsurf rules for Formidable patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants