-
Notifications
You must be signed in to change notification settings - Fork 305
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
machine
scope settings defined in user settings need to be ignored in the remote context
#2
Comments
machine
scope settings defined in user settings are ignored in the remote contextmachine
scope settings defined in user settings need to be ignored in the remote context
@roblourens I fixed it in the model and schema, can you please make sure the user settings in remote window does not show machine settings? |
Yeah I did that a long time ago |
@roblourens @sandy081 can the issue be closed now? |
@roblourens Not sure if it is fixed in UI. I still see machine settings in user settings in remote window |
Oh I thought this was about app-scoped settings in the Remote tab. |
Wait are we sure we want to prevent this? It still seems like a valid way to configure things? Maybe I connect to lots of remotes that are configured the same way and I don't want to configure each remote independently? If I set the setting in user settings JSON will it still be respected for the remote? |
Machine settings scoped to a machine and by definition they vary per machine. So I think it makes sense to not to respect local machine settings configured in user settings in a remote window. |
It seems like they likely vary per machine, but they don't have to, and if they don't, we are removing a potentially valid use case, for what benefit? |
Anyway I'll fix this and we can always tweak it later |
I would rather more concerned about if they vary which will break. @roblourens Instead of hiding machine settings in the user settings, is it possible to show them and add a warning icon? This will help users to understand about it? |
Sure but I think we should do the same for all settings that are invalid for the scope. |
I verified that the git.path does not show up both in the .json file and in the settings ux -> verified |
When a
machine
scoped setting is defined in a user setting, then it needs to be ignored in a remote context.The text was updated successfully, but these errors were encountered: