-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Remove 'Disable project' button from project view #9287
Remove 'Disable project' button from project view #9287
Conversation
…enkinsci#9272)" This reverts commit 4623738.
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
I hope the community will make you bring that button back, because this change is truly horrible and the supposed few pixel gains are negligible on current displays. |
I agree. With the same arguments you could state that "Add description" should vanish as well. I'd prefer to use a different layout with one column with infos to the left and one with buttons to the right. Or move "Disable Project" to the left to the other links as well. |
My experience is in the other direction. I use a Chromebook laptop and vertical space is quite precious when I'm using that laptop. Removing the wasted vertical space gives me a better chance that the actions I frequently perform will not require that I scroll the screen downward. This change is expected to save me multiple clicks and scrolling to see useful information. In those rare cases where I want to disable a job, I click the app bar and disable it. |
This moves the disable into the configure job page as its expected to be a rare action and its already available there. Enable has been left on the page as it will be more convenient to quickly enable something and it shouldn't often show. |
Well it's half of 2024, this button has been there for the last 15 years, back in time when 1280x800 laptops were a norm and yet it is now - in the era of 4K screens everywhere - that you found this particular button space-wasting? Make it in line with "add description" - which of the two is definitely more useless and more easily movable to settings - or make it an option for the user to decide. Removing it completely is the laziest and worst decision possible. |
I would rather have it there since it doesn't take that much space anyway |
Why in the h..l did you remove this button from project screen??!! Why do you think it's such a rare action? It's so much difficult now to disable project. Please, bring it back or at least make a settings item to turn it on. Sometimes, I need to temporarily disable >5 projects and then bring them back. You made this much more difficult and time consuming. And for what reson - for 100px??? Make it smaller, move it anywhere on the project screen, but don't force me to go to project settings to disable it. |
This PR is merged so it makes no sense to discuss its contents anymore here. If you want to get a disable project toggle button, then please create a followup issue in Jira (and reference this PR). From what I understand the idea is to create an application bar on every Jenkins page where all controls, menus and buttons will appear. Maybe it makes sense to put such a toggle bar into this application bar. Then those controls are visible but take no additional space and help to remove the clutter in Jenkins UI. (The same is true for the edit job description button: it is used by a handful of people only but clutters the UI) |
citation needed |
I've open a PR for the folder plugin to also remove the disable button for multibranch: jenkinsci/cloudbees-folder-plugin#419 It looks strange to me to have those button for multibranch but not other branch types. I personally never used such button and would like to get rid of them everywhere. Not sure if there should be a way to restore them like https://plugins.jenkins.io/disable-job-button/ |
It's the only interactive UI element I use regularly on trusted.ci (besides "Build Now" I guess). Now what? |
Not sure to get it, but I'm raising the point that removing the Disable button for all jobs exception multibranch is an inconsistence for me |
@jonesbusy I do not disagree, it should be consistent. So if it's gone from core, it should be gone from plugins. I point out that we don't have great ways to determine what features/UI elements are used and what aren't from the user base, and unless we define and want to encourage best practices, it's all just guesses, and we should be careful when extrapolating from oneself. |
Count me as one of the people impacted by this. I frequently have to disable dozens of jobs at the same time (for instance, when working on bulk configuration changes, bulk runner node changes) and having this button on the main job page is critical for being able to do so efficiently. Fortunately, I found this Jenkins community discussion: https://community.jenkins.io/t/lost-the-disable-button/18134 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Can we bring the button back. We have Ops role and Admin role. Ops have the rights to run/enable/disable jobs but have not the right to configure the job. |
Reverts the revert in #9272
Fix for the
workflow-job-plugin
test failure here jenkinsci/workflow-job-plugin#437Discussed briefly in the last UX Sig, the 'Disable project' (and 'Add/edit description') button take up a lot of vertical space (roughly 100px) and this forces useful information, such as stage view plugin etc down.
My proposal would be just to remove the 'Disable project' button altogether and instead have users rely on the configure screen to disable projects.
Before
After
Testing done
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge
:Maintainer checklist