Skip to content

Commit

Permalink
feat: add filter conditions
Browse files Browse the repository at this point in the history
* [wip] Import Conditions

* fix: e2e test failing

* fix: unit tests

* test: adding phpunit tests

* fix: e2e test failing

* fix: backward compat

* Update ConditionsControl.js

* chore: add dummy conditions for upsell

* chore: allow editing of conditions without saving in free

* feat: add filters support to shortcode

* chore: improve upsell

* fix: display of regex strings as special chars

* chore: fix eslint error

* chore: fix broken code

* fix: the mess with escape and unescaping
  • Loading branch information
HardeepAsrani authored Dec 26, 2024
1 parent f6c9157 commit 6e2dfcc
Show file tree
Hide file tree
Showing 19 changed files with 2,731 additions and 411 deletions.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ composer.lock
package-lock.json
key.enc
js/FeedzyBlock
js/Conditions/
js/Onboarding/
js/ActionPopup/
js/FeedBack/
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
},
"scripts": {
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
"lint": "phpcs --standard=phpcs.xml"
"lint": "phpcs --standard=phpcs.xml",
"test": "phpunit"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand All @@ -46,6 +47,7 @@
"require-dev": {
"wp-coding-standards/wpcs": "^3.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.1"
"phpcompatibility/phpcompatibility-wp": "^2.1",
"yoast/phpunit-polyfills": "^3.0"
}
}
Loading

0 comments on commit 6e2dfcc

Please sign in to comment.