From 91c0854a1f6de3e32124491f363ef4d6f6f097b3 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Fri, 15 May 2026 15:54:50 -0400 Subject: [PATCH] =?UTF-8?q?docs:=20MPS-24=20Phase=202.6=20=E2=80=94=20face?= =?UTF-8?q?t=20sidebar=20+=206-sentence=20excerpt=20entries?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Surface the new tag-detail facet nav (sort + price + categories) and 6-sentence SERP excerpt in two places future readers will look: - docs/architecture.md feature toggle matrix gets two rows - styleguide.j2 gets a live demo of the facet sidebar so the pattern is documented in the single source of truth for components --- docs/architecture.md | 2 + make_post_sell/templates/styleguide.j2 | 57 ++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/docs/architecture.md b/docs/architecture.md index 860d878..1633e48 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -217,6 +217,8 @@ mps_page_session (raw rows) | Featured products strip (MPS-24) | `shop.featured_product_ids_json` | `home-layout-settings` | empty | | Product tags (MPS-24) | `Tag` + `ProductTag` association | product edit + `/s/{id}/tags` bulk editor | — | | Tag auto-suggest (MPS-24 Phase 2) | `lib/tag_suggest.py` over `Product.title` + `Product.description` | `?show_suggestions=1` on `/s/{id}/tags` + `scripts/backfill_tags.py` | Never auto-applies | +| Tag-detail facet sidebar (MPS-24 Phase 2.6) | `shop_tag.j2` + `views/shop.py` `_price_range_from_request` / `_filter_by_price_range` | Sort + price range + categories list, GET form, sidebar ≥800px, top chip strip <800px | Always on for tag detail pages | +| 6-sentence SERP excerpt (MPS-24 Phase 2.6) | `Product.excerpt_sentences(n=6, max_chars=1500)` via shared `_strip_markdown()` helper | `shop_tag.j2` row description | Always on | ## Ticket Index diff --git a/make_post_sell/templates/styleguide.j2 b/make_post_sell/templates/styleguide.j2 index 89e899e..b67e967 100644 --- a/make_post_sell/templates/styleguide.j2 +++ b/make_post_sell/templates/styleguide.j2 @@ -930,6 +930,63 @@ Cap products per lane via shop.home_layout_per_lane_limit. Mobile: tiles narrow to 140-160px, swipe-friendly. +
+
Facet nav sidebar (MPS-24 — tag detail page)
+
+ +
+
.tag-detail-layout — 1fr mobile, 220px + 1fr at ≥800px +.facet-nav — left column on tag detail, hidden <800px +.facet-form — single GET form wrapping sort + price + tags +.facet-section — title + control group, vertical gap +.facet-tag-list — vertical list, max-height 60vh, scroll if long +.facet-tag-active — accent fill (shop theme color) +Capability-driven: works without JS — submit posts a normal GET. +On wide viewports the sidebar replaces the top .tag-chip-strip-mobile.
+
+
Profile card (profile.j2)