Commit Graph

43 Commits

Author SHA1 Message Date
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
Jacklyn Biggin 524a7202e6
Fix typos/special chars in Operation Star docs (#50894)
* Fix typos/special chars in Operation Star docs

* Update docs manifest

* Fix remaining special characters
2024-08-23 14:43:07 +00:00
Andrew Wikel 4608681b68
Create Review Guidelines documentation page, and fix a typo. (#50248)
* Fix typo

Fixed one typo

* Create reviews-guidelines.md

Creating the first draft of the Operation Star guidelines for partners to improve reviews and ratings.

* Adding more info and feedback!

adding info from https://wooengineering.wordpress.com/2024/07/30/closing-the-loop-enhancing-product-reviews-through-integrated-feedback/

* Update docs manifest

* Update menu_title for consistency

* Standardize language + remove unsupported characters from review doc

* Atomize review docs into subcategory + subpages

* Fix linting issues

* Update docs manifest with linter fixes

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-08-22 17:05:51 -04:00
Caleb Mazalevskis 50900d9d4e
Fix markdown typos. (#50282)
* Fix markdown typos.

* Re-fix typos.

* Add changelogs (#issuecomment-2296573205).
2024-08-19 14:59:10 -03:00
Brent MacKinnon 0606b9580b
Docs: Adding Best Practices for Compatibility, Maintainability, Privacy Standards, Support and Documentation (#47976)
Adding quality+best practices docs
2024-05-30 12:40:59 -04:00
piinthecloud 50b58e54ff
updated instances in docs (#46618)
* updated instances in docs

* Fix beta testing title + regen manifest

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-04-15 23:49:06 +00:00
Brent MacKinnon 8fc82e9bfd
Fix broken links from issue #46336 (#46381)
* Fixing broken links

* Update docs/payments/payment-gateway-api.md

Co-authored-by: Leif Singer <leif@automattic.com>

* Update docs/contributing/common-issues.md

Co-authored-by: Néstor Soriano <konamiman@konamiman.com>

* Update docs/payments/payment-gateway-api.md

Co-authored-by: Leif Singer <leif@automattic.com>

* Update writing-high-quality-testing-instructions.md

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce-blocks, woocommerce

* ignore MD029 rule (1/2/3) as the linebreaks that are needed for the code block confuse its numbering

* update the docs manifest

`pnpm utils md-docs create docs woocommerce -o docs/docs-manifest.json`

---------

Co-authored-by: Leif Singer <leif@automattic.com>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Leif Singer <git@singer.sh>
2024-04-15 14:30:37 +02:00
Jonathan Lane c7de30b773
[DOCS] Update core critical flows with update e2e tests (#46400)
* Update core critical flows with update e2e tests

* Updated docs manifest

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-09 19:14:20 -04:00
Leif Singer 8ee74ede0e
Update Woo.com references to WooCommerce.com (#46259)
* replace capitalized Woo.com with WooCommerce.com

* replace http URLs

* replace https URLs

* replace developer.woo.com

* add missing version in `@since` tag

* unslash the HTTP_REFERER

* WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

* add changelog file

* add more changelog files

* address linter errors

* address more linter errors

* fix test

* more linter errors
2024-04-09 09:50:15 +01:00
Adrian Moldovan 62101246ca
[e2e tests] Add downloadable product test (#44112) 2024-01-31 17:51:14 +02:00
Brent MacKinnon 58088ed448
Simplify and atomize the Extension Developer Handbook (#43832)
* Simplifying and atomizing extension-developer-handbook

* Update logging.md

* Update extension-development-best-practices.md

* Update docs-manifest.json

* Revert "fixing a few broken image links"

This reverts commit 058c1fcd05993380efb0d6703f13192d1aad2a68.

* Update extension-development-best-practices.md

* Update docs-manifest file

* Adds most recent version of manifest after command run

* Removes old docs-manifest

* Renames new manifest

---------

Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
2024-01-24 19:54:10 -05:00
Jacklyn Biggin 4eb8626621
Docs: Update go-vip.net links/images to developer.woo.com (#43863)
* Update go-vip.net links/images to developer.woo.com

* Update go-vip.net links (with correct /)

* Force git to work

* Flx links

* fixing-image-links

---------

Co-authored-by: Brent MacKinnon <brent.mackinnon@a8c.com>
2024-01-22 13:13:17 -05:00
Brent MacKinnon 73f50e61b3
Removing links from headings in docs where warranted. (#43824)
* Removing links from headings in docs where warranted.

* Fix readme capitalizion

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-19 16:43:59 -05:00
Brent MacKinnon 02b02ee23d
Further adjustment of post titles, menu titles, and tags (#43685)
* Adjusting post_titles, menu_titles, and tags for docs folder

Adjusting the post_titles, menu_titles, and tags for  document files in the docs folder

* Update removing-product-product-category-or-shop-from-the-url.md

* Update classic-theme-developer-handbook.md

* further adjustments and casing

* Move HPOS/CLI contents into README

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-16 14:29:00 -05:00
Jacklyn Biggin 1d0a00741a
Fix all remaining docs encoding issues (#43683)
* Fix data management readme

* fix localization/translation category typo

* Fix remaining encoding issues

* update docs manifest
2024-01-15 21:52:17 -05:00
Jacklyn Biggin 9aafe545c5
Remove manually found unicode characters in docs (#43677)
* Remove manually found unicode characters

Non-regular spaces, quotes, dashes

* Fix linting

* fix more linting issues

* Fix more linting

* fix enable-hpos.md linting

* Update docs manifest
2024-01-15 19:42:12 -05:00
Brent MacKinnon 94cacbdf56
Update category desc (#42978)
* reorganizing documents for better discoverability

* adding and adjusting category descriptions for docs site

---------

Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-01-08 15:51:24 -05:00
Jacklyn Biggin aa0f1b14b3
Remove table of contents from docs (#42874) 2024-01-08 14:57:15 -05:00
Jacklyn Biggin 38d2bd52ac
Remove newlines at the start of docs (#42843) 2024-01-08 14:50:49 -05:00
Brent MacKinnon b36bacf531
migrating images out of docs folder (#42851)
* migrating images out of docs folder

Migrating  images from '_media' folders to developer.woo.com/docs media folder and removing media folders and image files from docs folder.

* Delete 73 results - 16 files.md
2024-01-05 11:41:03 -05:00
Brent MacKinnon 10f6109982
removing developer notices (#43024)
removing two developer notices and adjusting the length of a long post title.
2024-01-05 11:39:37 -05:00
Ron Rennick ca5813d4f7
update external relative links to full URLs (#43231)
* update external relative links to full URLs

* update the docs manifest

* include /packages relative links

* add blob/trunk for direct access

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-04 17:07:57 -04:00
Ron Rennick 64a51caa06
replace forward tick with ' in docs folder (#42799)
* replace forward tick with ' in docs folder

* replace encoded bcktick with single quote in docs folder

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-02 16:59:26 -04:00
Ron Rennick ce7572c8c5
replace encoded dashes with hyphen in docs (#42845)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-18 10:03:16 -04:00
Ron Rennick e7b1af8a06 improve category properties, s/readme/README file names 2023-11-30 16:32:52 -04:00
Brent MacKinnon d2c63b7f38
Update readme.md 2023-11-30 15:06:15 -04:00
Ron Rennick 52dcaf91d7 add graymatter to docs 2023-11-29 14:48:05 -04:00
Ron Rennick eec31465a0 use consistent capitalization in docs titles 2023-11-27 15:52:33 -04:00
Leif Singer 5944fdcdff replace developer.woocommerce.com with developer.woo.com 2023-11-10 16:09:27 +01:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
Leif Singer ac36a464db appease the linter 2023-11-06 14:20:05 +01:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
nigeljamesstevenson 2b82e0b092
Migration of e2e core critical flows (#40785) 2023-10-17 10:36:26 +01:00
Miguel Pérez Pellicer ff03403d3f
Add documentation for Removing /product/ , /product-category/ , or /shop/ from the URLs (#40753)
* Migrate documentation for Removing /product/ , /product-category/ , or /shop/ from the URLs

* Markdown linter
2023-10-17 12:58:59 +04:00
Matt Sherman b4474fc633
Doc: Migrate naming conventions (#40781) 2023-10-13 17:56:26 -04:00
Jon Lane b4b107f4f9 Few additional flows 2023-10-13 14:40:59 -07:00
Jon Lane fc1f21b98b Added new flows 2023-10-13 14:35:08 -07:00
Jon Lane 37ededc875 Migration of existing page 2023-10-13 13:37:40 -07:00
Jonathan Lane f0c5e7a22a
Migrate testing instructions doc from wiki (#40720)
* Migrate testing instructions doc from wiki

* Linting fixes

* Linting fixes

* Updated URLs for images

* Add changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-10-13 12:58:01 -07:00
Matt Sherman 161219bf73 Fix linting issues 2023-10-13 15:51:27 -04:00
Matt Sherman 0ba4c1d80c CSS naming conventions migration 2023-10-13 15:41:57 -04:00
Matt Sherman 60b77eef28 Naming conventions migration 2023-10-13 15:41:47 -04:00
Brent MacKinnon 6dec084ab4 Initiating the Docs Information Architecture and committing the first major batch of documents
We've been quietly building a set of documentation in a private repo that we are ready to move over to the public monorepo so that we can continue our initiative to imrpove the documentation experience for Woo developers.
2023-08-18 15:47:07 -03:00