jenkins icon indicating copy to clipboard operation
jenkins copied to clipboard

[JENKINS-69257] Model link chevron is not in center in user build cause

Open ridemountainpig opened this issue 2 years ago • 1 comments

See JENKINS-69257.

After

截圖 2022-08-05 下午3 42 20 截圖 2022-08-05 下午3 42 38

Proposed changelog entries

  • Model link chevron is not in center in user build cause

Proposed upgrade guidelines

N/A

Submitter checklist

  • [x] (If applicable) Jira issue is well described
  • [x] Changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developer, depending on the change) and are in the imperative mood. Examples
    • Fill-in the Proposed changelog entries section only if there are breaking changes or other changes which may require extra steps from users during the upgrade
  • [x] Appropriate autotests or explanation to why this change has no tests
  • [ ] New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadoc, as appropriate.
  • [ ] New deprecations are annotated with @Deprecated(since = "TODO") or @Deprecated(forRemoval = true, since = "TODO") if applicable.
  • [ ] New or substantially changed JavaScript is not defined inline and does not call eval to ease future introduction of Content-Security-Policy directives (see documentation on jenkins.io).
  • [ ] For dependency updates: links to external changelogs and, if possible, full diffs

Desired reviewers

@mention

Maintainer checklist

Before the changes are marked as ready-for-merge:

  • [ ] There are at least 2 approvals for the pull request and no outstanding requests for change
  • [ ] Conversations in the pull request are over OR it is explicit that a reviewer does not block the change
  • [ ] Changelog entries in the PR title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood
  • [ ] Proper changelog labels are set so that the changelog can be generated automatically
  • [ ] If the change needs additional upgrade steps from users, upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the PR title. (example)
  • [ ] If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

ridemountainpig avatar Aug 05 '22 07:08 ridemountainpig

Untested, but the change proposed looks like it places existing chevrons lower and therefore dealigns them from being centered

截圖 2022-08-05 下午9 35 11

截圖 2022-08-05 下午9 37 35

I have using without adding margin-top in jenkins-menu-dropdown-chevron to fix one in this issue, but another one I couldn't find where to fix it, if anyone have any idea welcome give the comment.

ridemountainpig avatar Aug 05 '22 13:08 ridemountainpig

The question I asked in #6970 (comment) remains unacknowledged.

My feedback was wrong and the problem I expected does not actually occur.

daniel-beck avatar Sep 13 '22 18:09 daniel-beck

Confirmed that this fixes JENKINS-69257 as follows:

  • Checked out jenkins-2.320
  • Confirmed that git grep jenkins-table__link returned no results
  • Compiled the code
  • Built a freestyle project and confirmed the chevron was at the center line
  • Checked out the latest tip-of-trunk with the changes from this PR
  • Compiled the code
  • Looked at the existing build from before the upgrade, verified that chevron was aligned in the middle

Confirmed that this does not fix JENKINS-69602, which will remain open after this PR is merged.

basil avatar Sep 13 '22 18:09 basil

This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!

basil avatar Sep 14 '22 14:09 basil