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

Reimplement the UI for LabelAxis #213

Merged
merged 4 commits into from
Oct 7, 2024
Merged

Conversation

mawinter69
Copy link
Contributor

@mawinter69 mawinter69 commented Jul 27, 2024

The LabelAxis configuration was using yahoo treeview. As yahoo is very old and deprecated we should remove this.
Generate the complete configure page in jelly and just add some small javascript to show/hide the lists with labels.

The label description is no longer printed in brackets after the label name but instead shown as a html tooltip. The MarkupFormatter is used to generate the html so it should be safe and it is displayed in the same way as on the label page.

Once merged requires changes to ATH

Before:
image
image
image

After:
image
image
image

Testing done

Manually tested, that after saving all axis are properly defined

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

The LabelAxis configuration was using yahoo treeview. As yahoo is very
old and deprecated we should remove this.
The will generate the complete configure page in jelly and just add some
small javascript to show/hide the lists with labels.
@mawinter69 mawinter69 requested a review from a team as a code owner July 27, 2024 13:07
show the description as tooltip instead of adding it in brackets after
the label name. The description can contain html so we need to safe
guard it with the markupformatter.
@basil
Copy link
Member

basil commented Oct 6, 2024

I would be OK with merging/releasing this once conflicts are resolved and passing ATH/PCT runs are done

@mawinter69
Copy link
Contributor Author

ATH fails with this change, but the fix is easy, see jenkinsci/acceptance-test-harness#1762

Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@basil basil changed the title reimplement the UI for the LabelAxis Reimplement the UI for LabelAxis Oct 7, 2024
@basil basil merged commit ff91cd7 into jenkinsci:master Oct 7, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants