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

fix: handle state change with identical or missing currentWidgetId #181

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cbarber
Copy link
Collaborator

@cbarber cbarber commented Mar 2, 2020

The pi exhibited an issue where a current widget could become stuck and
never continue to the next widget. It seems to be caused by clicking on
the current widget in the tab. Added some logging in case there are
other edge cases.

The pi exhibited an issue where a current widget could become stuck and
never continue to the next widget. It seems to be caused by clicking on
the current widget in the tab. Added some logging in case there are
other edge cases.
joealba
joealba previously approved these changes Mar 2, 2020
There is potentially a race condition between prefetch triggering
onComplete and the onComplete for updated query from the state change.
This functionality could use a refactor/rethink.
@cbarber cbarber force-pushed the cmb/fix-stuck-current-widget branch from f7ab65f to 0f7704d Compare March 2, 2020 14:16
@joealba
Copy link
Collaborator

joealba commented Mar 2, 2020

Do you know of any javascript log drains that have a free tier for an easier way to look at these messages?

Comment on lines +146 to +147
nextWidgetId: null,
prevWidgetId: null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these all calculated values?

@cbarber
Copy link
Collaborator Author

cbarber commented May 24, 2021

I'm going need some time to remember what this is and if its still neccessary

@chewnoill
Copy link
Contributor

closed in favor of #252

@chewnoill chewnoill closed this Jun 21, 2021
@cbarber cbarber reopened this Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants