24-8: articles and legal pages — implemented, QA Review

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Naser Mansour
2026-10-31 18:54:18 +02:00
parent 7879ac7190
commit 2c068277a2
13 changed files with 203 additions and 129 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: 24-8
title: 24-8 Articles and Legal Pages
status: Ready for Dev
status: QA Review
date: 2026-10-31
parent: 24
---
+15
View File
@@ -0,0 +1,15 @@
# Manual tests — 24-8 Articles and Legal Pages
Automated (passed 2026-10-31, `tests/Feature/Design/ArticlesLegalRedesignTest.php`, 9 tests; Design dir 106 incl. old `PostsTest`): `/posts` section head,
one h1, debounced search input, text-only post cards; search filters, shows the count line and clear action; empty-state text;
pagination wrapper present with 12 posts; article page meta/h1/prose/back link, unpublished post is 404; `/page/terms` shows title,
sanitised content (script stripped) and last-updated line; terms/privacy views one h1; `/admin/posts` loads no public assets.
UI loop (`/posts`, `/page/terms`): no horizontal scroll at 390/768/1440.
Ruling logged: `x-site.section-head` gained an optional `tag` prop (default `h2`); `/posts` and `/booking` pass `tag="h1"` so each page has exactly one h1 (the spec's own acceptance criterion).
- [ ] `/posts`: type in the search box; after a short pause the list filters and "N results" appears; Clear resets.
- [ ] With more than 10 published posts: pagination pills at the bottom, current page forest green.
- [ ] Open an article: date, large display heading, readable body, Back button.
- [ ] `/page/terms` and `/page/privacy`: white card with the CMS text and "last updated" line; check Arabic and English.
- [ ] 390px on each page: no sideways scroll.
+1 -1
View File
@@ -144,6 +144,6 @@
| 24-5 | 24-5 Home Booking Card (Compact Booking and Day Strip) | QA Review |
| 24-6 | 24-6 Booking Page and Booking Success | QA Review |
| 24-7 | 24-7 About Page | QA Review |
| 24-8 | 24-8 Articles and Legal Pages | Ready for Dev |
| 24-8 | 24-8 Articles and Legal Pages | QA Review |
| 24-9 | 24-9 Auth Pages Type and Controls | Ready for Dev |
| 24-10 | 24-10 Redesign Integration Verification | Ready for Dev |