feat(blog): implement medical review gate for blog posts

- Added new fields to the Blog entity: sources, review_status, reviewer, reviewed_at, review_note, and topic_slug.
- Created API endpoints for reviewing blog posts: GET /api/v1/admin/blog/review-queue and POST /api/v1/admin/blog/{uuid}/review.
- Updated BlogController to handle review logic, including approval and rejection of posts.
- Introduced BlogReviewPage component for admin interface to manage blog reviews.
- Added migration to update the database schema for new fields.
- Implemented tests for review queue functionality and review decision handling.
This commit is contained in:
hamed
2026-07-23 21:01:58 +03:30
parent 2abf915f95
commit 14730e43ce
10 changed files with 746 additions and 0 deletions
@@ -191,6 +191,11 @@ function buildSections(
icon: DocumentTextIcon,
label: "بلاگ",
},
{
to: "/admin/blog-review",
icon: DocumentTextIcon,
label: "بازبینی بلاگ",
},
{
to: "/admin/sms",
icon: DevicePhoneMobileIcon,