Commit Graph

2207 Commits

Author SHA1 Message Date
Joel Thiessen 7a4638151d
Fixing shadow behavior when scrolling table component. (#52795)
* Fixing shadow behavior when scrolling table component.
2024-11-14 16:23:58 +00:00
Chi-Hsuan Huang 295a2d83e2
[Settings] Implement URL routing with query parameters and active sidebar item (#52721)
* set up SidebarNavigationScreen

* install deps

* GlobalStylesProvider

* Add labels to pages/sections

* get types in order

* get SettingItem working

* tidy up

* pass icon from PHP

* add icons to each Page

* layout styles

* edit site styles

* organize

* edit-site to 6.10

* unit tests

* lint

* lint

* Add changefile(s) from automation for the following project(s): @woocommerce/settings-editor, woocommerce, woocommerce/client/admin

* lint

* better linting

* [Settings] Create a route file to handle populating Settings (#52692)

* Add settings route

* Add changelog

* Add TODO comment

* Add changelog

* Rebase on sidebar changes

* Fix types and tests

* Fix path

* Convert to tab

* Update test

* Update sidebar to reflect the route with the active item and linking

* Add changelog

* Add changelog

* fix merge conflict errors

* Revert pnpm-lock.yaml

* [Settings] Update Modern Routes (#52757)

* update Sidebar

* cleanup

* Add changefile(s) from automation for the following project(s): @woocommerce/settings-editor

* export sidebar

* export route methods

* Revert "export route methods"

This reverts commit 46a6cd1e0a.

* handle modern pages

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

* cleanup

* remove export

* update tests

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

---------

Co-authored-by: paul sealock <psealock@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-11-13 08:23:30 +00:00
RJ fd16dc0644
fix: changed core profiler industry types to the correct format (#52660)
* fix: changed core profiler industry types to the correct format

- changed profiler API to match what we're actually storing, Industry[]
- changed some core profiler steps to use the API instead of saving options directly
2024-11-13 14:07:07 +08:00
Paul Sealock 6f92796727
[Settings] Add Sidebar Items (#52691) 2024-11-13 10:19:23 +13:00
Adrian Moldovan fdde2a44c7
[e2e-utils-playwright] Configure changelogger (#52668) 2024-11-12 12:02:12 -08:00
DAnn2012 17f5f4fa74
Fix typo (README.md) (#50159)
Update README.md

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2024-11-11 15:09:57 +01:00
Paul Sealock 6005bfc2d1
[Settings] Import Site Editor components from node_modules (#52655) 2024-11-11 11:32:45 +13:00
Siddharth Thevaril 30121f5be6
upkeep/e2e-utils-playwright: Exposing Playwright utils (#51982)
Co-authored-by: github-actions <github-actions@github.com>
2024-11-08 13:01:44 +02:00
Paul Sealock 5ba9d8027d
[Settings] Add layout areas and styles (#52501) 2024-11-07 10:47:44 +13:00
Moon 9db02a248d
Fix the bug where CES requires a double-click on Give feedback (#52556)
* Update shown for action when the user navigates away to ensure we do not show the same notice again

* No need to call addActionToShownOption on dismiss since we are calling it on page change

* Use apiFetch to avoid re-render

* Use apiFetch from @wordpress/api-fetch

* Add changefile(s) from automation for the following project(s): @woocommerce/customer-effort-score

* Fix lint issue

* Fix lint issue

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-11-05 08:42:28 -08:00
Moon 7c3a4f729b
Fix CES style for WP 6.7 (#52499)
* Fix CES style for WP 6.7 -- there has been HTML structure change with a different class name

* Add changefile(s) from automation for the following project(s): @woocommerce/customer-effort-score

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-11-04 10:30:49 -08:00
Paul Sealock 5d1a7499ce
[Settings] Add fresh page, script, and package (#52391) 2024-10-30 14:05:13 +13:00
louwie17 ac3b0515c2
Fix description toolbar toggle (#52259)
* Create reducer for managing sidebar state

* Add changelog
2024-10-28 06:06:36 -03:00
Thomas Roberts cf8b0d5a1a
Prevent PHP `doing_it_wrong` warnings in extend-cart-checkout-block package (#52195) 2024-10-23 15:07:40 +01:00
louwie17 fa2ce01246
Fix upside down tooltip in variations table (#52242)
* Move rotate down to icon and make sure tooltip uses max content width

* Add changelog
2024-10-23 08:59:34 -03:00
Vladimir Reznichenko 21d14759b3
[dev] Monorepo: minor build speed improvement (tsconfig consolidation) (#52191)
In this PR, we consolidate TypeScript config files (using the 'include' setting) and JS test directory naming. The goal is to reduce the number of processed files during different build steps.
2024-10-23 13:48:36 +02:00
Chi-Hsuan Huang 8ad73e6b11
Remove "banner" layout option from inbox note (#52088)
* Remove deprecated "banner" layout option

* Add changelog

* Remove banner layout from test and beta tester

* Add changelog

* Add changelog
2024-10-18 03:24:34 +00:00
Vladimir Reznichenko 46433747a2
[dev] CI: liverage composer packages cache in pr-lint-monorepo workflow (#52054) 2024-10-16 12:02:31 +02:00
Vladimir Reznichenko e148229edb
[dev] Monorepo: consolidate syncpack config, regroup react and testing deps around react version (#52022) 2024-10-16 09:55:36 +02:00
Maikel Perez ddb7e8380c
Product Editor: Alignment of SKU and GTIN fields is off (#51988)
* Fix the icon alignment when shown as part of the input label

* Add changelog file
2024-10-15 09:39:53 -03:00
Vladimir Reznichenko ebeefdd315
[dev] Monorepo: relax webpack TypeScript errors (turn into warnings) (#51993)
In this PR, we introduce and integrate a new webpack plugin, which hooks into `fork-ts-checker-webpack-plugin` and turns the specified TypeScript error codes into warnings to enable React 18 migration.
2024-10-15 08:21:56 +02:00
Ron Rennick a16f11ad6e
Merge React Admin (#49647)
* moved files

* changed paths

* changelogs

* added eslintignore for admin subfolder as it has its own eslint command

---------

Co-authored-by: rjchow <me@rjchow.com>
2024-10-11 11:31:11 +08:00
Vlad Olaru 1aeb7486d5
Update WooPayments Payments task install and/or activate behavior (#51956)
* Ignore payment gateway suggestion ID variation part

When searching for the current gateway ID we will ignore the
part after :.

* Use a connect link when no WCPay account connected

This allows us more control over where to direct the user.

* Use the individual payment gateway enablement flow for WCPay

* Add changelog

* Add changelog

* Fix lint errors

* Prevent recalling installAndActivate when autoinstalling

If we have installAndActivate as a dependency, when isRequesting becomes false
it will cause a second, needless installAndActivate call and we end up with two
snackbar notices about plugins being installed and/or activated.

* Replace deprecated Button props

* Make the plugins installed&activated notice message more informative

* Fix object check

* Add changelog

* Remove WooPayments task item fill and use standard task item

* refact: Separate get suggestion

* Provide WCPay task action from PHP

* Don't point directly to WCPay pages, use connect links instead

* Remove WCPay action URL logic from the main Payments task

If WooPayments is supported, the dedicated task will superseed
the default payments task. There is no need to have special action
URLs.

* Lint fixes

* Use a WCPay connect link to defer to the client logic

* Fix WCPay task link when incentive is available

* Lint fixes
2024-10-09 17:09:46 +03:00
Maikel Perez 4d7d049477
CYS: Investigate multiple requests being made to the patterns endpoint (#51819)
* Notify wc/admin/options store changes after the data is saved in the server and not before

* Add changelog file

* Remove the subscription to the OPTIONS_STORE_NAME since its trigered many times, using useSelect instead

* Add changelog file
2024-10-02 11:08:49 -03:00
Nathan Silveira 682f3fbe76
Add Notice generic block for the new product editor (#51740)
* Add Notice generic block for the new product editor

* Create reusable block for Notices

* Add changelog

* Fix wrong generic type
2024-10-02 10:10:57 -03:00
louwie17 217f01c991
Add product dataviews without new nav (#51581)
* Add styling for dataviews with old nav

* Add toggle to toggle between new and old navigation

* Update dataviews dependency

* Fix width for list view

* Remove unused type

* Add changelogs
2024-09-23 08:51:55 -03:00
Tomek Wytrębowicz bb7eb58ec1
Unify currency symbol behavior, decode entities in Currency package (#50726) 2024-09-22 21:05:06 +02:00
louwie17 11b1e31ac3
Update the dataviews package dependency (#51511)
* Initial update

* Revert dependency output change

* Add changelogs
2024-09-19 10:43:05 +02:00
RJ ec29880e3e
fix: added pre-API call permissions check on APIs being called on non-admin accessible screens (#51406)
fix: no permissions api errors
2024-09-18 12:53:52 +08:00
Tomek Wytrębowicz a89bd1a485
Use page query param consistently as string for ReportsTable (#51396) 2024-09-16 15:57:58 +02:00
RJ 109744db33
fix: remove help panel user meta (#51249) 2024-09-13 05:46:27 +08:00
Chi-Hsuan Huang 7dc26a8c66
Clean up 'Profile Wizard' code (#51190)
* Remove plugins/woocommerce-admin/client/profile-wizard

* Clean up styles

* Remove setup wizard hook reference

* Add changelog

* Remove e2e utils related to old setup wizard

* Fix lint

* Add changelog

* Remove unused usage modal
2024-09-10 11:29:14 +08:00
Vlad Olaru b40c4a95e5
Attach WooPayments incentive ID to wcadmin_tasklist_click Tracks event props (#51105)
* Add WooPayments incentive ID to task additional data

* Attach WooPayments incentive ID to wcadmin_tasklist_click Tracks event

* Add changelog

* Add changelog

* Replace short array syntax

* docs: Update docs
2024-09-09 18:06:43 +03:00
louwie17 0e8d19d43b
Upgrade storybook to version 7 and add pages workflow for GH publishing (#51168)
* Updated storybook and renamed stories to use the *.story.js/tsx format

* Renamed stories within product editor and wc admin package

* Include *story files in product editor package

* Add storybook pages workflow

* Remove the 'on' param in storybook-pages

* Add changelogs

* Fix failing tests

* Add dirname for any other webpack configs that rely on the woocommerce-admin one

* Fix React 18 warnings

* Remove unneeded storybook packages from components package

* Remove storybook workflow, to be added as a follow up instead

* Revert @storybook/react back to fix unit tests
2024-09-09 12:06:01 -03:00
louwie17 d185a34145
Fix style conflicts with LYS (#51223)
* Increase specificity for product data view styles to avoid conflicts

* Add changelog
2024-09-09 09:03:43 +00:00
github-actions[bot] 70ee1c9f3b
Prepare Packages for Release (#51222)
Automated change: Prep @woocommerce/remote-logging --initial-release for release.

Co-authored-by: chihsuan <chihsuan@users.noreply.github.com>
2024-09-09 04:54:09 +00:00
louwie17 907b591a42
Add product data forms to data views (#51071)
* Add DataForms for products

* Fix list view

* Revert pnpm lock changes

* Add changelog

* Reference core store versus using string

* Revert pnpm-lock
2024-09-04 05:52:51 -03:00
Luigi Teschio af9ca20af5
[DataView]: Add Products View and Product Edit stories (#50999)
* Product Editor: add storybook

* fix storybook

* Add products data views list

* Add navigation on the left

* Update edit site package

* Fix styling

* Add changelog

* Add wp/icons package to syncpack exception list

* Delete some unused stuff and address types

* Add changelog

* Remove un needed css

* Remove dependency on edit-site package

* WIP

* WIP

* WIP

* Fix storybook build

* Ignore storybook from version pinning

* add slug stories

* Add products data views list

* Add navigation on the left

* Update edit site package

* Fix styling

* Add changelog

* Add wp/icons package to syncpack exception list

* Delete some unused stuff and address types

* Add changelog

* Remove un needed css

* Remove dependency on edit-site package

* Fix custom status filters

* Make sure page size works with view config

* improve storybook

* rename file

* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor

* Remove use of canvasMode and navigation context as it is not needed

* Remove wordpress/dom from syncpack

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

* add edit-site style

* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor

* remove not necessary file

* address feedback

* fix webpack configuration

* fix lint errors

---------

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-09-03 14:09:54 +00:00
RJ 258ae0b03b
add: remote logger request uri sanitisation (JS) (#51046)
* add: remote logger request uri sanitisation

* md lint

* Update packages/js/remote-logging/README.md

Co-authored-by: Paul Sealock <psealock@gmail.com>

* pr feedback

---------

Co-authored-by: Paul Sealock <psealock@gmail.com>
2024-09-03 05:42:03 +00:00
louwie17 2890e16c86
Add product data views list to experimental product data views page (#51008)
* Add products data views list

* Add navigation on the left

* Update edit site package

* Fix styling

* Add changelog

* Add wp/icons package to syncpack exception list

* Delete some unused stuff and address types

* Add changelog

* Remove un needed css

* Remove dependency on edit-site package

* Fix custom status filters

* Make sure page size works with view config

* Remove use of canvasMode and navigation context as it is not needed

* Remove wordpress/dom from syncpack
2024-08-30 13:27:10 -03:00
Gabriel Manussakis a40f87b9ec
[Accessibility] Fix typo in initCustomFieldsToogle variable name (#48652)
* Fix typo in initCustomFieldsToogle variable name

* Add changelog file

---------

Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com>
2024-08-29 17:55:23 -04:00
RJ 88806aae87
add: stripe tax to onboarding tax task (#50989) 2024-08-29 19:48:51 +08:00
Chi-Hsuan Huang 1d8e0ec68d
Update Remote Logging README to document the detailed filters usage (#51010)
* Update remote logging package readme

* Add changelog

* Update readme

* Update packages/js/remote-logging/README.md

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update readme

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-08-29 04:05:38 +00:00
Gabriel Manussakis d5993ec424
[Accessibility] Fix typo in handleAdviceCardDissmiss function name (#48650)
* Fix typo in handleAdviceCardDissmiss function name

* Add changelog file
2024-08-27 22:36:25 -04:00
Caleb Mazalevskis 3ab62e11c3
Fix some comment typos. (#50993) 2024-08-27 10:54:10 -07:00
Gabriel Manussakis 7d8cd500b5
[Accessibility] Fix typo in AligmentToolbarButton function name (#48651) 2024-08-27 15:50:01 +02:00
louwie17 f2941d76e5
Add initial product data views screen (#50981)
* Add product data views feature flag

* Add basic products app file

* Add lazy render for product app

* Only render if GB is enabled

* Add translation

* Add changelogs

* Address lint issues

* Address final lint error
2024-08-27 09:49:04 -03:00
Chi-Hsuan Huang c63bb88e0e
Add react-powered main payments settings screen (#50825)
* Fix payment store selector type

* Add changelog

* Add react-powered payment settings main screen

* Add changelog

* Update style

* Revert changes

* Fix enable payment gateway error

* Fix wcpay install busy state

* Check if Nonce exist or not

* Fix extra payment methods

* Fix untranslated texts

* Fix lint
2024-08-27 14:30:01 +08:00
Gabriel Manussakis a66d2f8dff
[Accessibility] Fix "toogle" typo in class names (#48700)
* Fix "toogle" typo in class names

* Add changelog file

---------

Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com>
2024-08-23 21:44:42 -04:00
Gabriel Manussakis 099d0a63a0
[Accessibility] Fix typo in parse number tests (#48644)
* Fix "seperator" typo

* Add changelog file

---------

Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com>
2024-08-23 19:59:11 -04:00