Waiviogit / waivio

MIT License
8 stars 7 forks source link

[profile / recipe] Add a Recipe tab to the user profile, similar to the Shop tab #6922

Closed Diana-Cherry-8 closed 1 month ago

Diana-Cherry-8 commented 2 months ago

Back-task #6907 #6941

yammer 3907 profile / recipe

Add a Recipe tab to the user profile, similar to the Shop tab The layout should include a left sidebar with categories, a feed with cards, and tags in the right sidebar. The setup will be the same as the 'Shop' tab, but for recipe object types.

Image


Back information https://waiviodev.com/api/docs/#/shop/post_api_shop_user_departments https://waiviodev.com/api/docs/#/shop/post_api_shop_user_department_feed https://waiviodev.com/api/docs/#/shop/post_api_shop_user_main_feed https://waiviodev.com/api/docs/#/shop/post_api_shop_user_filters https://waiviodev.com/api/docs/#/shop/post_api_shop_user_filters_tags

in order to display a recipe with categories, you need to add in the user's store request

"schema" : "recipe"

Diana-Cherry-8 commented 1 month ago

Поменять Departments на Categories для Recipe вкладки

Image

Diana-Cherry-8 commented 1 month ago

Добавить meta-description для recipe

Discover {username} favorite saved recipes in one place! Explore personalized categories of delicious meals {username} hearted and added to profile. Easily find and organize dishes {username} love, from appetizers to desserts, all gathered for your convenience.

Diana-Cherry-8 commented 1 month ago

Нужно добавить блок Recipe в Settings пользователя. Точно такое как для Favorites. settings.hideRecipeObjects true или false Image

Image

Diana-Cherry-8 commented 1 month ago

Перебрасывает на User shop, после нажатия на Categories в средней фиде.

https://github.com/user-attachments/assets/7343087a-6d4a-4951-a2ae-62ef62b1b99a

Diana-Cherry-8 commented 1 month ago

Фильтры не меняются, после перехода между Shop и Recipe

https://github.com/user-attachments/assets/79c8b63a-9be1-45f9-9567-c9900efabdaa

Diana-Cherry-8 commented 1 month ago

Подгрузка не работает на Shop и Recipe, если перейти в последнюю вложенность (где весь список объектов для одного департамента). Поля отправляются не правильно. (На проде все работает) department, filter, path, schema содержат не правильную информацию. https://waiviodev.com/@wiv01/userShop/Clothing#Women/T-Shirts (shop) https://waiviodev.com/@recipes.curator/recipe/European%20Cuisine (recipe)

Image

Image

https://github.com/user-attachments/assets/6c506b0f-f30b-49a4-9160-a133df88da20

Diana-Cherry-8 commented 1 month ago

Mobile Поменять слово Depatments -> Categories Image

Diana-Cherry-8 commented 1 month ago

Пустая вкладка, если перейти на одну из категории рецепта на сайтах

https://didicherednyk.live/@wiv01/recipe

https://github.com/user-attachments/assets/a06851bb-d47f-4e21-8e17-93c0ec2d60fc

Diana-Cherry-8 commented 1 month ago

Staging checked

Diana-Cherry-8 commented 1 month ago

Production checked