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

Simplify jelly pages by removing divBasedFormLayout logic #1346

Merged
merged 4 commits into from
Nov 5, 2022
Merged

Simplify jelly pages by removing divBasedFormLayout logic #1346

merged 4 commits into from
Nov 5, 2022

Conversation

MarkEWaite
Copy link
Contributor

Simplify jelly pages by removing divBasedFormLayout conditionals

Now that the plugin requires a Jenkins version newer than 2.277.1, there is no need for the divBasedFormLayout logic in the jelly forms.

Now that the plugin requires a Jenkins version newer than 2.277.1, there
is no need for the divBasedFormLayout logic in the jelly forms.
@MarkEWaite MarkEWaite requested a review from a team as a code owner October 19, 2022 08:12
@MarkEWaite
Copy link
Contributor Author

@jmMeessen and @gounthar I will add this step to the "Improve a plugin" tutorial after I return from vacation. The step is useful and reduces the maintenance burden of a plugin. It requires a little more thought and analysis than some of the earliest steps and may appeal to those who want something a little more challenging.

Eventually I think that we'll want to add a step to modernize user interface components in plugins by using the guidance from the Jenkins design library as can be seen on weekly.ci.jenkins.io.

@MarkEWaite
Copy link
Contributor Author

Confirmed with interactive testing that the modified form displays as expected and remembers changes made in the form. Ready to merge once CI passes.

@MarkEWaite MarkEWaite merged commit 4d913f8 into jenkinsci:master Nov 5, 2022
@MarkEWaite MarkEWaite deleted the remove-divBasedFormLayout branch November 5, 2022 14:19
@MarkEWaite MarkEWaite changed the title Simplify pages by removing divBasedFormLayout logic Simplify jelly pages by removing divBasedFormLayout logic Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant