-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
follow up on Collection Activity Tab // limit number of events in query #5388
Comments
scroll position reset when switching tabs (items/activity) from the bottom of this comment:
|
by @roiLeo : #5345 (review)
|
@roiLeo But I don't that will make much difference in query size Wdyt? |
Yes! Limit 20-50 and paginate the rest. (we had same stuff in #5038)
Let's imagine I make 100k+ "LIST" event, client side won't be able to handle all this data. |
OK. Just to clarify...
Yes. Of course @vikiival what is your take on this? What would be most efficient way? |
for me not necessarily. Is it for the graph? this would be the events over a given period of time. |
The graph too I guess @vikiival would it make sense to process holders and flippers on rubick and add these attributes to collection Entity? Especially flippers By the way, on previous collection activity minters who sold their nft are also dubbed flippers, I disagree with that. |
all done. outstanding issues:
|
Fixed by #5416 |
Yes! kodadot/rubick#52 & kodadot/rubick#56 (maybe kodadot/rubick#157 for a start) |
it will take some time as I'm in vacation until 9th of April If you are interested in getting it going feel free to, otherwise I will try my strength in it when I'm back |
Will take that time to design new Schema 2.0 😅 |
Only this is left in this issue? |
Yes imo same stuff as #5540 |
this is related I guess Good for resolver? |
hey @daiagi can we look on this as we want to launch rmrk2 bug hunting |
hey @yangwao once we can fetch holder/flippers info as part of new That should resolve all heavy loading isuues in activity tab |
and would be possible make lazy loading for that scroll table for now? I think that would save day till then? Because it's last thing we want to launch bug hunting for rmrk2 and it's quite issue for collection where are lot of owners, like >100. |
events table is already lazy loaded |
@roiLeo can we close this? |
Im not aware of current implementation, it was needed to limit number of events in query so user won't face potential bug where there is more than 1k events. Feel free to close it. |
Still an issue but we would need resolver |
to sum it up, left overs for next PR:
formatDistanceFromNow
instead oftimeAgo
✨ Collection Activity Tab #5345 (comment)The text was updated successfully, but these errors were encountered: