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

[JENKINS-67846] Icon alignment of build status is wrong #6595

Merged
merged 3 commits into from
Jun 2, 2022

Conversation

frankie139506
Copy link
Contributor

See JENKINS-67846.
Before
image

After
image

Proposed changelog entries

  • Fix build status position.

Proposed upgrade guidelines

N/A

Submitter checklist

  • (If applicable) Jira issue is well described
  • 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
  • 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.
  • 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).

Copy link
Member

@alecharp alecharp left a comment

Choose a reason for hiding this comment

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

Tested locally with core-pr-tester and building github.com/alecharp/simple-app with mvn verify -Dmaven.test.skip checkstyle:checkstyle. I used Warnings-ng to display checkstyle results.

It's solving the problem (vertical aligment) but I find the icon and the text to be too close. Some spacing could be added. This is highly personal, I do not want to block this pull request for this.

@frankie139506
Copy link
Contributor Author

Tested locally with core-pr-tester and building github.com/alecharp/simple-app with mvn verify -Dmaven.test.skip checkstyle:checkstyle. I used Warnings-ng to display checkstyle results.

It's solving the problem (vertical aligment) but I find the icon and the text to be too close. Some spacing could be added. This is highly personal, I do not want to block this pull request for this.

I have already fixed it. Please take a look at it.
image

@alecharp alecharp added the bug For changelog: Minor bug. Will be listed after features label May 23, 2022
Copy link
Member

@alecharp alecharp left a comment

Choose a reason for hiding this comment

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

Thank you @frankie139506. This looks great. I couldn't not find any regression with this in my test.

@alecharp alecharp added the squash-merge-me Unclean or useless commit history, should be merged only with squash-merge label May 23, 2022
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.

This PR does not contain an evaluation of the cause of the problem. Without an evaluation of the cause of the problem, we cannot determine whether the proposed solution addresses the cause of the problem or merely one of its symptoms. What caused this regression, and what makes us confident such a regression will not occur again in the future?

@basil basil added the needs-justification This PR lacks a motivation for the proposed change. label May 23, 2022
@alecharp
Copy link
Member

I found out this was introduced by https://issues.jenkins.io/browse/JENKINS-67515 and jenkinsci/jenkins#6162. It's present since 2.329.

@alecharp
Copy link
Member

@frankie139506 could you please address Basil comments on this pull request? Thank you.

@frankie139506
Copy link
Contributor Author

@basil @alecharp I have already checked related issue and I think it will not have the same problem.
relates issue link: https://issues.jenkins.io/browse/JENKINS-67515

@alecharp
Copy link
Member

I checked https://issues.jenkins.io/browse/JENKINS-68356 (as caused by https://issues.jenkins.io/browse/JENKINS-67515) and this pull request doesn't break its fix.

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.

@frankie139506 After some consideration, I decided to accept this PR as-is, but in the future I will insist on a written evaluation of the root cause of the problem and an explanation of how the proposed PR addressed the root cause.

--

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 basil added ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback and removed needs-justification This PR lacks a motivation for the proposed change. labels May 31, 2022
@basil basil merged commit a6d86b9 into jenkinsci:master Jun 2, 2022
meiswjn pushed a commit to meiswjn/jenkins that referenced this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback squash-merge-me Unclean or useless commit history, should be merged only with squash-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants