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

fix letter-spacing #7475

Merged
merged 1 commit into from
Dec 30, 2022
Merged

fix letter-spacing #7475

merged 1 commit into from
Dec 30, 2022

Conversation

Gadzy
Copy link
Contributor

@Gadzy Gadzy commented Dec 5, 2022

Negative letter spacing should be avoided. It greatly decreases legibility and accessibility.
See JENKINS-70209.

Testing done

Manual testing done. No need for automated testing.

Proposed changelog entries

  • Remove negative letter-spacing to improve legibility in some languages and fonts

Proposed upgrade guidelines

N/A

Submitter checklist

  • The Jira issue, if it exists, is well-described.
  • The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see examples).
    • Fill in the Proposed upgrade guidelines section only if there are breaking changes or changes that may require extra steps from users during upgrade.
  • There is automated testing or an explanation as to why this change has no tests.
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadocs, as appropriate.
  • [ X 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 (CSP) directives (see documentation).
  • For dependency updates, there are links to external changelogs and, if possible, full differentials.
  • For new APIs and extension points, there is a link to at least one consumer.

Desired reviewers

Maintainer checklist

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

  • There are at least two (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 is not blocking the change.
  • Changelog entries in the pull request 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, the upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the pull request title (see 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).

Negative letter spacing shoud be avoided. It greatly decreases readability and accessibility.
@MarkEWaite
Copy link
Contributor

Can you provide more details of the interactive testing that you performed? This seems like a change that will have a wide impact in many places.

@daniel-beck
Copy link
Member

FTR introduced as an undocumented change in #6084, later increased in #6614

for better legibility

@Gadzy
Copy link
Contributor Author

Gadzy commented Dec 5, 2022

Can you provide more details of the interactive testing that you performed? This seems like a change that will have a wide impact in many places.

I first used DevTools to disable the negative letter-spacing and checked both in Chrome and Firefox.
Then I used Firefox's userContent.css trick to disable it for me on our production Jenkins website that I use all day long. Didn't see any problem since.

It does have a wide impact, given its rooted at the html level. But if it breaks anything you have a bigger problem 😊

@Gadzy
Copy link
Contributor Author

Gadzy commented Dec 14, 2022

@janfaracik How can I help with this PR ?

@daniel-beck daniel-beck added the regression-fix Pull request that fixes a regression in one of the previous Jenkins releases label Dec 16, 2022
@timja
Copy link
Member

timja commented Dec 29, 2022

@janfaracik possible to take a look at this?

@janfaracik
Copy link
Contributor

@janfaracik How can I help with this PR ?

If the letter spacing is impacting your font/language then absolutely removing it is the right choice 👍

@NotMyFault
Copy link
Member

@Gadzy It would be helpful if you would've included a couple of screenshots of the current behavior vs your change proposed, because applying this PR to weekly.ci.j doesn't change anything for me.

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.

/label ready-for-merge


This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.

Thanks!

@comment-ops-bot comment-ops-bot bot added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Dec 29, 2022
@timja timja merged commit 2005a0a into jenkinsci:master Dec 30, 2022
NotMyFault pushed a commit to NotMyFault/jenkins that referenced this pull request Jan 17, 2023
(cherry picked from commit 2005a0a)
NotMyFault pushed a commit to NotMyFault/jenkins that referenced this pull request Jan 17, 2023
(cherry picked from commit 2005a0a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback regression-fix Pull request that fixes a regression in one of the previous Jenkins releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants