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

Only show the New User Tour Dialog once per session. #1454

Merged
merged 2 commits into from
Oct 2, 2020

Conversation

jpwhite4
Copy link
Member

The new user tour dialog checking-and-showing code runs every time the
dashboard is loaded. The dashboard is reloaded when you navigate to it
and the data have changed. I.e. multiple times per session. This change
sets a flag so that the tour checking code only runs once.

While investigating this issue I noticed another bug where the response
data was being parsed even in the error case (which lead to a unhandled exception
in the javascript). This mitigates this problem by switching the
code to use the success callback function. In the error case the request
will be retried the next time the dashboard loads. I saw the load failure
case when using XDMoD on a noisy wi-fi connection.

Asana issue: https://app.asana.com/0/808093868887967/1140113137533641

The new user tour dialog checking-and-showing code runs every time the
dashboard is loaded. The dashboard is reloaded when you navigate to it
and the data have changed. I.e. multiple times per session. This change
sets a flag so that the tour checking code only runs once.

While investigating this issue I noticed another bug where the response
data was being parsed even in the error case (which lead to a unhandled exception
in the javascript). This mitigates this problem by switching the
code to use the success callback function. In the error case the request
will be retried the next time the dashboard loads. I saw the load failure
case when using XDMoD on a noisy wi-fi connection.
Fixes issue https://app.asana.com/0/808093868887967/1140113137533641
@jpwhite4 jpwhite4 added the bug Bugfixes label Sep 25, 2020
@jpwhite4 jpwhite4 added this to the 9.5.0 milestone Sep 25, 2020
@jpwhite4 jpwhite4 merged commit 3332ee3 into ubccr:xdmod9.5 Oct 2, 2020
@jpwhite4 jpwhite4 deleted the new_user_tour_fix branch October 2, 2020 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants