eightshift-libs
eightshift-libs copied to clipboard
Library that is meant to be used inside Eightshift Boilerplate and Eightshift Boilerplate Plugin libs via composer in order to be able to easily set up a modern development process.
The [theme options](https://github.com/infinum/eightshift-frontend-libs-tailwind/blob/main/blocks/init/src/Blocks/components/admin-theme-options/assets-admin/pages/parts.js) should be handled & also please check for files from the screenshot
We need to check the standard setup init for the missing or renamed theme and plugin files like: - swcrc - stylelint - eslint - babel - webpack - etc
# Description Using profiling we've gathered that we spend _a lot_ of time in `Autowiring::buildServiceClasses`. In particular, we spent 14% of the whole page generation time just running the method...
Even though they're treated as arrays, variable argument lists should be documented with `{type} ...$varName`, not `array ...$varName`.
# Description Fetching newly structured eightshift-theme-options from db needs to be unserialised e.g. `$footerPartialId = get_option(ThemeOptions::OPTION_NAME)['footer'] ?? '';` should look like: `$footerPartialId = json_decode(get_option(ThemeOptions::OPTION_NAME), true)['footer'] ?? '';`
e.g., if you have a responsive option and the value isn't an array.
# Description Currently, if you want to load a `ServiceInterface`-implementing class in the WP-CLI context, such as a class inheriting from `AbstractPostType` or `AbstractTaxonomy`, you're out of luck. And you...