Gan Eng Chin
49032b98db
Make data undefined on first load in useRecommendedChannels.
2023-01-27 21:38:38 +08:00
Gan Eng Chin
316aad8b2e
Simplify RegisteredChannelCardBody CSS.
2023-01-27 21:15:40 +08:00
Gan Eng Chin
1af1524b83
Rename CSS installed-channel to registered-channel.
2023-01-21 02:38:00 +08:00
Gan Eng Chin
ef669d8ca2
Rename InstalledChannel to RegisteredChannel.
2023-01-21 02:36:39 +08:00
Gan Eng Chin
8754003fb0
Add mapping for sync-failed product listings status.
2023-01-21 02:26:19 +08:00
Gan Eng Chin
2a15f09514
Remove TODO comments.
2023-01-21 02:22:30 +08:00
Gan Eng Chin
3cc568b4ed
Remove duplicated RecommendedChannel type.
2023-01-21 02:20:06 +08:00
Gan Eng Chin
0b1ab21836
Rename types.
2023-01-21 02:14:36 +08:00
Gan Eng Chin
a511054a3e
Merge branch 'feature/34903-multichannel-marketing-frontend/main' into feature/34903-multichannel-marketing-frontend/34906-channels-card
2023-01-21 00:10:00 +08:00
RJ
7d8f7ad57c
add: slot for header banner slotfill ( #36467 )
2023-01-20 22:01:20 +08:00
Nathan Silveira
1123f9991f
Scroll newly added attribute into view ( #36447 )
...
* Scroll newly added attribute into view
* Increment changelog
* Add smooth scrolling when adding new attributes
2023-01-19 19:43:36 -03:00
Moon
395f3b3eb5
Add slot for ProgressHeader and ProgressTitle ( #36482 )
...
* Add slot for ProgressTitle
* Add slot for ProgressHeader
* Add changelog
* Add experimental prefix
2023-01-19 13:21:54 -08:00
Joel Thiessen
687dd6fdfe
Migrating product editor images section to slot-fill ( #36461 )
2023-01-19 09:45:30 -08:00
Gan Eng Chin
d69f078fd5
Replace useIsPluginInstalled with useIsPluginInstalledNotActivated.
2023-01-20 01:36:39 +08:00
Gan Eng Chin
cd0402a10c
Refetch registered channels after install and activate recommended channels.
2023-01-20 01:02:41 +08:00
Gan Eng Chin
9fa6ea4a25
Display activate button for channels that are not yet activated.
2023-01-20 00:36:34 +08:00
Gan Eng Chin
223ea4d712
Filter recommended channels to get "not installed" or "not activated" channels.
2023-01-19 22:23:00 +08:00
Gan Eng Chin
cf4c62e707
Fix loading bug in useRecommendedChannels.
2023-01-19 19:50:56 +08:00
Gan Eng Chin
b708cc18ff
Get recommended channels from API.
2023-01-19 19:33:51 +08:00
Joel Thiessen
2fae3537a7
Experimental SlotContext for managing slot fill interactions ( #36333 )
...
* Adding Slotcontext component and adding support to product slot fill components
* Passing inject props correctly to non-function components.
2023-01-19 05:52:45 -04:00
louwie17
fc1745b03b
Add/36075 render fields sections from php config ( #36414 )
...
* Add initial component to auto load fills from API config
* Add changelog
* Update logic to make use of new store and re-usable components
* Add changelog
* Add loading state for product form data to add/edit product pages
2023-01-19 04:52:02 -04:00
Chi-Hsuan Huang
025c6aab17
Fix tax task showing as not completed after setting up tax ( #36468 )
...
* Wait for requests to finish before redirecting
* Add changelog
2023-01-19 13:01:31 +08:00
Joshua T Flowers
1337a6d36e
Add product tour to new product management experience ( #36428 )
...
* Add product tour container and modal
* Fix modal open class name
* Add product tour
* Add changelog entry
* Move product tour state logic into hook
* Fix tour selectors for pricing and actions
* Add tests around product tour container
* Add tests around useProductTour hook
* Make tour responsive
* Use tabs instead of spaces
* Fix more scss lint errors
* Remove extra whitespace
2023-01-18 11:11:02 -08:00
Gan Eng Chin
2d7c8db2e5
Map product_listings_status to syncStatus.
2023-01-19 01:32:38 +08:00
Gan Eng Chin
0a36d7a4fe
Map errors_count to issueType and issueText.
2023-01-19 01:12:50 +08:00
Gan Eng Chin
07b8b98702
Merge branch 'feature/34903-multichannel-marketing-frontend/main' into feature/34903-multichannel-marketing-frontend/34906-channels-card
2023-01-18 17:35:50 +08:00
Gan Eng Chin
f616d688d8
Call marketing channels API with wp.data.
2023-01-18 02:04:42 +08:00
Joel Thiessen
d9daad3e9c
Converting product details section to utilize slot fills ( #36368 )
...
* Working prototype of product details via slotfill
* Raising default order for product slot-fills
* Move logic to details field name component
* Adding order prop to all fills.
* Adding components changelog
* Adding changelog
* Deleting obsolete product details section files
* Reducing spacing between slot filled fields
2023-01-17 05:04:58 -04:00
Joshua T Flowers
ea64a98f54
Extract attribute filtering and fetching logic out of attribute components ( #36354 )
...
* Move attribution fetching to separate hook
* Add changelog entry
* Set all attributes on update of subset of attributes
* Move filtering logic to hook
* Remove tests that filter attribute by type inside the component
* Rename AttributeField to AttributeControl and props from attributes to value
2023-01-17 04:34:08 -04:00
Matt Sherman
69e7fd1b42
Analytics: Decode HTML entities in CategoryBreadcrumbs ( #36321 )
...
* Decode HTML entities in CategoryBreadcrumbs
* Changelog
2023-01-13 11:14:40 -05:00
Fernando Marichal
78002eac9c
Hide `Variations` section when it is empty ( #36202 )
...
* Add changelog
* Hide Variations section when it is empty
* Fix hiding variations
* Remove `totalCount const
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-01-12 16:32:40 -03:00
Joshua T Flowers
891ecb7efb
Redirect to new product experience when in experiment group ( #36381 )
...
* Redirect to new product experience when in experiment group
* Add changelog entry
2023-01-12 16:02:40 -03:00
Joshua T Flowers
ad59769f25
Remove persisted query on return to parent product from variation ( #36365 )
...
* Remove persisted query on return to parent product from variation
* Add changelog entry
2023-01-12 09:20:46 -08:00
Matt Sherman
54c0acf8cd
Decode HTML entities in CategoryFieldItem ( #36367 )
...
* Decode HTML entities in CategoryFieldItem.
* Changelog
2023-01-12 10:21:43 -05:00
Joel Thiessen
6e428201c1
Adding WooProductSectionItem slotfill ( #36331 )
2023-01-11 10:00:20 -08:00
Maikel David Pérez Gómez
8bada412d4
Product variations should inherit parent product properties ( #36234 )
...
Remove manage_stock 'parent' value before saving the variation
2023-01-11 11:41:25 -03:00
Joel Thiessen
f429b9444c
Adding WooProductFieldItem slotfill ( #36315 )
2023-01-10 10:13:02 -08:00
Gan Eng Chin
b326ba1204
Merge branch 'feature/34903-multichannel-marketing-frontend/main' into feature/34903-multichannel-marketing-frontend/34906-channels-card
2023-01-09 23:38:03 +08:00
Maikel David Pérez Gómez
1ab678c13f
Include tax options in pricing section ( #36299 )
...
* Add Charge sales tax on sub section to pricing section when enable taxes is set to yes
* Add tax classes datastore
* Load tax classes in pricing section
* Set empty value when tax class is standard rate
* Add changelog files
* Add custom resolver to use slug as id for tax classes
* Add helper text and learn more link to tax class radio group
2023-01-06 09:41:45 -03:00
Fernando Marichal
230e79fbdf
Fix reordering items logic in attributes/options lists ( #36296 )
...
* Fix reordering list items bug
* Add tests
* Remove orphan comment
* Add changelog
* Rename const
* Update plugins/woocommerce-admin/client/products/fields/attribute-field/utils.ts
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Rename `objectKey` to `attributeKey`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2023-01-06 08:53:03 -03: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
Joshua T Flowers
04089f37e6
Add product variation flag to hide WIP ( #36311 )
...
* Add product variations feature flag
* Add changelog entry
2023-01-05 18:30:23 -08:00
Joshua T Flowers
e73fb9f23f
Derive product type from product attributes ( #36243 )
...
* Derive product type from product attributes
* Add tests around derive product type
* Add changelog entry
2023-01-03 16:25:21 -08:00
Joshua T Flowers
421fc3e30b
Convert HTML to blocks in product variation description ( #36241 )
...
* Convert HTML to blocks in product variation description
* Add changelog entry
2023-01-03 16:25:12 -08:00
Joshua T Flowers
df0ddb2dff
Fix navigation between variations and tab selection ( #36239 )
...
* Fix navigation between variations and tab selection
* Add changelog entry
2023-01-03 08:59:49 -08:00
Fernando Marichal
af9f493c43
Fix attributes/options lists corrupt render ( #36236 )
...
* Fix attributes/options lists reordering
* Add changelog
* Fix element key
* Remove comment
* Add tests
* Fix changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-01-03 10:33:29 -03:00
Joshua T Flowers
3fe3710c51
Automatically generate product variations on option changes ( #36188 )
...
* Auto generate variations on option changes
* Add changelog entry
* Move product variation generation to hook
* Create product auto draft if not yet created
* Allow auto-draft and trash statuses for products
* Update form context with product ID to allow fetching variations
* Fix product ID usage in variations
* Reset form after initial product creation
* Use form value name for display instead of persisted name for auto drafts
* Add additional test around auto draft title
2022-12-30 13:12:09 -08:00
Chi-Hsuan Huang
8c3f06c452
Fix "Save changes?" modal saves the options after selecting the 'Discard' option ( #36160 )
...
* Tweak save change modal padding
* Fix obw save change and add e2e tests
* Add changelog
* Fix product_types step
2022-12-28 16:23:16 +08:00
Chi-Hsuan Huang
9f0d718a33
Cleanup product task experiment ( #35950 )
...
* Cleanup product task experiment
* Rename experimental-products -> products
* Add changelog
* Clean up product task experiment in woo/onboarding
Remove product variant
* Rename experimental-import-products -> import-products
* Clean up OnboardingTasks.php
* Add changelog
* Remove experimental-products-task feature flag
2022-12-28 16:08:54 +08:00
Fernando Marichal
f5e23c329c
Fix edit attribute modal terms list ( #36186 )
...
* Fix `EditAttributeModalProps` terms list
* Add changelog
* Fix `AttributeField` continuos hydration
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-12-27 15:38:08 -03:00