Joshua T Flowers
77937dd8cb
Move usePreventLeavingPage to navigation package ( #36752 )
...
* Move usePreventLeavingPage to navigation package
* Rename usePreventLeavingPage to useConfirmUnsavedChanges
* Move imports to external dependencies
* Fix up history push overrides
* Add changelog entries
* Fix up rebase issues
* Update i18n dependency to wp-6.0
* Fix up lock file
* Remove unused imports
* Update lock file
* Remove self import for navUtils
2023-03-16 05:33:22 -03:00
Sam Seay
1834621d1a
Update the @woocommerce/eslint-plugin and fix bugs ( #36988 )
2023-03-02 11:36:38 +13:00
Joshua T Flowers
8b905b92c0
Allow product tab navigation without prompting for unsaved changes ( #36235 )
...
* Add callback to confirm whether or not the prevent leaving page prompt should trigger
* Move prevent leaving logic to util and add tests
* Add changelog entry
* Add navigation changelog entry
* Fix WooCommerce data mock
* Revert desctructuring of nav properties
2023-01-05 18:30:36 -08:00
RJ
75f6ec3a43
dev: refactor Homescreen component to use useQuery hook ( #34183 )
...
- added useQuery hook for usage in functional components
- refactored Homescreen component to useQuery instead of prop drilling
2022-08-04 16:57:53 +08:00
Joel Thiessen
57869a2ab7
Fixing activity panel does not appear after navigating to OBW and back ( #33722 )
2022-07-05 10:02:46 -07:00
Chi-Hsuan Huang
7068c78101
Fix JS lint errors ( #33484 )
...
* Fix @woocommerce/data lint errors
* Fix internal-e2e-builds lint error
* Fix lint errors
2022-06-21 16:37:34 +08:00
Joel Thiessen
ddafa8e380
Tasks chaining side panel ( #33124 )
2022-06-01 10:10:20 -07:00
RJ
b051ed88db
Update react-router-dom to v6 for woocommerce-admin ( #33156 )
2022-05-30 14:51:33 +08:00
Christopher Allford
d2d8d78be1
Moved WCA Packages
...
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00