Commit Graph

7 Commits

Author SHA1 Message Date
louwie17 a498cc8280
Add product form buttons and specific product edit page (#34211)
* Add initial product form action buttons to form

* Add new edit page and allow for updating and creating products

* Move crud functions to helper hook to keep things seperated better

* Add changelog

* ADd package changelogs

* Add isPending selector to products store

* Fix trash screen showing up when deleting product and add loading indicators

* Add extra types to Product type

* Update track names and add product data to tracks

* Update track logic when product is published

* Remove the Image section for now, to prevent confusion as it is not ready yet

* Add tests for the product form actions

* Update copy for publish & duplicate

* Remove unused code

* Set window.location correctly with href

* Reset changes in pnpm lock

* Moved pending action variables to product helper and updated buttons to reflect new suggestions

* Fix backwards compabitibility issue with Form changes

* Add switch to draft button
2022-08-11 11:04:14 -03:00
Chi-Hsuan Huang 93725ece0f Remove woo tracks type declaration from woo admin 2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang 4221c32fa4 Add type for wp.components.ui 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang 0c554fddad Add @wp/plugins, data, compose types dev deps to woo admin
Add their type definitions and remove them from index.d.ts declare module
2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang a5786a060b Declare svg module for client typing 2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang fb420020d3 Declare TS module for non-ts imports 2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang 60c8c05028 Move admin typings to ./client/typings 2022-04-15 13:50:17 +08:00