dean
e4223a1a17
Add isFollowedByCurrentUser field and hasFollowing to feed query
...
Tests / Tests (pull_request) Successful in 9s
Updated GraphQL operations to support efficient follow status checking:
- Added isFollowedByCurrentUser field to UserSocialsFields fragment
- Removed nested followers array from UserSocialsFields (over-fetching)
- Simplified followUser/unfollowUser mutations to return minimal data
- Added hasFollowing field to GetVideoFeed query for feed mode detection
- Updated getUserFollowingFollowers query to include isFollowedByCurrentUser
These changes enable the mobile app to:
- Display correct follow/unfollow button states without client-side lookups
- Differentiate between "Following" and "Popular" feed modes
- Reduce payload size by removing unnecessary nested data
Backend handles efficient resolution via request-scoped caching.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-09 23:44:39 -08:00
dean
83b7f0d0f6
Add home feed and isFollowedByCurrentUser field
...
- Add home option to VideoFeedInputGQL for automatic feed selection
- Add hasFollowing field to VideoHistoryGQL response
- Add isFollowedByCurrentUser field to UserGQL to replace followers N+1
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 09:15:39 -08:00
dean
a882f98d91
Add home option to VideoFeedInputGQL
...
The home feed option enables smart feed selection on the backend:
- If user has following: returns FOLLOWING feed
- If user has no following: returns ALL feed
- Always includes hasFollowing flag so frontend knows which feed it got
This allows frontend to make a single query instead of needing to
check following status separately.
2025-11-07 12:16:01 -08:00
dean
aac9879afc
add has follwer to feed query
Tests / Tests (pull_request) Successful in 10s
2025-11-06 13:13:54 -08:00
a7649351b3
add marketing to schema
Tests / Tests (pull_request) Successful in 10s
2025-10-10 14:44:45 -07:00
051555f9fc
Merge pull request 'Schema + Ops for Content Moderation GQL' ( #201 ) from loewy/add-block-and-reporting-ops into master
...
Reviewed-on: #201
2025-09-30 15:58:59 -06:00
d7bbe882b7
Merge pull request 'Just schema changes, no operations' ( #202 ) from loewy/blocking-and-reporting into master
...
Reviewed-on: #202
2025-09-30 15:58:51 -06:00
e783050a02
operations
Tests / Tests (pull_request) Successful in 22s
2025-09-23 11:02:16 -07:00
d8ee83c627
codegen for reporting, user and content blocking
Tests / Tests (pull_request) Successful in 8s
2025-09-17 20:00:25 -07:00
d32cd87a60
Merge pull request 'Add subscriptionGating to config operations file' ( #200 ) from loewy/add-sub-gating-to-config-op into master
...
Reviewed-on: #200
2025-08-27 21:29:16 -06:00
b956cfe0f9
add sub gating to config operations
Tests / Tests (pull_request) Successful in 11s
2025-08-27 19:27:17 -07:00
3f520a0331
Merge pull request 'Add operations for user subscriptions' ( #199 ) from loewy/get-and-cancel-sub-ops into master
...
Reviewed-on: #199
Reviewed-by: Ivan Malison <ivanmalison@gmail.com >
2025-08-18 17:42:43 -06:00
a563834269
get user sub status and cancel sub
Tests / Tests (pull_request) Successful in 11s
2025-08-14 14:02:36 -07:00
80a5bded47
Merge pull request 'Add getUserSubscriptionStatus' ( #198 ) from loewy/subscription-status-resolvers into master
...
Reviewed-on: #198
2025-08-14 13:22:33 -06:00
16d8510465
add cancel subscription
Tests / Tests (pull_request) Successful in 10s
2025-08-12 13:14:08 -07:00
9b21ce1e3a
get subscription resolvers
Tests / Tests (pull_request) Successful in 14s
2025-08-11 14:23:46 -07:00
dde4cfd99b
Merge pull request 'Add subscriptionGatingEnabled prop to deployed config' ( #196 ) from loewy/add-subscription-gating-enabled into master
...
Reviewed-on: #196
2025-08-08 16:52:30 -06:00
845fb361b9
Merge branch 'master' into loewy/add-subscription-gating-enabled
Tests / Tests (pull_request) Successful in 10s
2025-08-08 16:49:17 -06:00
9f5fcc066e
Merge pull request 'Create subscription operations' ( #197 ) from loewy/create-sub-operations into master
...
Reviewed-on: #197
2025-08-07 13:06:08 -06:00
dfb0361e12
Merge branch 'master' into loewy/create-sub-operations
Tests / Tests (pull_request) Successful in 10s
2025-08-07 12:59:54 -06:00
77477d63db
add subscriptionGatingEnabled prop to deployed config
Tests / Tests (pull_request) Successful in 31s
2025-07-29 14:28:36 -07:00
01fb113e1c
Merge pull request 'DeleteUser operation' ( #195 ) from loewy/delete-user-operation into master
...
Reviewed-on: #195
2025-07-11 12:18:31 -06:00
c660ed54cd
delete user mutation
Tests / Tests (pull_request) Successful in 7s
2025-07-11 11:17:25 -07:00
b5fd2e2183
Merge pull request 'Create subscription' ( #194 ) from loewy/add-stripe-stuff into master
...
Reviewed-on: #194
2025-07-09 12:45:03 -06:00
ddee57f4c2
create sub
Tests / Tests (pull_request) Successful in 56s
2025-07-09 11:41:57 -07:00
a497abd44d
create sub operations
Tests / Tests (pull_request) Successful in 11s
2025-07-09 11:31:26 -07:00
49d43b2703
Merge pull request 'Create delete user' ( #192 ) from kat/delete_user into master
...
Reviewed-on: #192
2025-07-09 12:04:03 -06:00
99f8968a36
Create delete user
Tests / Tests (pull_request) Successful in 10s
2025-07-09 11:37:25 -06:00
76a98aa0c3
Remove subscription stuff for now
2025-07-09 07:59:08 -06:00
f5177a877c
Merge pull request 'add createSubscription' ( #191 ) from loewy/create-checkout-session into master
...
Reviewed-on: #191
2025-07-09 07:57:38 -06:00
6685849cc2
add available subscription
Tests / Tests (pull_request) Successful in 9s
2025-07-08 16:40:12 -07:00
567cbc549c
add createSubscription
Tests / Tests (pull_request) Successful in 9s
2025-07-08 16:20:14 -07:00
2b43493a4f
Add processing progress fields
2025-07-08 14:12:15 -06:00
358eee2e16
Merge pull request 'Add getAvailableSubscriptionOptions & associated subscription types' ( #190 ) from loewy/available-sub-options into master
...
Reviewed-on: #190
Reviewed-by: Ivan Malison <ivanmalison@gmail.com >
2025-07-08 12:52:17 -06:00
a1d3d776aa
add to schema
Tests / Tests (pull_request) Successful in 8s
2025-07-07 14:24:09 -07:00
82af3a3ce9
Merge pull request 'Add operation for ensureStripeCustomerExists' ( #189 ) from loewy/ensure-customer-exists-operations into master
...
Reviewed-on: #189
2025-07-07 14:27:24 -06:00
7b51c317ca
add operation for ensureStripeCustomerExists
Tests / Tests (pull_request) Successful in 10s
2025-07-07 13:12:36 -07:00
04f1bb4d74
Remove email param from ensureStripeCustomerExists
2025-07-06 16:20:49 -06:00
fbd7c2020b
Merge pull request 'Add ensureStripeCustomerExists to schema' ( #188 ) from loewy/get-stripe-customer-mutation into master
...
Reviewed-on: #188
2025-07-04 12:06:47 -06:00
c0636a8863
ensure stripe customer rename
Tests / Tests (pull_request) Successful in 10s
2025-07-03 19:43:21 -07:00
7302d6b8b6
get stripe customer mutation, add stripe_customer_id to user gql type
Tests / Tests (pull_request) Successful in 11s
2025-07-03 15:26:44 -07:00
492178455c
Add getUsersMatching
2025-06-25 15:08:19 -07:00
55a2edb042
Merge pull request 'Add bannerMessages to getDeployedConfig operation' ( #187 ) from loewy/banner-on-deployed-config-ops into master
...
Reviewed-on: #187
2025-06-13 11:19:59 -06:00
31cf492889
add bannerMessages to getDeployedConfig operation
Tests / Tests (pull_request) Successful in 7s
2025-06-13 10:12:39 -07:00
de7dc675a1
Merge pull request 'Reverting config operation until BE deployed' ( #186 ) from loewy/revert-config-operations into master
...
Reviewed-on: #186
2025-06-12 15:12:48 -06:00
f8f00d9c24
revert changes
Tests / Tests (pull_request) Successful in 6s
2025-06-12 14:09:20 -07:00
dc207bce55
Merge pull request 'Add banners to config operations' ( #185 ) from loewy/update-config-operations into master
...
Reviewed-on: #185
2025-06-12 14:30:17 -06:00
2e5b8d2563
add banners to config operations
Tests / Tests (pull_request) Successful in 6s
2025-06-12 13:29:24 -07:00
46bcd08ae1
Merge pull request 'Add banner messages to DeployedConfigGql' ( #184 ) from loewy/add-banner-to-config into master
...
Reviewed-on: #184
Reviewed-by: Ivan Malison <ivanmalison@gmail.com >
2025-06-12 14:27:36 -06:00
bd383b1d55
add banner messages to deployedConfigGql
Tests / Tests (pull_request) Successful in 10s
2025-06-12 10:21:24 -07:00