Files
libra/docs/tasks/6-9.md
T
Naser Mansour 0f9d12c3cf Prepare project for pipeline takeover: task tracker, UX doc, CLAUDE.md pointers
Adds docs/tasks/ (16 epics + 102 stories converted to task/subtask files with
statuses.md as the new status source of truth) and docs/ux-design.md
(retrospective design-system reference), and points CLAUDE.md at them.
docs/prd.md and docs/architecture.md are kept as BMAD wrote them; the legacy
docs/stories/, docs/epics/, docs/qa/gates/ and .bmad-core/ stay in place as
historical/traceability records, superseded but not deleted.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-27 22:02:23 +03:00

1.4 KiB

id, title, status, date, parent
id title status date parent
6-9 6-9 Legal Pages Editor QA Review 2026-09-27 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)