7f35297025
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
31 lines
1.4 KiB
Markdown
31 lines
1.4 KiB
Markdown
---
|
|
id: 6-9
|
|
title: 6-9 Legal Pages Editor
|
|
status: Done
|
|
date: 2026-09-27
|
|
parent: 6
|
|
---
|
|
|
|
## Description
|
|
|
|
As an admin, I want to edit Terms of Service and Privacy Policy pages, So that I can maintain legal compliance and update policies. This project uses **class-based Volt components** for interactivity. Follow existing patterns in resources/views/livewire/. Full implementation history: docs/stories/story-6.9-legal-pages-editor.md
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] Terms of Service (`/page/terms`)
|
|
- [ ] Privacy Policy (`/page/privacy`)
|
|
- [ ] Rich text editor using Quill.js (lightweight, RTL-friendly)
|
|
- [ ] Bilingual content with Arabic/English tabs in editor UI
|
|
- [ ] Save and publish button updates database immediately
|
|
- [ ] Preview opens modal showing rendered content in selected language
|
|
- [ ] HTML content sanitized before save (prevent XSS)
|
|
- [ ] Accessible under Admin Dashboard > Settings section
|
|
- [ ] Sidebar item: "Legal Pages" or integrate into Settings page
|
|
- [ ] List view showing both pages with "Edit" action
|
|
- [ ] Edit page shows language tabs (Arabic | English) above editor
|
|
- [ ] Pages accessible from footer links (no auth required)
|
|
- [ ] Route: `/page/{slug}` where slug is `terms` or `privacy`
|
|
- [ ] Content displayed in user's current language preference
|
|
- [ ] Last updated timestamp displayed at bottom of page
|
|
- [ ] Professional layout consistent with site design (navy/gold)
|