Hosna Qasmei
CCConvex Community
β’Created by Hosna Qasmei on 9/17/2024 in #support-community
Resources for Implementing User Roles
Was thinking about saving the role in the clerk meta data and the convex table
6 replies
CCConvex Community
β’Created by Hosna Qasmei on 9/17/2024 in #support-community
Resources for Implementing User Roles
Would this work if I wanted an admin user, a staff user, a base user?
I want each would see a different dashboard
6 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/17/2024 in #support-community
Trying to add rate limiting to newsletter sign up
Hey @ian , I appreciate your response. Yup did that method instead using https://www.google.com/recaptcha/
@Web Dev Cody clarified it for me π
The same reasoning you mentioned, still vulnerable to DDOSing if I did it the rate limiting way.
Thank you!
4 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
Ah yes that article looks like itβs it, let me take a look and try it thanks @lee @erquhart
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
Yeah π
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
so the selected filter is an array of strings
dont think I can do q.contains, no sure what other way there is
im trying to filter based on tags, so if the tab is in tabs of that item I want to include it
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
was the last comment just to stick with filter the frontend since I need access to all the data?
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
@Web Dev Cody i wish I was trying to just paginate lol, I want to filter and sort as well from the backend if possible
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
right
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
okay gotcha, but you notice when you filter to another tab the load spinner shows up so im not sure if that's filtering based of the query and paginating to look for more results because all the data isnt there
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
So I initially did the sort/filter the in the frontend approach
it worked for me on desktop
but mobile i was coming across this issue https://github.com/vercel/next.js/issues/34455
so to avoid it i wanted to do infinite scrolling
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
yup, filtering on the front end
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
if you go here, and select one of the options that isn't All it gets glitchy
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
sorting is fine, it's the filtering that's giving the issue
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
no it's the opposite
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
okay so here is my dilemma
for this example, results only returns a subset of the data because of pagination. Lets say I want to filter and sort from All the data in the messages table . If I do it through this example, it will only do i from that subset from results right?
how would i do it the way I need to
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
Ah yes, I thouhght I saw that somewhere. Thanks @Michal Srb !
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
Wow paginated query is amazing!
Wanted to know if you can help, with in the paginated query I want to sort and filter if possible.
This is what I have right now, only the sorting. Not sure if it's right. Wanted to also do filtering,
here is my schema for portfolios
64 replies
CCConvex Community
β’Created by Hosna Qasmei on 7/1/2024 in #support-community
What is the best way to implement infinite scrolling with Convex
yes it does, just looked it up wasn't aware of it π
will try it, thank you!
64 replies