feat(personalized_feed): added fixtures for new feed, added new feed parsing and layout, added webview player for post videos

This commit is contained in:
misha
2026-07-20 16:47:19 +03:00
parent bd2de07b8f
commit 48a984f5e9
23 changed files with 1330 additions and 903 deletions

View File

@@ -0,0 +1,45 @@
{
"data": [
{
"id": 104,
"post_id": 4,
"post_author_id": 13,
"post_author_name": "Олег Кузнецов",
"post_author_image_url": "/storage/avatars/oleg.png",
"post_author_profile_url": "/ru/profiles/oleg-kuznetsov",
"post_created_at": "2024-06-04T11:00:00.000000Z",
"post_title": "Ужин за 20 минут",
"post_short_description": "Быстрый ужин после работы",
"post_text_md": "Курица с овощами на сковороде.",
"post_image_url": "/storage/posts/dinner.jpg",
"images": [],
"video_embed_url": null,
"post_views_count": 88,
"post_likes_count": 7,
"post_comments_count": 2,
"post_is_liked_by_user": false,
"is_entity_subscribed_by_me": false,
"post_url": "/ru/blog_post/4",
"video_url_thumb": null,
"post_state": "active",
"post_author_detailz_json": {
"slug": "oleg-kuznetsov",
"is_consultant": false
},
"created_at": "2024-06-04T11:05:00.000000Z",
"updated_at": "2024-06-04T11:05:00.000000Z"
}
],
"links": {
"first": null,
"last": null,
"prev": "https://example.com/api/feed?cursor=eyJpZCI6MTAzfQ",
"next": null
},
"meta": {
"path": "/api/feed",
"per_page": 20,
"next_cursor": null,
"prev_cursor": "eyJpZCI6MTAzfQ"
}
}