feat(blog-review): enhance BlogReviewPage with detailed article retrieval and loading state

This commit is contained in:
hamed
2026-08-04 20:38:09 +03:30
parent 9d767a6c63
commit f9bbdf1e7c
3 changed files with 187 additions and 6 deletions
+2
View File
@@ -454,6 +454,8 @@ List blog drafts awaiting review, newest first.
### Response `200`
Paginated (`{ data:[...], meta:{ totalRecords, totalPages, currentPage } }`). Each item is the blog list shape plus `review_status`, `reviewer` (`{ uuid, name }` or `null`), and `topic_slug`.
> **صف، متنِ مقاله را نمی‌دهد.** ردیف‌ها از `Blog::toListArray()` می‌آیند، پس `body`، `faq`، `sources` و فیلدهای SEO در آن‌ها نیست — ۱۵ متن کامل HTML در یک پاسخِ فهرست جایی ندارد. کلاینتی که می‌خواهد مقاله را کامل نشان دهد (مثل مودال بازبینیِ `/admin/blog-review`) باید هنگام باز شدن، `GET /api/v1/admin/blog/{uuid}` را صدا بزند. پاسخ آن double-nested است: `data.data`.
```json
{
"success": true,