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

use header taglib to decouple from core #101

Merged
merged 5 commits into from
Jul 13, 2024
Merged

use header taglib to decouple from core #101

merged 5 commits into from
Jul 13, 2024

Conversation

mawinter69
Copy link
Contributor

@mawinter69 mawinter69 commented May 2, 2024

since 2.459 core provides the logo, search box and login parts of the header via a taglib for easier reuse in plugins.
This avoids that we have to duplicate the code and do double maintenance.

Testing done

Submitter checklist

by using the header taglib any changes done there e.g. in the searchbox
or the login, are automatically reused and double maintenance is
avoided.
 Please enter the commit message for your changes. Lines starting
@mawinter69 mawinter69 added the chore internal label May 2, 2024
@NotMyFault NotMyFault requested review from a team and removed request for a team May 11, 2024 18:40
pom.xml Outdated Show resolved Hide resolved
<template id="custom-header-icons">
<l:icon id="external-link" src="symbol-open-outline plugin-ionicons-api" class="icon-xs"/>
</template>
<header id="header" class="page-header custom-header__page">
<header id="page-header" class="page-header custom-header__page">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted to match core as jenkinsci/jenkins#7569 was going to use it, although I removed the hard dependency on it there in jenkinsci/jenkins@6092031 there is at least one other reference to it

@timja
Copy link
Member

timja commented Jul 13, 2024

Anything holding this up?

@mawinter69 mawinter69 requested a review from a team as a code owner July 13, 2024 11:30
@mawinter69 mawinter69 added the enhancement New feature or request label Jul 13, 2024
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this earlier quite thoroughly with this PR jenkinsci/jenkins#7569

@mawinter69 mawinter69 changed the title use header taglib use header taglib to decouple from core Jul 13, 2024
@mawinter69 mawinter69 merged commit fd15b97 into main Jul 13, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore internal enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants