-
Notifications
You must be signed in to change notification settings - Fork 17
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
Configuration is a bit cumbersome. e. g. if I change the hostname, I then have to do "Get Projects" which doesn't change much and then I have to click "Apply to all modules" without much feedback, maybe this could be improved a bit. :-) #24
Comments
Are you referring to the project configuration? The "Get Projects" button is there to verify that the hostname/username/password combo are valid. What changes were you looking for specifically? |
project configuration, yes. |
Label has been changed. Let me know if you can think of a better workflow. :) Thanks, |
Why do you need host / username / password / proxy setting per module anyway? |
Having individual module configuration was there just because it was possible, but project configuration does make more sense, especially since the PasswordStorage interface in #25 requires saving passwords on a project basis. For the "Test Connection" option, it's there to verify the connection in one place. Otherwise, if a bad configuration is entered, other code paths would have to handle a bad configuration. Rather just handle it in one place. |
+1 for keeping the settings on module level! We had a scenario not long ago when one of the modules of our project was actually a component-project on its own. Therefore I absolutely agree that there should be a checkbox saying "use project level settings" which if checked (the default) disables all input fields in the module level settings dialog. On the comment about PasswordStorage: You could (and should IMHO) consider putting module into the "key" for the password retrieval. This means that before accessing PasswordStorage we need to check whether there are module specific settings but this way we preserve the ability to configure module specific settings at all. |
I'm pretty sure we'll want/need to keep the "Sonar Project" configuration on a module basis. i.e. However, do we need different Sonar server configurations on a module basis? Will Module A and Module B point to different Sonar servers? Making the latter case work shouldn't be that bad if we want. And we can put in the checkbox to use project level server settings on the module. Does the above make sense? |
I think that module settings should be optional and project settings should be pulled in by default if no module configuration is present. This way we don't force users to check/ set the configuration on module level. Nevertheless I think it's good to have the ability to specify a different sonar server on module level. Think of situations where you have a publicly available sonar and an internal installation. |
I have another suggestion on workflow optimization for project settings:
This should make configuration a lot more intuitive and prevent that we lose setting changes. This came to my mind when working on #33. How do you think about it? |
What happens in step 3 if the configuration is incorrect? Do we lose the (incorrect) settings? Do we prevent closing the configuration window? If this changes makes the UI more intuitive for you, go for it. My UI design sucks and I'm always open to suggestions. :) |
This has been moved to the new home of our plugin at sonar-intellij-plugin/sonar-intellij-plugin#16 |
No description provided.
The text was updated successfully, but these errors were encountered: