-
Notifications
You must be signed in to change notification settings - Fork 46
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
Software checkboxes do not react after deactivate network link #1962
Comments
Unless I'm missing something, I'd say this an expected behavior, since these checkboxes are actually performing a Something I'd like to change, but don't know either, how nor when. I believe it'd require changes at the bakend. What we could do meanwhile is to disable the selection when Agama detects there is not network connection, and show an alert to hint the user Agama has lost connection. Indeed, would be nice to always alert user when connection has lost, unless you're using an offline medium. |
Forgot to mention that it is on full offline medium with repos in /install. I also do not see any PUT request in network tab in dev tools...it looks like all network traffic is stopped |
Weird. Not sure if related, but @imobachgs adjusted the TanStack Query network mode in #1909 |
@dgdavid I would expect the opposite: the network mode is set to The problem happens on other screens, too (e.g., in the localization settings). |
In the client options, there is an additional key const queryClient = new QueryClient({
defaultOptions: {
mutations: {
networkMode: networkMode(),
},
queries: {
networkMode: networkMode(),
},
},
}); @dgdavid thanks for pointing to the network mode stuff 😄 |
This comment has been minimized.
This comment has been minimized.
It does not happen only in the software selection screen but also elsewhere. For instance, once you get disconnected, try changing the language of the target system. You will see that it performs the Of course, there might be additional problems in the software selection screen, but I would say they are not what this report is about. #1963 should fix the original problem. |
Sure, the problem seems to be the mutations connection mode, not with the selection algorithm that works nicely when there is connection. Thanks for the fix. |
The fix has been merged. |
Way how to reproduce it:
go to software section and change patterns. Now deactive "active" link in VM and as result it clicks on checkboxes are ignored. Search field still works.
The text was updated successfully, but these errors were encountered: