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:
@@ -191,6 +191,11 @@ function buildSections(
|
||||
icon: DocumentTextIcon,
|
||||
label: "بلاگ",
|
||||
},
|
||||
{
|
||||
to: "/admin/blog-review",
|
||||
icon: DocumentTextIcon,
|
||||
label: "بازبینی بلاگ",
|
||||
},
|
||||
{
|
||||
to: "/admin/sms",
|
||||
icon: DevicePhoneMobileIcon,
|
||||
|
||||
Reference in New Issue
Block a user