woocommerce/docs/quality-and-best-practices
Jason Kytros ea6e7295ec
Merge WooCommerce Brands into core (#50165)
* Move WooCommerce Brands into core

* Fix linting errors in brand-thumbnails.php

* More lint fixes for brand-thumbnails.php

* Fix lint issues in brand-description.php

* Fix lint errors for brand-thumbnails-description

* Lint errors: Fix taxonomy-product_brand

* Lint errors: fix taxonomy-product_brand

* Linting: Try adding a space between ignore command and docblock

* Another try to remove the lowercase file name error

* Another try removing lint error for lowercase files

* Lint errors: Fix brands-a-z.php

* More lint fixes for brands-a-z.php

* More lint fixes for brands-a-z.php

* Lint fixes: brand-description.php

* Another try fixing lint errors for brand-description.php

* Another try fixing lint errors for brand-description.php

* More fixes for brand-description.php

* Fix lint errors for Packages.php

* More fixes for Packages.php

* Linting fixes for Brands.php

* Added docblocks for WC_Widget_Brand_Thumbnails variables

* Add script to fix coding standards for files changed in branch

* Run autofix script for linting

* Lint fixes for class-wc-widget-brand-thumbnails.php

* More lint fixes for: class-wc-widget-brand-thumbnails.php

* More lint fixes for class-wc-widget-brand-thumbnails.php

* Lint fixes for class-wc-widget-brand-nav.php

* lint fixes: ignore docblocks

* Another try to fix missing docblocks

* Another try to fix missing docblocks

* Another try fixing missing docblocks

* Better messages for fix-branch.sh

* Fix lint errors in class-wc-widget-brand-description.php

* Fix linting errors in REST API and functions classes

* Fix linting issues in class-wc-brands.php

* More lint fixes for wc-brands.php

* More lint fixes for wc-brands.php

* Fix lint errors for wc-brands-coupons.php

* Fix lint errors for class-wc-brands-block-templates.php

* Fix linting errors for class-wc-brands-block-template-utils-duplicated.php

* Fix lint errors in class-wc-admin-brands.php

* More fixes in class-wc-admin-brands.php

* More class-wc-admin-brands.php

* More lint fixes for: class-wc-admin-brands.php

* More lint fixes for class-wc-admin-brands.php

* Transfer unit test

* Transfer e2e test

* Added specific versions to templates

* Added changelog

* Another try for HTML templates version

* Fix lint errors in test files

* More lint fixes

* Fix lint warnings

* Added brands to list of expected REST API fields

* More lint warning fixes

* More lint warning fixes

* Updated unit tests to include brands

* Remove whitespace

* Added declare( strict_types = 1); to all PHP files

* Added declare( strict_types = 1) to test file as well

* Fix: There must be exactly one blank line after the file comment

* Temporarily remove Brands e2e tests

* Move Brands blockified templates

* Remove script to fix lint errors in current branch

* Try removing pull-package-deps

* Bring back deps

* Commit pnpm-lock.yaml

* Add debug statements

* More debug statements

* Make regular expression more specific

* Make matches more specific

* Search only for PHP templates

* Bring back whitespace

* Remove unnecessary change

* Update pnpm-lock.yaml

* Change the way Brands files are included

* Include all files

* Prevent Brands assets from being double-enqueued

* Move Brands scripts handling into core

* Revert changes in the template-changes.ts script

* Use strict in_array

* Add scaffolding for Brands test

* Add more scaffolding for Brands tests

* Enhance e2e test by adding steps for creating a Brand

* Move Brands test to Playwright folder

* Added manifest

* Fix lint errors in tests

* Move Brands coupons test into core's coupons tests

* Fix linting error in tests

* Move all Brands initialization within the /Internal/Brands class

* Rename `$merged_packages` to `$merged_plugins`

* Add force disable method back

* Move Brands logic outside core files

* Rename admin styles

* Remove brands logic from core's admin class

* Roll back all changes in admin assets class

* Fix linting errors

* Move REST API logic to Brands main class

* Introduce an option to control whether the Brands package is enabled.
Prevent autoloader from loading classes already loaded by individual Packages.
Fix an issue with Brands admin styles.

* Bring back pnpm-lock

* Add comment

* Split long line into two

* Review default values for remote variant assignment

* Rename global functions and add polyfills for deprecated functions

* Bump versions

* Fix some lint errors

* More lint fixes

* Set woocommerce_remote_variant_assignment for Brands to be enabled for unit tests

* Replace reserved word class with class_name

* Another try to include Brands files in tests

* Remove Brands from REST API tests

* Skip Brands tests while Brands is behind a feature flag

* Lint fixes

* Remove empty line

* Added feature flag.

* Fix widgets form

* Fix lint errors for brand description widget

* Fix lint errors for brand description widget

* Fix lint errors

* Bump version

* Updated tooltips for Brands coupon restrictions to match core's

* Fix lint errors

* More lint fixes

* Add REST API v3 for Brands

---------

Co-authored-by: Walther Lalk <83255+dakota@users.noreply.github.com>
2024-09-17 18:13:46 +03:00
..
review-guidelines Fix typos/special chars in Operation Star docs (#50894) 2024-08-23 14:43:07 +00:00
README.md Create Review Guidelines documentation page, and fix a typo. (#50248) 2024-08-22 17:05:51 -04:00
coding-standards.md Docs: Adding Best Practices for Compatibility, Maintainability, Privacy Standards, Support and Documentation (#47976) 2024-05-30 12:40:59 -04:00
compatibility.md Docs: Adding Best Practices for Compatibility, Maintainability, Privacy Standards, Support and Documentation (#47976) 2024-05-30 12:40:59 -04:00
core-critical-flows.md Merge WooCommerce Brands into core (#50165) 2024-09-17 18:13:46 +03:00
css-sass-naming-conventions.md Remove table of contents from docs (#42874) 2024-01-08 14:57:15 -05:00
gdpr-compliance.md Further adjustment of post titles, menu titles, and tags (#43685) 2024-01-16 14:29:00 -05:00
grammar-punctuation-capitalization.md updated instances in docs (#46618) 2024-04-15 23:49:06 +00:00
maintainability.md Docs: Adding Best Practices for Compatibility, Maintainability, Privacy Standards, Support and Documentation (#47976) 2024-05-30 12:40:59 -04:00
naming-conventions.md Further adjustment of post titles, menu titles, and tags (#43685) 2024-01-16 14:29:00 -05:00
performance-optimization.md Further adjustment of post titles, menu titles, and tags (#43685) 2024-01-16 14:29:00 -05:00
privacy-standards.md Docs: Adding Best Practices for Compatibility, Maintainability, Privacy Standards, Support and Documentation (#47976) 2024-05-30 12:40:59 -04:00
removing-product-product-category-or-shop-from-the-url.md Removing links from headings in docs where warranted. (#43824) 2024-01-19 16:43:59 -05:00
support-and-documentation.md Docs: Adding Best Practices for Compatibility, Maintainability, Privacy Standards, Support and Documentation (#47976) 2024-05-30 12:40:59 -04:00
writing-high-quality-testing-instructions.md Fix broken links from issue #46336 (#46381) 2024-04-15 14:30:37 +02:00

README.md

category_title category_slug post_title
Quality And Best Practices quality-and-best-practices Quality and best practices

Ensuring the quality of your WooCommerce projects is essential. This section will delve into quality expectations, best practices, coding standards, and other methodologies to ensure your projects stand out in terms of reliability, efficiency, user experience, and more.