Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* basic code upgrade with name spaced php classes and templates * typo fixed on composer module type * little tweaks for parent calls * fixed namespaces in yaml * JS bundled via Yarn / Webpack, and updated the select dropdowns on selectors * listen to on key up * desing the displayLogicCriteria on the instance than the Extension it self. * added conditionals tests for the rules to be checked in in the JS * removed the criteria from being in the field's owner. and moved back in to the extension * updated the namespaces * renamed the display logic wrapper templates * updated the name selector for the select dropdowns * class renaming and behat * Behat tests
- Loading branch information
Aaron Carlino
committed
Feb 18, 2018
1 parent
b3552c4
commit eece1d7
Showing
42 changed files
with
6,841 additions
and
928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Ignore dist files | ||
client/dist/ | ||
|
||
# Ignore vendor | ||
node_modules/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@silverstripe/webpack-config/.eslintrc'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.idea | ||
/node_modules/ | ||
/src/DisplayLogicTestPage.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Run display-logic behat tests with this command (installed with silverstripe/installer) | ||
# Note that display-logic behat tests require CMS module | ||
# ========================================================================= # | ||
# vendor/bin/selenium-server-standalone -Dwebdriver.firefox.bin="/Applications/Firefox31.app/Contents/MacOS/firefox-bin" | ||
# vendor/bin/serve --bootstrap-file vendor/silverstripe/cms/tests/behat/serve-bootstrap.php | ||
# vendor/bin/behat @display-logic | ||
# ========================================================================= # | ||
default: | ||
suites: | ||
display-logic: | ||
paths: | ||
- %paths.modules.display-logic%/tests/behat/features | ||
- %paths.modules.display-logic%/tests/behat/bootstrap/remove-test-page.feature | ||
contexts: | ||
- UncleCheese\DisplayLogic\Tests\Behaviour\FeatureContext | ||
- SilverStripe\Framework\Tests\Behaviour\CmsFormsContext | ||
- SilverStripe\Framework\Tests\Behaviour\CmsUiContext | ||
- SilverStripe\BehatExtension\Context\BasicContext | ||
- SilverStripe\BehatExtension\Context\EmailContext | ||
- SilverStripe\BehatExtension\Context\LoginContext | ||
- | ||
SilverStripe\Framework\Tests\Behaviour\ConfigContext: | ||
- %paths.modules.display-logic%/tests/behat/files/ | ||
- | ||
UncleCheese\DisplayLogic\Tests\Behaviour\FixtureContext: | ||
- %paths.modules.display-logic%/tests/behat/bootstrap/ | ||
|
||
extensions: | ||
SilverStripe\BehatExtension\Extension: | ||
bootstrap_file: vendor/silverstripe/cms/tests/behat/serve-bootstrap.php | ||
screenshot_path: %paths.base%/artifacts/screenshots | ||
retry_seconds: 4 # default is 2 | ||
SilverStripe\BehatExtension\MinkExtension: | ||
default_session: selenium2 | ||
javascript_session: selenium2 | ||
selenium2: | ||
browser: firefox |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require('../components/display_logic.js'); |
Oops, something went wrong.