Closed castastrophe closed 3 years ago
Instructions for testing:
"require": {
"pattern-builder/pattern-kit": "*"
}
repositories": [{
"type": "path",
"url": "/Users/carobert/Projects/pattern-kit",
"options": {
"symlink": true
}
}, {
"type": "vcs",
"url": "https://github.com/PatternBuilder/pattern-kit"
}]
^ Put your local path to pattern-kit repository here
rm composer.lock && composer require pattern-builder/pattern-kit @dev
.npm run watch
)If that testing process doesn't work ^ you can also just copy the folders from the pattern-kit repo into the vendors directory in webrh. 🤷♀
This branch needs some clean-up for styles.
@castastrophe maybe this could be split up into a few smaller PRs:
I'm seeing a handful of issues:
web
and resources
it kind of works. Copying src
creates an error. I also tried re-running composer install
and then copying.. no luck. Not sure if I'm testing correctly or if theres an easier way.
Fatal error: Uncaught Error: Call to undefined method PatternKit\Model\PatternModel::get_asset_path() in /Users/ktotten/Sites/webrh/vendor/pattern-builder/pattern-kit/src/app.php:101 Stack trace: #0 /Users/ktotten/Sites/webrh/vendor/pattern-builder/pattern-kit/src/app.php(97): data_replace(Array) #1 /Users/ktotten/Sites/webrh/vendor/pattern-builder/pattern-kit/src/PatternKit/Model/PatternModel.php(72): data_replace(Array) #2 /Users/ktotten/Sites/webrh/vendor/pattern-builder/pattern-kit/src/PatternKit/SchemaControllerProvider.php(51): PatternKit\Model\PatternModel->getSeedData() #3 [internal function]: PatternKit\SchemaControllerProvider->PatternKit\{closure}('pattern_page') #4 /Users/ktotten/Sites/webrh/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php(145): call_user_func_array(Object(Closure), Array) #5 /Users/ktotten/Sites/webrh/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php(66): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Reque in /Users/ktotten/Sites/webrh/vendor/pattern-builder/pattern-kit/src/app.php on line 101
.nav {
flex-direction: column;
}
.nav-tabs {
flex-direction: row;
}
sorry, just saw that testing instructions are in a comment (I just saw the empty description), however this:
repositories": [{
"type": "path",
"url": "/Users/carobert/Projects/pattern-kit",
"options": {
"symlink": true
}
}, {
"type": "vcs",
"url": "https://github.com/PatternBuilder/pattern-kit"
}]
doesn't match the syntax of the composer file?
@starryeyez024 I wouldn’t spend much time on this. I merged master into it and it broke a lot of the work I had done because there were so many changes. 😢
@castastrophe doh! Could we still salvage the Update URL button? That is super useful!
Also that's weird, I only see one very small commit in Dec 2019 to this repo? https://github.com/PatternBuilder/pattern-kit/commits/master
Instructions for testing:
In the repository using PatternKit (webrh for example), update the composer.json file to:
^ Put your local path to pattern-kit repository here
Run
rm composer.lock && composer require pattern-builder/pattern-kit @dev
. Kick off the watch task (npm run watch
)