Andy Terranova
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:  Notice the heart indicators for whether or not a product has already...
@magento create issue from PR
@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