-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 #4350, #4217, #4361: Enable progress-nav on desktop (and some other interaction fixes) #4365
Conversation
… into AllanYangZhou-navbar-desktop
… demo exploration covers all interactions. Remove unnecessary code.
Codecov Report
@@ Coverage Diff @@
## develop #4365 +/- ##
===========================================
+ Coverage 44.57% 44.66% +0.09%
===========================================
Files 376 375 -1
Lines 23108 23038 -70
Branches 3684 3663 -21
===========================================
- Hits 10300 10291 -9
+ Misses 12808 12747 -61
Continue to review full report at Codecov.
|
@AllanYangZhou this is now ready for review. PTAL when you get a chance! I am aware of the following issues, but will file separate issues for them. They are not urgent fixes.
I think everything else works correctly (on desktop, mobile, embed, and submitting solutions in the editor view) but it would be great if you could help verify. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, tested it locally also. Yeah I think the GraphInput bug predates the progress-nav work.
Thanks Sean!
interactionHasNavSubmitButton = INTERACTION_SPECS[ | ||
interaction.id].show_nav_submit_button; | ||
interactionHasNavSubmitButton = ( | ||
Boolean(interaction.id) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, this is because the id might not exist in solution editor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no. This is for the editor view. If you create a new exploration and then preview it immediately, there's no interaction specified yet. This was causing a failure in one of the e2e tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah OK I see, thanks!
Thanks for the review @AllanYangZhou! I'll sort out the merge conflicts and then get this in. @aks681, this should unblock your upcoming PR! |
Supersedes and builds on #4335 (thanks @AllanYangZhou!)
Checklist