adobe / helix-website

The Helix website https://www.aem.live/
https://www.aem.live
Apache License 2.0
25 stars 40 forks source link

feat: add filtering to card list used for block party. change sort to use highlight and then sort newest first #635

Closed shsteimer closed 1 month ago

shsteimer commented 1 month ago

Description

Modifies the Cards List block used by block party (and best I can tell, only by block party) to do 2 things:

  1. sort by highlighted first, then reverse chronological (newest first)
  2. add filtering by the category field

Related Issue

Motivation and Context

as block party has grown, harder to find things. this makes that easier with minimal impact anywhere else

How Has This Been Tested?

https://card-list-block-party--helix-website--adobe.aem.page/developer/block-party/ https://card-list-block-party--helix-website--adobe.aem.page/docs/ (uses same block but a different variant)

Screenshots (if appropriate):

Types of changes

Checklist:

aem-code-sync[bot] commented 1 month ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [b6c2c09](https://github.com/adobe/helix-website/commit/b6c2c095ae9a597d57510f5e45ffd4e690cd5602) :white_check_mark: (latest) * [a61aa76](https://github.com/adobe/helix-website/commit/a61aa76515bf6c571eda407844e117b686c7c230) :white_check_mark:
aem-code-sync[bot] commented 1 month ago
Page Scores Audits Google
M /developer/block-party/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
D /developer/block-party/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
M /docs/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
D /docs/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI