Skip to content

[$50]My Dashboard: Blank page is displayed #4378

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

Closed
SathyaJayabal opened this issue May 19, 2020 · 14 comments
Closed

[$50]My Dashboard: Blank page is displayed #4378

SathyaJayabal opened this issue May 19, 2020 · 14 comments
Assignees

Comments

@SathyaJayabal
Copy link
Collaborator

On accessing the dashboard, "Failed to get Financial Info" and "Failed to load SRMs" errors are displayed followed by a blank page.
dashboard.mov.zip

@SathyaJayabal SathyaJayabal added P0 Critical (resolve within 4 hours) Test Env Environment v5-intgration-sub-code labels May 19, 2020
@sushilshinde sushilshinde changed the title My Dashboard: Blank page is displayed [$50]My Dashboard: Blank page is displayed May 22, 2020
@crazyk07
Copy link

Contest https://www.topcoder.com/challenges/30126383 has been created for this ticket.

This is an automated message for crazyk via Topcoder X

@crazyk07
Copy link

Contest https://www.topcoder.com/challenges/30126383 has been updated - it has been assigned to luizrrodrigues.

This is an automated message for crazyk via Topcoder X

@luizrrodrigues
Copy link
Collaborator

@sushilshinde PR's:
topcoder-react-lib: topcoder-platform/topcoder-react-lib#169
community-app: #4415

About issues:

  • Financial:
    • This was an issue with passing null params to call
  • SRMs:
    • I have done multiples changes here to fix that
    • the existing code has a weird logical, first call challenge from resources in members-api and then pass the first item from array to return
    • So first changed this way and just call challenges in challenge-api passing the challenge typeId as param
    • Also, to get MMs and SRMs code was using a hardcoded config var, changed that and create a function to get the typeId via challenge type abbreviation, like: DEVELOP_MARATHON_MATCH
    • Updated v3 to v5 params: filter => status, orderBy => sortBy and limit => perPage
  • ChallengeCard
    • Also fixed some issue show up after fix loading, this was an issue with v5 was added some vars inside legacy object

IMPORTANT: The approach to get challenge typeId from API, need this one topcoder-platform/challenge-api#131 fixed. (currently challenge-types endpoint missing SRM type.

cc @Oanh-and-only-Oanh

@mtwomey
Copy link
Contributor

mtwomey commented May 27, 2020

@sushilshinde This one is ready for initial testing or?

@sushilshinde
Copy link
Collaborator

@luizrrodrigues why dint send it for review, are you waiting for other dependencies to finish?

Or Shall I merge this?

@luizrrodrigues
Copy link
Collaborator

luizrrodrigues commented May 28, 2020

@sushilshinde yes, waiting for add SRM type in ‘challenge-types’ endpoint, because if rest now paga will load, but will show alert about no able to find SRM type.

@sushilshinde
Copy link
Collaborator

sushilshinde commented May 28, 2020

Ok let's wait then. There is no point in merging if we can't pass QA.

@sushilshinde
Copy link
Collaborator

@luizrrodrigues please check comments here topcoder-platform/challenge-api#131 (comment)

@luizrrodrigues
Copy link
Collaborator

@sushilshinde Done, PRs updated.

  • Using v4 API to get SRMs challenges.

@sushilshinde
Copy link
Collaborator

sushilshinde commented Jun 3, 2020

ok thanks @luizrrodrigues but always link PR to the issue

@sushilshinde
Copy link
Collaborator

#4415

@SathyaJayabal
Copy link
Collaborator Author

@luizrrodrigues @sushilshinde Dashboard is now displayed on test and dev. I will create new issues for other issues found within the page.
Screenshot 2020-06-03 at 6 53 30 PM
Screenshot 2020-06-03 at 11 14 24 AM

@crazyk07
Copy link

crazyk07 commented Jun 3, 2020

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30126383

This is an automated message for crazyk via Topcoder X

@SathyaJayabal
Copy link
Collaborator Author

Reverified on beta and test after data model update
(https://topcoder.slack.com/archives/G012CL5GF71/p1591254930370200)
Screenshot 2020-06-05 at 11 45 47 AM
Screenshot 2020-06-05 at 11 45 56 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants