-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/brands #85
base: hybrid-runway
Are you sure you want to change the base?
Feature/brands #85
Conversation
BobWez98
commented
Oct 31, 2024
- Refactored the brands import
- Allow a Hybrid runway collection to have a route
- Structured blueprints of runway resources
- Removed old import buttons
foreach (Brand::get() as $brand) { | ||
$extraData = []; | ||
|
||
if (Schema::hasTable('amasty_amshopby_option_setting')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need this documented somewhere, so we do support Amasty Brands out of the box?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some doubts if we even want this anymore. Let's discuss internally.
public static function handle(): string | ||
{ | ||
return 'base'; | ||
} | ||
|
||
public function title(): string | ||
{ | ||
return __('Base'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe not specify these as you want these to be required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly we have to. The baseCollection of Statamic builder has abstract methods, this requires us to implement it. Can't do it like public function title(): string;
either cause it expects an implementation.
@@ -37,7 +37,7 @@ | |||
"statamic-rad-pack/runway": "^7.11", | |||
"statamic/cms": "^5.0", | |||
"statamic/eloquent-driver": "^4.9", | |||
"tdwesten/statamic-builder": "^1.0", | |||
"tdwesten/statamic-builder": "dev-main", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put it on dev-main for now, there's no release yet but i added tdwesten/statamic-builder#37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest flipping this function around for readability.
Could you add a comment to the function on why we cannot do the entry query when running in console