Skip to content
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

Persist UI configuration #227

Closed
xam7247 opened this issue Jun 6, 2016 · 9 comments · Fixed by #573
Closed

Persist UI configuration #227

xam7247 opened this issue Jun 6, 2016 · 9 comments · Fixed by #573

Comments

@xam7247
Copy link

xam7247 commented Jun 6, 2016

Jan, its really a great plugin to simplify workflow view.

It would really help if we could persist the UI configuration (say: a default configuration), which shows up consistently same on all machines, and if user needs a custom one he can override it for a particular screen. Currently since this is stored in cookies, each member in the team needs to adjust their views + each time we clear cookies, its all reset.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34902195-persist-ui-configuration?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).
@jgrant216
Copy link

I've been using this plugin in "My Views" for quite a while, but finally created a view for everyone to use. I was surprised that they did not get the same view configuration (columns/text size) as I had set.

Definitely interested in a default either at the job level or, worst case, global Jenkins configuration level as asking everyone to set these will reduce the likelihood of their using the view.

Thank you in advance!

@jan-molak
Copy link
Member

Hey guys and thanks for your great feedback and ideas! I'm currently contemplating taking one of the below approaches:

  • adding an option to "propagate the current configuration to all displays", and persisting it on Jenkins
  • adding an option to "generate a URL" that contains the configuration as URL parameters

I'm leaning more towards the second option as it, opposed to the first one, can't lead to a "configuration war" where dozens of developers try to persist their changes, overwriting everybody else's 😉
Also persisting the configuration in the URL would help to support unattended displays (#54).

Thoughts?

@jgrant216
Copy link

Unfortunately, a link will not work for those of us switching to this view from another view using either the tabbed or dropdown list of views. Your proposed solution would work for those entering the view via a link.

I still prefer the a shared configuration either defined at the view configuration level or even at the Global Jenkins configuration level. Of course, the Global Configuration level would result in all Build Monitor views having the same initial setting... which they already do.

As the current default is severely too small (unreadable) for our use, other members of the team opened it once and abandoned it immediately even though I had explained how to configure it. This is unfortunate.

@jan-molak
Copy link
Member

jan-molak commented Jun 14, 2016

@jgrant216 - I'm sorry to hear that; Which version of Build Monitor are you guys using?
There was a problem with one of the older versions where on some screen resolutions the initial font size was too small to be readable, that's been fixed in more recent releases.

@jgrant216
Copy link

We upgrade all plugins monthly, so we are not very far behind at this point. Our current version is 1.9+build.201605021413 and I see there is a new version available, 1.9+build.201606131328, which we will be installing in the next week or so.

Some of our job names are quite lengthy, so maybe some scaling is being applied as a result of that.

As you mentioned, the initial font size was adjusted in a prior release. I am suggesting you expose that at least at the global Jenkins Configuration level for administrators to adjust if necessary.

@jsframe
Copy link

jsframe commented Sep 1, 2016

We just upgraded from an older version of jenkins to the latest (v2.20) and found that the default font size in the build monitor view is now too small, and so when viewing it on our shared monitors - the font is unreadable. Updating the settings on these shared monitors is difficult and they do not remember them.

So we definitely would benefit greatly from this enhancement.

@jan-molak
Copy link
Member

Thanks @jsframe, probably Jenkins broke backwards compatibility again... I'll prioritise this ticket in the backlog, but I'm under heavy load with other projects at the moment, so if someone raised a pull request that would speed things up!

@gabel
Copy link

gabel commented Mar 13, 2017

Any news on it? Due to this issue we cannot use it on floor monitors.

@jan-molak
Copy link
Member

@gabel - sorry, I didn't have a chance to look into this yet. Pull requests are welcome though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants