-
Notifications
You must be signed in to change notification settings - Fork 212
[$140] SSF: Results are loaded only after waiting for more than 40 seconds, when Development filter alone is chosen. #2695
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
Comments
@nithyaasworld is this new? |
Yes @sushilshinde , It seems so! |
@topcoder-platform/tcxcommunity @topcoder-platform/topcodercompetitors open for pickup PR on ’ssf-merged-to-new-develop’ branch |
[500]: Challenge for the updated issue 2695 is creating, rescheduling this event |
Contest https://www.topcoder.com/challenges/30094893 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30094893 has been updated - it has been assigned to gurmeetb. |
Contest https://www.topcoder.com/challenges/30094893 has been updated - the new changes has been updated for this ticket. |
Contest https://www.topcoder.com/challenges/30094893 has been updated - the new changes has been updated for this ticket. |
@topcoder-platform/tcxcommunity @topcoder-platform/topcodercompetitors prize increased on this one! Go for it! |
FYI - the issue is when we do this, it hits backend to fetch approx 5000 challenges, we need to fix logic so it hits backend only upto allChallenges count which is just 600 approx. @ThomasKranitsas sorry I couldn't put much time so opened it, but above analysis will help someone who picks next. |
@sushilshinde @ThomasKranitsas Can we please merge this PR if ready and deploy to beta for testing? As every request to fetch_matching_results takes more than 45 seconds, its getting hard for me to verify the "Ready for QA" tickets. Thanks. Edit: Added "tcx_ReadyForReview" label based on the last comment by @gets0ul |
@ThomasKranitsas please review the submission |
The implementation is not correct. What you're doing is:
Sorry if my explanation wasn't clear enough. What I mean in my previous post is, we need to load and display all pages one by one. I'm assuming the best way to do that is to move the recursion to the frontend. The flow should be:
You need to show the results from each page right after you get the API response. We don't want to wait until everything is loaded. |
This is exactly what the current develop tree of topcoder-react-lib is doing right now, it loads and displays page one by one. No need for a fix. Just revert the changes in
That's what I did with my submission while still keeping the changes from said commit above. |
As the issue is urgent, you can unassign me for now so maybe others can jump in with a more fitted solution. |
I just tested. Seems to be working |
@sushilshinde can you also test on your end just to be sure? |
ok I'll |
@sushilshinde @ThomasKranitsas @gets0ul Issues stated here and here still exists. Can you please check? |
@gets0ul please refer to the code https://github.com/topcoder-platform/community-app/tree/server_side_filtering Let us know if you can submit the fix today |
@sushilshinde I am not sure if Ifollow. Did you mean I should make changes to @nithyaasworld |
@gets0ul no, the same thing was working on server_side_filtering branch when @nithyaasworld tester, but after merge with the release branch this issues started popping up. |
@sushilshinde I submit the PR to develop branch of topcoder-react-lib, so I didn't include the dist build in it. You need to build by yourrself. |
Closing this one. I'll take care of the remaining fixes. |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30094893 |
@ThomasKranitsas @Oanh-and-only-Oanh @kkartunov - Listing latency issue seems resolved. Pls confirm if this fix is moving to Prod today? If so - we need to review the need for regression testing based on the following:-
|
Prerequisite: User is logged in
Actual:
It takes more than 45 seconds, to load the results. This also happen when switching between the options present in the right panel, with Dev Filter alone turned on.
Expected:
It should not take such long time to load the results.
Video: will be attached shortly.
The text was updated successfully, but these errors were encountered: