These Challenges should be in chronological order separated by month using the createdAt field on the Challenge object.
The Success/Failure fields should come from resultTypefield of the most recent ChallengeCard.You can find this within the challengeCards connection of the Challenge. Note Pulling the entire connection might be slow, I can probably add a field for this to the backend.
Display a list of the Users Challenges
https://www.figma.com/file/HhcNgOOtZ1N0hl2KovGc8N/Shenaningans?node-id=287%3A104
These Challenges should be in chronological order separated by month using the
createdAt
field on theChallenge
object.The
Success
/Failure
fields should come fromresultType
field of the most recentChallengeCard
.You can find this within thechallengeCards
connection of the Challenge. Note Pulling the entire connection might be slow, I can probably add a field for this to the backend.