Andy Terranova

Results 22 comments of Andy Terranova

### Layered Navigation Looking at page https://develop.pwa-venia.com/default/venia-dresses.html?page=1, a category page on Venia. The following queries are issued that relate to layered navigation / filters: 1. [getProductFiltersByCategory](https://github.com/magento/pwa-studio/blob/99270701b2b607551f2e5881af272ed48ba7064c/packages/peregrine/lib/talons/RootComponents/Category/categoryContent.gql.js#L4) 2. [getFilterInputsForCategory](https://github.com/magento/pwa-studio/blob/99270701b2b607551f2e5881af272ed48ba7064c/packages/peregrine/lib/talons/RootComponents/Category/category.gql.js#L31) Am I...

### Product Detail Page Here's [the product details query](https://github.com/magento/pwa-studio/blob/99270701b2b607551f2e5881af272ed48ba7064c/packages/peregrine/lib/talons/RootComponents/Product/product.gql.js#L15) we send. Here's the [fragment](https://github.com/magento/pwa-studio/blob/develop/packages/peregrine/lib/talons/RootComponents/Product/productDetailFragment.gql.js). Looks like we could pull [this attribute_code](https://github.com/magento/pwa-studio/blob/develop/packages/peregrine/lib/talons/RootComponents/Product/productDetailFragment.gql.js#L40) and issue the `customAttributesMetadata` query with `entity_type` = `catalog_product`?...

### Category Page Here's the [category query](https://github.com/magento/pwa-studio/blob/99270701b2b607551f2e5881af272ed48ba7064c/packages/peregrine/lib/talons/RootComponents/Category/category.gql.js#L6) and [fragment](https://github.com/magento/pwa-studio/blob/develop/packages/peregrine/lib/talons/RootComponents/Category/categoryFragments.gql.js#L16). Looks like we'd need to add the `attribute_code` field and do the additional `customAttributesMetadata` query with `entity_type` = `catalog_category`.

### Sorting We get all the aggregations in the [getProductFiltersByCategory](https://github.com/magento/pwa-studio/blob/99270701b2b607551f2e5881af272ed48ba7064c/packages/peregrine/lib/talons/RootComponents/Category/categoryContent.gql.js#L4) query, but we should not rely on the order of the attributes returned from GraphQL for rendering. It would be...

### Search #### Use in Search This setting would remain a known bug / unsupported. Attributes are always used in search. #### Use in Search Results Layered Navigation Here's the...

Thanks for this! Yes, https://jira.corp.magento.com/browse/PWA-1268 calls for the following UI: ![Screen Shot 2021-03-25 at 11 02 53 AM](https://user-images.githubusercontent.com/13182778/112504328-ac76ba80-8d59-11eb-8dfc-304507824b8a.png) Notice the heart indicators for whether or not a product has already...

@magento export issue to JIRA project PWA as Bug

Thanks for the report, @alecarg - we'll investigate!

@magento export issue to JIRA project PWA as Bug