Skip to content

Commit

Permalink
Merge branch 'release/3.6.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
joshangell committed Sep 25, 2020
2 parents fcfaa7d + 7390472 commit 4ce3327
Show file tree
Hide file tree
Showing 18 changed files with 297 additions and 328 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## Unreleased


## 3.6.0 - 2020-09-25

### Changed
- Spoon is now compatible with Craft 3.5, as a result of these changes Spoon requires Craft 3.5 or greater from this release onward.


## 3.5.3 - 2020-07-30

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"craftcms/cms": "^3.4.0"
"craftcms/cms": "^3.5.0"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion src/assetbundles/ConfiguratorAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public function init()
// define the relative path to CSS/JS files that should be registered with the page
// when this asset bundle is registered
$this->js = [
'js/BlockTypeFieldLayoutDesigner.min.js',
'js/GroupsDesigner.min.js',
'js/Configurator.min.js'
];
Expand Down
17 changes: 15 additions & 2 deletions src/assetbundles/FieldManipulatorAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,21 @@ public function init()
MatrixAsset::class
];

// define the relative path to CSS/JS files that should be registered with the page
// when this asset bundle is registered

// TODO: hook up entire stack of flds to js window state so we can swap in the UI rendered version of the raw
// html around line 384 of FieldManipulator.js
// $blockTypes = Spoon::$plugin->blockTypes->getByContext('global');
//
// foreach ($blockTypes as $blockType) {
//
// if ($blockType->fieldLayoutId) {
// foreach ($blockType->getFieldLayout()->getTabs() as $tab) {
// Craft::dd($tab->elements);
// }
// }
// }


$this->js = [
'js/FieldManipulator.min.js',
];
Expand Down
2 changes: 1 addition & 1 deletion src/assetbundles/dist/css/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/assetbundles/dist/js/Configurator.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4ce3327

Please sign in to comment.