rewardz / Feeds

Feeds
Other
2 stars 1 forks source link

Shifted date filter to main query #226

Closed yatishTrootech closed 6 months ago

yatishTrootech commented 7 months ago
  1. Default feeds will be loaded upto last 3 months
  2. If feeds are lesser than page size (default 10) then we will not consider to load feeds upto 3 months, Instead we will load all feeds belongs to the user
qanaveen1111 commented 6 months ago

Pass

Date - 10-4-24 Server- surya.skordev.com User - [admin3@nuhs.org]-pass

Information received from Yatish.

Scenarios for Post

Before Creating any post-loading time for all the posts

After creating 10 Posts for the last 3 months

Scenarios for Appreciation

Before Creating any post-loading time for all posts

After creating 10 Appreciation for the last 3 months

cc: @yatishTrootech @SteffiVinod5 @suryaiiit

qanaveen1111 commented 6 months ago

Pass

Date -12-4-23 Server- skordev.com

cc: @suryaiiit @SteffiVinod5 @yatishTrootech

qanaveen1111 commented 3 months ago

Pass

Date - 2-08-24 (2hrs) & 5-08-24 Server- akshay.skordev.com user - user1@nuhs.com/pass, admin3@nuhs.org


Tested From Post Man

curl --location 'https://akshay.skordev.com/feeds/api/user_feed/organization_recognitions/?post_polls=1&post_polls_...t=1680&user_id=49102' \
--header 'Authorization: Token 810952f7358d1d917f5aa415b4ec03b99cf3163a' \
--header 'User-Agent: Skor/13 iOS'
curl --location 'https://akshay.skordev.com/feeds/api/user_feed/organization_recognitions/?post_polls=1&user_id=48088' \
--header 'Authorization: Token 810952f7358d1d917f5aa415b4ec03b99cf3163a' \
--header 'User-Agent: Skor/13 iOS'

Test Scenarios on Mobile App Nuhs (iOS ) as discussed with yatish iOS device testing is fine.

Scenarios for Feeds

Before Creating any post or poll -loading time for all the posts

After creating 5 Posts for the last 2 months with existing user admin3@nuhs.org

After creating 5 Posts for the last 2 months with new user user1@nuhs.com

Before Creating any post-loading time for all posts

@yatishTrootech Verified the above changes and updated the feedback, post multi org scenarios are working as Expected

cc: @suryaiiit