Closed redreceipt closed 5 months ago
@redreceipt when I check the graphql query result Im getting only above five events
@Sherange looks like that query is missing ... on Event
@Sherange looks like that query is missing
... on Event
@redreceipt do you mean adding ... on Event
to CardListItem -> relatedNode ? but it didn't change the result right ?
@Sherange can you paste the query here that is being used so we can debug on the backend
@Sherange can you paste the query here that is being used so we can debug on the backend
query featureFeed($itemId: ID!) {
node(id: $itemId) {
... on FeatureFeed {
features {
id
order
__typename
... on VerticalCardListFeature {
title
subtitle
cards {
...ContentCard
}
}
}
}
}
}
fragment ContentCard on CardListItem {
id
title
labelText
summary
coverImage {
name
sources {
uri
}
}
hasAction
action
actionIcon
relatedNode {
id
__typename
... on ContentItem {
parentItem {
title
}
title
}
... on Url {
url
}
}
}
We’ll need the feature feed ID too for the query variables Sent from my iPhoneOn May 21, 2024, at 3:18 PM, Sherange Fonseka @.***> wrote:
@Sherange can you paste the query here that is being used so we can debug on the backend
query featureFeed($itemId: ID!) {
node(id: $itemId) {
... on FeatureFeed {
features {
id
order
__typename
... on VerticalCardListFeature {
title
subtitle
cards {
...ContentCard
}
}
}
}
}
}
fragment ContentCard on CardListItem { id title labelText summary coverImage { name sources { uri } } hasAction action actionIcon relatedNode { id __typename ... on ContentItem { parentItem { title } title } ... on Url { url } } }
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@redreceipt feed id fyr
{"itemId" : "FeatureFeed:69cc8825bbc7612068c77496e3e2d9f48ad2b8906c455d95fdbba65e3b0fe30043d83c63592e2b9827777c0c311f2481db9397d1ae6fb376c2f14202e6d92b630b1aefda88740028cfaf9718c06bd477419b58c73d6f979ae403ee7ea6aaa1f7ede715c0b0f2f1a9178352ecc65278d5a3955b361ab50e9450305229ecef654f51b29ce2b2aaaa9823e9152541a07ce221c52a59768379b22100b8928f12d8fa13005e4c95d0b622749dd131217db27cddaf10a5bb13d00645fa60cdb3849f9f5af6b2467db0dba0ee44f29ca5a609cf"}
@Sherange can you share how that feature feed ID was generated?
@Sherange can you share how that feature feed ID was generated?
@vinnyjth do you know how I can see what's in that encoded feature ID? trying to debug why all their Mercer events aren't showing up.
@Sherange I think this is still a website problem. Something about how that ID is being generated is wrong. The events show up in the app. You'll need to figure out where that ID comes from to continue to debug it. You get there by clicking this button:
@redreceipt difference we having in mobile and web-embeds is the user token
I test with mobile app query and feature feed id and I get all the events but when I remove the user token from the request I get the same 5 result as in web
then I cross checked with the web query by adding user token to it and I get all the events
So can you please lay out the queries required to reproduce the problem starting all the way from login? To debug this on the backend, we need to identify where it goes wrong on the front end. So we need all the queries in the chain.
@redreceipt Issue re-create steps with graphql queries
1 - get user token from login query 2 - feature feed query to get event list 3 - Add authorization token to step 2 query to get all events
@Sherange where is the itemId
coming from for the feature feed? I have no way of knowing if that feature feed ID is valid. do you know how that ID is being generated after clicking the "View All" button in my screenshot above?
@Sherange where is the
itemId
coming from for the feature feed? I have no way of knowing if that feature feed ID is valid. do you know how that ID is being generated after clicking the "View All" button in my screenshot above?
@redreceipt I manage to debug how "View All" generated, use the same feature feed query with feed id {"itemId" : "FeatureFeed:c97d388b-9115-4ce9-b37e-7b9da66fac73"}
then you get the primary action data for view more button
excellent work @Sherange. i just figured out that the response is different if a user is logged in
auth | no auth |
---|---|
debugging on the backend now
this is a backend problem, the response is different when there's no auth header (like what's on the website)
What's the Problem?
Basecamp item
"Prep Meal" event should be showing up on the Mercer County events feed
Steps to reproduce
Screenshots/Recordings