-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Move settings to config page as default? #119
Comments
The implication of this is that |
Yeah, I agree, that's a good idea. There's quite a few things people would like to have configurable, so this would be tremendously useful. |
Yup, can do. Just wanted to ensure it fit with your vision before getting too far in code changes. |
A You could then have a bunch of getters for all the configuration options:
In unit tests we could use a dummy implementation with some sensible defaults. What do you think? |
Would it be worth having BuildAugmentor as part of the Config class object? Also, any preference on folder for where Config.java would reside? |
Hey @Brantone - no preference w/r to the Config's class habitat, maybe just the top-level package for now and we can move it when there's a need? Not sure about the BuildAugmentor - it might be easier to have this conversation over code 😃 |
I'd take one thing at a time. I need PR1 so will add that and then use as part of #60 |
@drekbour Thanks for taking a crack at this, other plugins have hijacked my focus :( I still have some uncommitted code that will be great to make use of this. 👍 |
I have submit the "PR2" like you said. Tell me if it's good for you. |
This commit allows Jenkins users to specify defaults for build monitor views when creating the views from the Jenkins UI. End users can still modify these settings using the widget within build monitor. This is useful because the defaults do not scale to large numbers of builds so if a user is creating a build monitor view that they anticipate will contain a large number of builds they can increase the number of columns and prevent each end user from having to do that individually. This is essentially a rebase of @tcolligon's changes in pr jenkinsci#189 and is related to issue jenkinsci#119.
This commit allows Jenkins users to specify defaults for build monitor views when creating the views from the Jenkins UI. End users can still modify these settings using the widget within build monitor. This is useful because the defaults do not scale to large numbers of builds so if a user is creating a build monitor view that they anticipate will contain a large number of builds they can increase the number of columns and prevent each end user from having to do that individually. This is essentially a rebase of @tcolligon's changes in pr jenkinsci#189 and is related to issue jenkinsci#119.
Wondering if it's worth moving the settings to the config page to be utilized as default, while still allowing settings to store cookies and override defaults?
Reason: I've had a few monitors set up, get them all configured to look pretty, then show it on a different computer and the columns/text-size is garbled again.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7546837-move-settings-to-config-page-as-default?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: