Skip to content
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

After sync, MyDashboard stuck for sometime #1303

Closed
mahalakshme opened this issue Feb 15, 2024 · 6 comments
Closed

After sync, MyDashboard stuck for sometime #1303

mahalakshme opened this issue Feb 15, 2024 · 6 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Feb 15, 2024

https://avni.freshdesk.com/a/tickets/3522

Issue:

user: maha for adsr, env: prod
After sync for the org in focus, though numbers in MyDashboard show up, when clicking on Search, the app is stuck and it takes a minute to render the Search screen.

Technical analysis:

After sync, looks like we are dispatching the action CustomDashboard.REFRESH_COUNT even when MyDashboard is the default dahsboard for the org. The same can be seen in the logs attached with the below video.
https://github.com/avniproject/avni-client/assets/10369963/8af6b243-78ef-45d7-9d8e-a523e9db91ac

Test instructions

#1303 (comment)
#1303 (comment)

@mahalakshme mahalakshme converted this from a draft issue Feb 15, 2024
@mahalakshme mahalakshme changed the title After sync we are getting counts of custom dashboard even when MyDashboard is the default After sync, MyDashboard stuck for sometime Feb 15, 2024
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Feb 15, 2024
@himeshr himeshr self-assigned this Feb 28, 2024
@himeshr himeshr moved this from Ready to In Progress in Avni Product Feb 28, 2024
himeshr added a commit that referenced this issue Feb 29, 2024
…board counts only if one of them is marked as primary
@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Feb 29, 2024
@1t5j0y 1t5j0y moved this from Code Review Ready to In Code Review in Avni Product Feb 29, 2024
@1t5j0y 1t5j0y moved this from In Code Review to QA Ready in Avni Product Feb 29, 2024
@himeshr
Copy link
Contributor

himeshr commented Feb 29, 2024

Test cases to validate

For ADSR, Goonj, Power, APF orgs, validate that

  • On opening app, search and register button work immediately on click
  • On completing manual sync, search and register button work immediately on click
  • In "More-> Dashboards" section, the custom dashboard cards counts get refreshed when we switch across boards or open it first time
  • In orgs, where CustomDashboard is primary(Goonj), card counts are refreshed on returning to Home page.

@himeshr
Copy link
Contributor

himeshr commented Feb 29, 2024

@AchalaBelokar
Copy link

  • @himeshr I am trying to open dashboard it is taking 10 min and after pressing the back button still it is not working ..back button is worked after 5 min .. is it fine

@himeshr
Copy link
Contributor

himeshr commented Feb 29, 2024

Had to make additional fix to correct issue with no showing CustomDashboard in home screen for orgs which have a primaryDashboard configured, when we navigate to any other tab.

@AchalaBelokar AchalaBelokar moved this from QA Ready to QA Failed in Avni Product Feb 29, 2024
@AchalaBelokar AchalaBelokar moved this from QA Failed to In QA in Avni Product Feb 29, 2024
@himeshr
Copy link
Contributor

himeshr commented Feb 29, 2024

@AchalaBelokar AchalaBelokar moved this from In QA to Done in Avni Product Mar 1, 2024
@mahalakshme mahalakshme moved this from Done to In Progress in Avni Product Mar 1, 2024
@vinayvenu vinayvenu reopened this Mar 1, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Triaged in Avni Product Mar 1, 2024
@mahalakshme mahalakshme moved this from Triaged to In Progress in Avni Product Mar 1, 2024
himeshr added a commit that referenced this issue Mar 1, 2024
…board counts only if one of them is marked as primary
@himeshr
Copy link
Contributor

himeshr commented Mar 1, 2024

Cherry-picked commits onto avni-client 7.0 branch.

@himeshr himeshr moved this from In Progress to Done in Avni Product Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants