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-65124] Update weather icons #7208

Merged
merged 14 commits into from
Oct 19, 2022

Conversation

janfaracik
Copy link
Contributor

@janfaracik janfaracik commented Oct 3, 2022

See JENKINS-65124

Small PR to update the weather icons, they now use Ionicons and they also feature colour now too. The status icons are now thinner to match.

New icons
newpic

Updated status icons
newpic

Proposed changelog entries

  • Update weather and status icons

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.
  • 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

@jenkinsci/sig-ux

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).

commit a8f2c58
Author: Jan Faracik <[email protected]>
Date:   Wed Sep 28 00:45:49 2022 +0100

    Update theme.less

commit 9218a9d
Author: Jan Faracik <[email protected]>
Date:   Wed Sep 28 00:43:54 2022 +0100

    Fix orientation of cloud icon

commit 020596a
Author: Jan Faracik <[email protected]>
Date:   Wed Sep 28 00:39:28 2022 +0100

    Update icons with icons from prototype

commit a500f34
Merge: f41849f 7835bfe
Author: Jan Faracik <[email protected]>
Date:   Wed Sep 28 00:24:53 2022 +0100

    Merge branch 'master' into new-weather-icons

commit f41849f
Author: Jan Faracik <[email protected]>
Date:   Wed Aug 17 11:23:31 2022 +0100

    Update styles.less

commit f086729
Merge: 5d3aac9 1afd369
Author: Jan Faracik <[email protected]>
Date:   Wed Aug 17 11:17:26 2022 +0100

    Merge branch 'master' into new-weather-icons

commit 5d3aac9
Author: Jan Faracik <[email protected]>
Date:   Sun Jun 26 16:08:51 2022 +0100

    Cleanup

commit b3048d9
Author: Jan Faracik <[email protected]>
Date:   Sun Jun 26 12:44:28 2022 +0100

    Remove status icons

commit 06c6898
Author: Jan Faracik <[email protected]>
Date:   Sun Jun 26 12:43:37 2022 +0100

    Reset status icons

commit 435361f
Merge: 63cf263 c60ea92
Author: Jan Faracik <[email protected]>
Date:   Sun Jun 26 12:41:36 2022 +0100

    Merge branch 'master' into new-weather-icons

commit 63cf263
Merge: 37a66b6 65fcda1
Author: Jan Faracik <[email protected]>
Date:   Sun Jun 19 13:45:50 2022 +0100

    Merge branch 'master' into scalable-icon-support-2-build-status

commit 37a66b6
Author: Jan Faracik <[email protected]>
Date:   Thu May 26 22:28:37 2022 +0100

    Get icons working with latest master

commit 7794707
Merge: 9e4f43b 032a105
Author: Jan Faracik <[email protected]>
Date:   Thu May 26 22:08:54 2022 +0100

    Merge branch 'master' into scalable-icon-support-2-build-status

commit 9e4f43b
Merge: 616f5cf 5144035
Author: Jan Faracik <[email protected]>
Date:   Tue Mar 22 11:33:18 2022 +0000

    Merge branch 'master' into scalable-icon-support-2-build-status

commit 616f5cf
Merge: c9b5785 a280b7e
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 16 14:38:38 2022 +0000

    Merge branch 'scalable-icon-support-2-sidebar' into scalable-icon-support-2-build-status

commit a280b7e
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 16 00:02:28 2022 +0000

    Fix spacing of manage jenkins page

commit c369743
Merge: 9975e82 958db3c
Author: Jan Faracik <[email protected]>
Date:   Tue Feb 15 22:41:34 2022 +0000

    Merge branch 'master' into scalable-icon-support-2-sidebar

commit 9975e82
Author: Jan Faracik <[email protected]>
Date:   Tue Feb 15 20:28:41 2022 +0000

    Bold sidebar icons on selection

commit 28ace6b
Author: Jan Faracik <[email protected]>
Date:   Tue Feb 15 19:27:11 2022 +0000

    Update sidebar tasks to be smaller

commit c13e698
Author: Jan Faracik <[email protected]>
Date:   Tue Feb 15 00:08:07 2022 +0000

    Add more icons

commit 49d37dd
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 23:59:41 2022 +0000

    Add more icons

commit 49a4a2d
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 23:50:45 2022 +0000

    Add label icons

commit 336e74f
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 23:22:30 2022 +0000

    Update icon, fix sizes

commit 3c33014
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 23:11:09 2022 +0000

    Update SVG icon, remove duplicated new icon

commit 87e9ffb
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 22:51:34 2022 +0000

    fix

commit 1f21f31
Merge: 700ab51 325ed40
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 22:51:30 2022 +0000

    Merge branch 'scalable-icon-support-2-manage-jenkins' into scalable-icon-support-2-sidebar

commit 325ed40
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 22:43:52 2022 +0000

    Fix oversized user icon

commit 577272b
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 20:32:20 2022 +0000

    Fix test + linting

commit ec49415
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 20:27:39 2022 +0000

    Add additional icons for nodes + users, set default user icon to person-circle

commit dfac901
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 20:11:45 2022 +0000

    Shrink table header slightly

commit 5091b8d
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 20:06:43 2022 +0000

    Fix potential icon stretching on manage page

commit 92f44f3
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 00:33:36 2022 +0000

    Revert "Update section.less"

    This reverts commit 96a036f.

commit 96a036f
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 14 00:33:08 2022 +0000

    Update section.less

commit 6ab2643
Author: Jan Faracik <[email protected]>
Date:   Sun Feb 13 22:46:39 2022 +0000

    Fix test

commit 2555def
Author: Jan Faracik <[email protected]>
Date:   Sat Feb 12 16:37:34 2022 +0000

    Update plugins.svg

commit 7d2d47c
Merge: c380337 da2b31e
Author: Jan Faracik <[email protected]>
Date:   Sat Feb 12 16:30:47 2022 +0000

    Merge branch 'master' into scalable-icon-support-2-manage-jenkins

commit c380337
Author: Jan Faracik <[email protected]>
Date:   Sat Feb 12 00:26:50 2022 +0000

    Update index.groovy

commit 3163535
Author: Jan Faracik <[email protected]>
Date:   Sat Feb 12 00:12:46 2022 +0000

    Update arrow-up.svg

commit fd39b52
Author: Jan Faracik <[email protected]>
Date:   Fri Feb 11 13:32:16 2022 +0000

    Update jenkins.svg

commit 1f09bf9
Author: Jan Faracik <[email protected]>
Date:   Fri Feb 11 13:03:03 2022 +0000

    Update HudsonPrivateSecurityRealm.java

commit 1abe3de
Merge: 05dffbe f4261b8
Author: Jan Faracik <[email protected]>
Date:   Fri Feb 11 12:59:28 2022 +0000

    Merge branch 'scalable-icon-support' into scalable-icon-support-2-manage-jenkins

commit c9b5785
Author: Jan Faracik <[email protected]>
Date:   Thu Feb 10 16:54:17 2022 +0000

    Add loading icons

commit d25fde6
Author: Jan Faracik <[email protected]>
Date:   Thu Feb 10 00:25:16 2022 +0000

    WB

commit 16993fb
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 23:48:44 2022 +0000

    Cleanup icons

commit 5d6810d
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 23:41:38 2022 +0000

    Add gradients

commit 2ebb575
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 23:14:40 2022 +0000

    Add more icons

commit 097f51d
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 20:37:03 2022 +0000

    Getting there

commit 28011fa
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 20:28:58 2022 +0000

    Working build with all icons

commit 3315d2e
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 20:20:26 2022 +0000

    Add rest of weather icons

commit 3aaca71
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 20:16:51 2022 +0000

    Add rough weather icons

commit 40eddca
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 20:05:01 2022 +0000

    Add more icons

commit 4748b61
Merge: 9dd71c6 f4261b8
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 19:30:49 2022 +0000

    Merge branch 'scalable-icon-support' into scalable-icon-support-2-build-status

commit 9dd71c6
Author: Jan Faracik <[email protected]>
Date:   Wed Feb 9 19:30:42 2022 +0000

    Init

commit f4261b8
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 7 17:36:06 2022 +0000

    Remove icon loading logic from summary

commit e03f7d0
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 7 17:34:31 2022 +0000

    Update summary

commit c9bda44
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 7 17:32:50 2022 +0000

    Update Action javadoc

commit 8a55f17
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 7 10:03:13 2022 +0000

    Update repeatableDeleteButton.jelly

commit 88699d6
Merge: 2aa2508 0447d16
Author: Jan Faracik <[email protected]>
Date:   Mon Feb 7 10:03:10 2022 +0000

    Merge branch 'master' into scalable-icon-support

commit 2aa2508
Merge: 4614b08 0bb63a9
Author: Jan Faracik <[email protected]>
Date:   Fri Feb 4 13:57:54 2022 +0000

    Merge branch 'master' into scalable-icon-support

commit 700ab51
Author: Jan Faracik <[email protected]>
Date:   Thu Feb 3 14:59:28 2022 +0000

    Add buttons temp

commit 0548d25
Merge: bfd77c2 4614b08
Author: Jan Faracik <[email protected]>
Date:   Thu Feb 3 14:52:41 2022 +0000

    Merge branch 'scalable-icon-support' into scalable-icon-support-2-sidebar

commit bfd77c2
Author: Jan Faracik <[email protected]>
Date:   Thu Feb 3 14:39:58 2022 +0000

    Update projectRelationship.jelly

commit 5d100ba
Author: Jan Faracik <[email protected]>
Date:   Thu Feb 3 14:38:09 2022 +0000

    Update fingerprint icon + page

commit 4614b08
Merge: 5241717 50a4702
Author: Jan Faracik <[email protected]>
Date:   Thu Jan 27 09:43:25 2022 +0000

    Merge branch 'master' into scalable-icon-support

commit 05dffbe
Author: Jan Faracik <[email protected]>
Date:   Wed Jan 19 01:01:18 2022 +0000

    Add icons for nodes

commit 0d0e672
Author: Jan Faracik <[email protected]>
Date:   Wed Jan 19 00:04:13 2022 +0000

    Replace more icons

commit 9c2bcc0
Merge: dae9265 5241717
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 23:17:22 2022 +0000

    Merge branch 'scalable-icon-support' into scalable-icon-support-2-new-tasks

commit 5241717
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 16:22:50 2022 +0000

    Icons are now blue in dropdown menus, icon color no longer changes on manage page

commit 8267600
Merge: df84f34 0987321
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 16:01:47 2022 +0000

    Merge branch 'scalable-icon-support' into scalable-icon-support-2-manage-jenkins

commit 0987321
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 10:14:05 2022 +0000

    Restore icon requirement for tasks

commit f6de539
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 01:13:29 2022 +0000

    Fix missing slash in tests

commit cc2a014
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 00:39:26 2022 +0000

    Potential fix for plugins icons not showing

commit 26ebfad
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 00:21:26 2022 +0000

    Update Functions.java

commit f8a0ece
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 00:12:51 2022 +0000

    Potentially fix test

commit f476b72
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 18 00:05:16 2022 +0000

    Fix breadcrumbs icon missing/incorrect size

commit 839d823
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 23:50:07 2022 +0000

    Add suggestions by @timja

commit df84f34
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 23:01:57 2022 +0000

    Add tooltip to update badge

commit 49544d8
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 22:48:46 2022 +0000

    Update section.less

commit 1e6fd7e
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 22:35:21 2022 +0000

    Update section.less

commit 2eb19bf
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 22:25:12 2022 +0000

    Update section.less

commit 796fe74
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 14:18:07 2022 +0000

    Create windows.svg

commit dae9265
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 14:17:01 2022 +0000

    Translate more icons

commit ad4873d
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 13:26:17 2022 +0000

    Remove title and text decoration

commit 6c8e45b
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 13:24:33 2022 +0000

    Update side-panel-tasks.less

commit f1f11f9
Merge: efe03e5 9fed655
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 13:23:19 2022 +0000

    Merge branch 'scalable-icon-support' into new-task-design

commit 851a85c
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 13:21:15 2022 +0000

    Update section.less

commit 852a5fd
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 13:08:09 2022 +0000

    Update manage.jelly

commit df8aef5
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 13:04:37 2022 +0000

    Update icons + manage UI

commit 3b5812b
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 12:18:58 2022 +0000

    Use symbols for manage jenkins

commit 81afc98
Author: Jan Faracik <[email protected]>
Date:   Mon Jan 17 12:14:38 2022 +0000

    Icons

commit 9fed655
Author: Jan Faracik <[email protected]>
Date:   Sun Jan 16 22:45:22 2022 +0000

    Remove suppresion

commit 013f733
Author: Jan Faracik <[email protected]>
Date:   Sun Jan 16 22:44:45 2022 +0000

    Add translation service

commit f918424
Author: Jan Faracik <[email protected]>
Date:   Sun Jan 16 21:26:03 2022 +0000

    Fix test + add case for symbol

commit e3c1004
Author: Jan Faracik <[email protected]>
Date:   Sun Jan 16 21:11:19 2022 +0000

    Address some comments

commit 58936fe
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 16:54:15 2022 +0000

    Reset some files

commit b869976
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 16:41:10 2022 +0000

    Fix settings symbol size

commit d8169ad
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 16:35:24 2022 +0000

    Cleanup + fix menu

commit c2e47cb
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 16:23:16 2022 +0000

    Move functions to Java

commit e3d77ac
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 13:44:39 2022 +0000

    Working build

commit e4bd510
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 02:02:49 2022 +0000

    Update icon.jelly

commit e989919
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 02:01:52 2022 +0000

    Rename param to symbol

commit 7ad92f6
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 02:00:35 2022 +0000

    Rename item

commit dfc874d
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 01:58:15 2022 +0000

    Update Icon.java

commit 88b61aa
Author: Jan Faracik <[email protected]>
Date:   Sat Jan 15 01:56:16 2022 +0000

    Working build

commit 586c22a
Author: Jan Faracik <[email protected]>
Date:   Fri Jan 14 01:28:57 2022 +0000

    Working (albeit very messy) build

commit 2080aab
Author: Jan Faracik <[email protected]>
Date:   Fri Jan 14 01:14:56 2022 +0000

    Getting there

commit ec2fb5b
Author: Jan Faracik <[email protected]>
Date:   Fri Jan 14 00:49:30 2022 +0000

    Updated plugin manager

commit 6994e51
Author: Jan Faracik <[email protected]>
Date:   Thu Jan 13 23:47:56 2022 +0000

    Renamed SVGs folder from ionicons, add test icon

commit 2e6c2d7
Author: Jan Faracik <[email protected]>
Date:   Thu Jan 13 23:18:21 2022 +0000

    Update Icon.java

commit efd57ff
Author: Jan Faracik <[email protected]>
Date:   Thu Jan 13 22:26:47 2022 +0000

    Init

commit efe03e5
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 4 00:42:44 2022 +0000

    Update padding

commit bc77781
Author: Jan Faracik <[email protected]>
Date:   Tue Jan 4 00:38:39 2022 +0000

    Init
@NotMyFault NotMyFault added web-ui The PR includes WebUI changes which may need special expertise major-rfe For changelog: Major enhancement. Will be highlighted on the top needs-security-review Awaiting review by a security team member labels Oct 3, 2022
@NotMyFault NotMyFault requested review from a team October 3, 2022 11:39
@NotMyFault
Copy link
Member

I like :)

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.

Looks really good, needs a passing ATH build just in case it's checked there

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.

The "changelog weather" on https://www.jenkins.io/changelog/ and https://www.jenkins.io/changelog-stable/ should similarly be updated once it's done in core.

I personally think the "flash" ionicon is not very recognizable as pouring weather, especially in contrast to the other four icons that clearly feature the sun or a cloud. My vote would be to use the "thunderstorm" ionicon for the worst weather status. To me, it is more consistent with the other cloud-based icons while still conveying a degree of severity that is greater than the "rainy" ionicon. The "flash" ionicon, on the other hand, conveys notions of electric charging that do not make sense to me in this context.

@timja
Copy link
Member

timja commented Oct 3, 2022

The "changelog weather" on jenkins.io/changelog and jenkins.io/changelog-stable should similarly be updated once it's done in core.

Mind filing a PR for this @janfaracik please so we don't forget?

@daniel-beck
Copy link
Member

Why are we changing icons entirely again, instead of coloring what we currently have?

@Jalict
Copy link

Jalict commented Oct 4, 2022

Absolutely love these. I was literally just googling around if anyone had made any colored ones and these are so much better at a glance.

@basil
Copy link
Member

basil commented Oct 4, 2022

Why are we changing icons entirely again, instead of coloring what we currently have?

Question was not directed to me, but my understanding is for consistency with the ionicons used elsewhere in the frontend.

@daniel-beck
Copy link
Member

daniel-beck commented Oct 4, 2022

Question was not directed to me, but my understanding is for consistency with the ionicons used elsewhere in the frontend.

Comparing the screenshot provided with a live instance of Jenkins, the new weather icons are less consistent with the build status icons right next to them with this change, most notably line thickness. In its current state this is, except for coloring, a step backwards.

Copy link
Member

@uhafner uhafner left a comment

Choose a reason for hiding this comment

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

I like the new icons, even though they are not as thick as the status icons. Maybe it would help to make them a little bit thicker? (Or conversely, make the status icons not so thick.)

How do we plan to make plugins compatible that use something like <l:icon alt="Healthy" class="icon-health-00to19 icon-md"/>. I am using that in my warnings plugin configuration and this icon still uses the old UI. Did you search for such occurrences in our org?

@basil
Copy link
Member

basil commented Oct 4, 2022

I like the new icons, even though they are not as thick as the status icons. Maybe it would help to make them a little bit thicker? (Or conversely, make the status icons not so thick.)

👍

From my perspective, if this and #7208 (review) are addressed then I am ready to approve the change.

@timja
Copy link
Member

timja commented Oct 4, 2022

I've edited thunderstorm here:

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512" preserveAspectRatio="none">
  <g>
    <defs>
      <path id="s-Path_2-d1224"
            d="M317.8422941061358 122.14657717679562 L309.0528009625773 122.14657717679562 C303.6254617067675 72.84415463839592 261.18510741914315 34.54855027531208 210.360995242248 34.54855027531208 C168.61710444290435 34.5083666586214 131.14766173445238 60.920200389498376 117.15448779786634 100.24888097976267 L113.84302282972885 100.24888097976269 C77.6560316373284 100.24888097976269 48.04848936839653 129.8129429269296 48.04848936839653 165.94196957086146 L48.04848936839653 165.94196957086146 C48.04849524224801 202.07824662064135 77.65603474701447 231.64230027531207 113.84302870358033 231.64230027531207 L317.8423051627974 231.64230027531207 C348.036776492248 231.64230027531207 372.673495242248 207.00558152531207 372.673495242248 176.89081766937792 L372.673495242248 176.89081766937792 C372.673495242248 146.783298690961 348.036776492248 122.14657717679562 317.8423051627974 122.14657717679562 Z "/>
      <path id="s-Path_8-d1224" d="M151.5484893683962 232.5485044867732 L311.5484893683962 232.5485044867732 "/>
      <path id="s-Path_7-d1224"
            d="M174.13433790885537 247.54850448677314 L163.22141271213664 297.99116745674246 A6.0 6.0 0.0 0 0 170.08280326763557 305.17645149225297 L192.77510964643525 301.35235177896647 A6.0 6.0 0.0 0 1 199.7189996373311 308.0659257829911 L193.7490187431243 352.61116783976473 A6.0 6.0 0.0 0 0 204.6461884581997 356.7984670351519 L255.59332724182966 282.4081422137506 A6.0 6.0 0.0 0 0 248.77285436365233 273.3167358086601 L228.678496319607 279.90828899341886 A6.0 6.0 0.0 0 1 221.19058576417171 272.09991453433105 L230.40000000000003 247.5485044867732 "/>
      <path id="s-Path_5-d1224" d="M326.5484893683961 324.54850448677325 L314.34848936839626 347.3485044867732 "/>
      <path id="s-Path_4-d1224" d="M315.34848936839626 265.7485044867731 L297.148489368396 302.34850448677344 "/>
      <path id="s-Path_3-d1224" d="M122.34848936839671 322.7485044867733 L111.74848936839635 348.3485044867732 "/>
      <path id="s-Path_1-d1224" d="M111.55703838566531 267.54850448677314 L94.54848936839619 301.12239449998293 "/>
    </defs>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_2-d1224" fill="none" stroke-width="32.0"
           stroke="#73738c" stroke-linecap="round" stroke-linejoin="round"/>
    </g>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_7-d1224" fill="none" stroke-width="32.0"
           stroke="#ffb31a" stroke-linecap="round"/>
    </g>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_8-d1224" fill="none" stroke-width="29.0"
           stroke="#73738c" stroke-linecap="square"/>
    </g>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_5-d1224" fill="none" stroke-width="32.0"
           stroke="#32ade6" stroke-linecap="round"/>
    </g>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_4-d1224" fill="none" stroke-width="32.0"
           stroke="#32ade6" stroke-linecap="round"/>
    </g>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_3-d1224" fill="none" stroke-width="32.0"
           stroke="#32ade6" stroke-linecap="round"/>
    </g>
    <g style="mix-blend-mode:normal">
      <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#s-Path_1-d1224" fill="none" stroke-width="32.0"
           stroke="#32ade6" stroke-linecap="round"/>
    </g>
  </g>
</svg>

renders like:

image

Haven't managed to get it working in Jenkins yet, but maybe useful to you @janfaracik?

(It needs hardcoded strokes replaced with actual vars but used those so it renders in IDE)

@janfaracik
Copy link
Contributor Author

The "changelog weather" on https://www.jenkins.io/changelog/ and https://www.jenkins.io/changelog-stable/ should similarly be updated once it's done in core.

Will do!

I personally think the "flash" ionicon is not very recognizable as pouring weather, especially in contrast to the other four icons that clearly feature the sun or a cloud. My vote would be to use the "thunderstorm" ionicon for the worst weather status. To me, it is more consistent with the other cloud-based icons while still conveying a degree of severity that is greater than the "rainy" ionicon. The "flash" ionicon, on the other hand, conveys notions of electric charging that do not make sense to me in this context.

I've updated it now :) Cheers

image

Comparing the screenshot provided with a live instance of Jenkins, the new weather icons are less consistent with the build status icons right next to them with this change, most notably line thickness. In its current state this is, except for coloring, a step backwards.

The status icons will eventually be updated too with matching thicknesses etc, see the prototype linked on Gitter for an early/rough look at them.

How do we plan to make plugins compatible that use something like <l:icon alt="Healthy" class="icon-health-00to19 icon-md"/>. I am using that in my warnings plugin configuration and this icon still uses the old UI. Did you search for such occurrences in our org?

Ah good spot, I'll need to add these icons to the icon translation method.

@janfaracik
Copy link
Contributor Author

Maybe it would help to make them a little bit thicker? (Or conversely, make the status icons not so thick.)

The latter makes sense to me given that ionicons already has alert-circle, checkmark-circle, close-circle, and ellipsis-horizontal-circle icons that are consistent in thickness with the weather icons being introduced in this PR.

Planning on updates the status icons in another PR if that's alright. Reason I've split the work is that the status icons are going to take a bit more work/be more intensive of a change due to how they work.

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.

Planning on updates the status icons in another PR if that's alright.

Decreasing the consistency of the shipping product is not alright. The project's standard is that the main branch must be in FCS (first customer ship)—not alpha or beta—condition at any given point in time. I appreciate that an intensive rework of the status icons as e.g. in https://jenkins-redesign.vercel.app is going to take a large amount of effort, and I am not asking that an intensive rework be done in this PR. But I am asking that either the existing status icons be thinned slightly or the new weather icons be thickened slightly (either tweak a small to medium amount of effort, not a large one) in order to maintain (and not regress) the existing level of consistency in the shipping product.

@timja timja requested a review from basil October 13, 2022 21:25
@janfaracik
Copy link
Contributor Author

Still need to update the icons inside of the circles - hopefully done tonight.

@janfaracik
Copy link
Contributor Author

image

Updated with thinner icons.

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.

The final version drastically improves the weather icons while retaining existing levels of congruence with the status icons and without precluding future improvements to the status icons. Well done!

@basil basil removed the needs-comments-resolved Comments in the PR need to be addressed before it can be considered for merging label Oct 13, 2022
@daniel-beck daniel-beck self-requested a review October 13, 2022 23:03
@NotMyFault NotMyFault requested a review from timja October 14, 2022 09:42
@github-actions github-actions bot added the unresolved-merge-conflict There is a merge conflict with the target branch. label Oct 17, 2022
@github-actions
Copy link
Contributor

Please take a moment and address the merge conflicts of your pull request. Thanks!

@github-actions github-actions bot removed the unresolved-merge-conflict There is a merge conflict with the target branch. label Oct 17, 2022
@timja
Copy link
Member

timja commented Oct 17, 2022

@jenkinsci/core-security-review could you take a look please?

@daniel-beck daniel-beck added security-approved @jenkinsci/core-security-review reviewed this PR for security issues and removed needs-security-review Awaiting review by a security team member labels Oct 18, 2022
Copy link
Member

@daniel-beck daniel-beck left a comment

Choose a reason for hiding this comment

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

The "aborted" and "failed" icons with thin strokes are easily distinguishable even at the small size, that's great. (I wasn't sure about that earlier.)

Overall this is a huge improvement, and with the thinner status icons the icon-based columns looks consistent. Thank you very much for taking care of that.

I disagree with the change to the legend descriptions, but if the current (soon previous) text is unclear enough for regular core contributors to remove it, we probably need to improve the page more fundamentally.


Experiencing the UI with the thinner strokes I do wonder whether the strokes ended up slightly too thin, in particular on the "S" icon size.

Screenshot 2022-10-18 at 09 40 11

The icons have substantially thinner stroke width than the letters of text, which seems awkward. So far this hasn't come up I think, because sidepanel and Manage Jenkins icons are the size corresponding to "L" column icon sizes (although it seems we went from 16-24-32px to 16-20-24px icons at some point?). I realize that I'm the one who asked for icons to be consistent(ly thin), so I indirectly contributed to this, and it's not a blocker. (Perhaps it's just best to get rid of icon size settings?)

core/src/main/resources/jenkins/model/Jenkins/legend.jelly Outdated Show resolved Hide resolved
@timja
Copy link
Member

timja commented Oct 18, 2022

/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 Oct 18, 2022
@basil basil merged commit f04f407 into jenkinsci:master Oct 19, 2022
@janfaracik janfaracik deleted the update-weather-icons branch October 19, 2022 18:06
@lemeurherve
Copy link
Member

Deployed on infra.ci.jenkin.io, so pretty 🤩

image

Great job @janfaracik 🎉

@daniel-beck
Copy link
Member

Caused JENKINS-73047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major-rfe For changelog: Major enhancement. Will be highlighted on the top ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback security-approved @jenkinsci/core-security-review reviewed this PR for security issues web-ui The PR includes WebUI changes which may need special expertise
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants