From 8e5825a2543cf503b62c0558d480290dab66a02f Mon Sep 17 00:00:00 2001 From: Stalgia Grigg Date: Tue, 30 Jul 2024 00:06:40 -0700 Subject: [PATCH] Patterns page: Add patterns filter and grid/list view toggles (pull #3043) This PR includes two new features for the patterns page: 1. A text input that filters the displayed patterns as the user types. 2. Options for choosing between a grid view (the default) or a more compact list view. --- content/patterns/patterns.html | 240 +++++++++++++++++----------- content/shared/js/filterBySearch.js | 175 ++++++++++++++++++++ 2 files changed, 324 insertions(+), 91 deletions(-) create mode 100644 content/shared/js/filterBySearch.js diff --git a/content/patterns/patterns.html b/content/patterns/patterns.html index af085d4b4..88689af93 100644 --- a/content/patterns/patterns.html +++ b/content/patterns/patterns.html @@ -11,370 +11,428 @@ +

Patterns

-