Files
Naser Mansour 7f35297025 Mark all libra tasks Done — confirmed live in production ~1 year
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>
2026-09-27 22:04:04 +03:00

31 lines
1.3 KiB
Markdown

---
id: 5-2
title: 5-2 Post Management Dashboard
status: Done
date: 2026-09-27
parent: 5
---
## Description
As an admin, I want a dashboard to manage all blog posts, So that I can organize, publish, and maintain content efficiently. Context: Integrates with: posts table, admin_logs table; Technology: Livewire Volt with pagination; Follows pattern: Admin list pattern (see similar components in `resources/views/livewire/admin/`). Create Volt component at: resources/views/livewire/admin/posts/index.blade.php. Full implementation history: docs/stories/story-5.2-post-management-dashboard.md
## Acceptance Criteria
- [ ] Display all posts with:
- [ ] Pagination (10/25/50 per page)
- [ ] Filter by status (draft/published/all)
- [ ] Search by title or body content
- [ ] Sort by date (newest/oldest)
- [ ] Edit post
- [ ] Delete (with confirmation)
- [ ] Publish/unpublish toggle
- [ ] Bulk delete option (optional) - **OUT OF SCOPE**
- [ ] Bilingual labels
- [ ] Audit log for delete and status change actions
- [ ] Authorization check (admin only) on all actions
- [ ] Tests for list operations
- [ ] Handle post not found gracefully (race condition on delete)
- [ ] Per-page selector visible in UI (10/25/50 options)
- [ ] Bulk delete is **out of scope** for this story (marked optional)