-
Notifications
You must be signed in to change notification settings - Fork 172
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
"No default available" can appear in the strategy picker alone #6100
Comments
2 tasks
gbalint
added a commit
that referenced
this issue
Jul 24, 2024
**Problem:** The original issue is described in this issue: #6100 However, the problem is not really that the do nothing strategy can appear alone, but more about the confusing experience when no strategies are applicable. **Fix:** - When there is no applicable strategy with fitness>0, we should always insert Do nothing to have a single strategy. - However, the do nothing strategy is an implementation detail, we should not expose it to the users. The strategy indicator and the strategy picker should not be shown when that is the only strategy. - The NotPermitted cursor should be shown when do nothing is the active strategy, to express that nothing will happen in this interaction. - Do nothing strategy should never be used as an ancestor strategy, it just doesn't make sense (it doesn't matter what do you do nothing with) **Manual Tests:** I hereby swear that: - [x] I opened a hydrogen project and it loaded - [x] I could navigate to various routes in Preview mode Fixes #6100
liady
pushed a commit
that referenced
this issue
Dec 13, 2024
**Problem:** The original issue is described in this issue: #6100 However, the problem is not really that the do nothing strategy can appear alone, but more about the confusing experience when no strategies are applicable. **Fix:** - When there is no applicable strategy with fitness>0, we should always insert Do nothing to have a single strategy. - However, the do nothing strategy is an implementation detail, we should not expose it to the users. The strategy indicator and the strategy picker should not be shown when that is the only strategy. - The NotPermitted cursor should be shown when do nothing is the active strategy, to express that nothing will happen in this interaction. - Do nothing strategy should never be used as an ancestor strategy, it just doesn't make sense (it doesn't matter what do you do nothing with) **Manual Tests:** I hereby swear that: - [x] I opened a hydrogen project and it loaded - [x] I could navigate to various routes in Preview mode Fixes #6100
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even though that is not functionally different from an empty strategy picker.
See e.g. https://screenshot.click/09-58-2y0j3-u5kri.mp4
The text was updated successfully, but these errors were encountered: