woocommerce/plugins/woocommerce-admin/client/marketplace/components
And Finally 3c8f4861e4 [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page.
- `ProductListContextProvider` provides `setIsLoading` function as well as `isLoading`.
- `Discover` uses these values from context, instead of keeping a loading state in itself.
- `FeedbackModal` calls `maybSetTimeout` when `isLoading` changes. If `isLoading` isn't truthy, and snackbar hasn't already rendered, it sets a timeout of 5 seconds to show it.

- Removed wrapping <WooFooterItem> from around Footer component, so it's no longer a child of the WooCommerce Admin `.woocommerce-layout__footer` footer.
- Removed the `position: relative` from `.woocommerce-layout__footer`. It needs to be `position: fixed`.
- Added FooterContent component to Footer, to allow the layout we want.

- Changed use of context. This now only has states for the selected tab and loading state.
- We use this context in `Tabs` and `Content` to keep track of which tab is selected, and set the selected tab.
- We also use it in `Discover` and `Extensions`, which both report loading state to the context. This allows us to use it to only render the snackbar when loading is complete.
- Extensions: moved `productList` and `setProductList` and logic for getting product list from the context provider to a state in this component. We don't need to share the list of products in the context.
- Renamed `ProductListContext`, `ProductListContextProvider` and `productListContextValue` to more generic `MarketplaceContext`, `MarketplaceContextProvider` and `marketplaceContextValue`.
- Renamed a constant and created constants for API paths.
- Only shows snackbar after content has loaded, and after a timeout. We set a date `marketplace_redesign_2023_last_shown_date` in local storage to ensure we only show one snackbar.
2023-08-26 12:47:23 +01:00
..
category-selector Marketplace: remove Featured category from category selector 2023-08-15 15:43:09 +03:00
content [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
discover [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
extensions [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
feedback-modal [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
footer [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
header [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
header-account [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
header-search Squashed commit of the following: 2023-08-10 14:53:46 +01:00
header-search-button Squashed commit of the following: 2023-08-10 14:53:46 +01:00
header-title [wccom-17713] Addressing design feedback. 2023-08-18 15:20:00 +01:00
icon-with-text Add skeleton and cherry-picked commits 2023-08-07 12:34:05 +01:00
likert-scale Squashed commit of the following: 2023-08-10 14:53:46 +01:00
product-card [wccom-17713] Addressing design feedback. 2023-08-18 15:20:00 +01:00
product-list Product Card: update to to using new API values 2023-08-16 13:55:59 +02:00
product-list-content Marketplace: Cache Discover page content 2023-08-18 18:59:36 +03:00
product-list-header [wccom-17713] Addressing design feedback. 2023-08-18 15:20:00 +01:00
product-loader Marketplace: add category filtering 2023-08-15 09:38:17 +03:00
search [wccom-17713] Addressing design feedback. 2023-08-18 15:20:00 +01:00
tabs [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00
constants.ts [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page. 2023-08-26 12:47:23 +01:00